From 3a68ecc47ffcbfa0db2516b717809d824cf60eb6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 29 Mar 2012 12:10:54 +0200 Subject: [PATCH] rtftok: OSL_FAIL() -> SAL_WARN() --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index a3cb4346bc31..4254c49149ec 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -124,7 +124,7 @@ static RTFSprms& lcl_getLastAttributes(RTFSprms& rSprms, Id nId) return p->getSprms()->back().second->getAttributes(); else { - OSL_FAIL("trying to set property when no type is defined"); + SAL_WARN("writerfilter", "trying to set property when no type is defined"); return rSprms; } } @@ -984,7 +984,7 @@ void RTFDocumentImpl::replayBuffer(RTFBuffer_t& rBuffer) else if (aPair.first == BUFFER_PAR) parBreak(); else - OSL_FAIL("should not happen"); + SAL_WARN("writerfilter", "should not happen"); } }