diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:25:51 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:25:51 +1000 |
commit | 0483e756e99d7762151fd529f073f6cf24474613 (patch) | |
tree | cd804e9f27f1d9f55400f55d7f55d404c965d038 /writerperfect | |
parent | bbbb81b4c5380bb8bd8ba035177c5de59eb667bb (diff) |
tdf#43157: convert writerperfect module away from OSL_ASSERT to assert
Change-Id: I5db174ea899229151327a471fb0e18d643830542
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/inc/ImportFilter.hxx | 2 | ||||
-rw-r--r-- | writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 2 | ||||
-rw-r--r-- | writerperfect/source/writer/WordPerfectImportFilter.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx index 092ae9cc9289..210321b4121e 100644 --- a/writerperfect/inc/ImportFilter.hxx +++ b/writerperfect/inc/ImportFilter.hxx @@ -73,7 +73,7 @@ public: aDescriptor[utl::MediaDescriptor::PROP_INPUTSTREAM()] >>= xInputStream; if (!xInputStream.is()) { - OSL_ASSERT(false); + assert(false); return false; } diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 11881202ad28..ebda55e1cbb2 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -277,7 +277,7 @@ sal_Bool MSWorksCalcImportFilter::filter(const css::uno::Sequence< css::beans::P if (!getXContext().is() || !xInputStream.is()) { - OSL_ASSERT(false); + assert(false); return false; } diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx index 68c2a5cc8dd1..f8cdf779f847 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.cxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx @@ -97,7 +97,7 @@ bool SAL_CALL WordPerfectImportFilter::importImpl(const Sequence< css::beans::Pr } if (!xInputStream.is()) { - OSL_ASSERT(false); + assert(false); return false; } |