summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-26 15:59:51 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-26 15:59:51 +0100
commitadcba4a252226f212f79dc0376a68fe8d5106966 (patch)
tree0fdb6a9b8756a0b27253384f4384bd6c68007d33 /writerfilter
parent81cfd291ab10a0db344b9295acd081afa5165b12 (diff)
OSL_ASSERT takes a condition, not a message
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx2
-rw-r--r--writerfilter/source/filter/WriterFilterDetection.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 54f4f7a681c5..dcd4e070bad2 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -840,7 +840,7 @@ void DomainMapper::attribute(Id nName, Value & val)
case NS_rtf::LN_cellLeftColor:
case NS_rtf::LN_cellBottomColor:
case NS_rtf::LN_cellRightColor:
- OSL_ASSERT("handled by DomainMapperTableManager");
+ OSL_FAIL("handled by DomainMapperTableManager");
break;
case NS_rtf::LN_LISTTABLE:
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx
index 34d06bebee29..6fae09584d2a 100644
--- a/writerfilter/source/filter/WriterFilterDetection.cxx
+++ b/writerfilter/source/filter/WriterFilterDetection.cxx
@@ -138,7 +138,7 @@ OUString WriterFilterDetection::detect( uno::Sequence< beans::PropertyValue >& r
}
catch(const uno::Exception&)
{
- OSL_ASSERT("exception while opening storage");
+ OSL_FAIL("exception while opening storage");
}
if( !bWord )
sTypeName = ::rtl::OUString();