diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:21:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:31 +0200 |
commit | d88ad8b99d416c98134fcd27bbc2cad794f2ec6f (patch) | |
tree | 0be37be91421d08b87890bf3db846a65fea5b022 /writerfilter/source/filter/RtfFilter.cxx | |
parent | d81c4d2af9415fcf02541e7efb1df587f5654784 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5f38167cc2fd0104ad388c63f766bda6acae96e2
Diffstat (limited to 'writerfilter/source/filter/RtfFilter.cxx')
-rw-r--r-- | writerfilter/source/filter/RtfFilter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx index a482dccccb16..bd34e376c721 100644 --- a/writerfilter/source/filter/RtfFilter.cxx +++ b/writerfilter/source/filter/RtfFilter.cxx @@ -92,11 +92,11 @@ sal_Bool RtfFilter::filter(const uno::Sequence< beans::PropertyValue >& aDescrip uno::Reference< lang::XMultiServiceFactory > xMSF(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW); uno::Reference< uno::XInterface > xIfc(xMSF->createInstance("com.sun.star.comp.Writer.RtfExport"), uno::UNO_QUERY_THROW); if (!xIfc.is()) - return sal_False; + return false; uno::Reference< document::XExporter > xExporter(xIfc, uno::UNO_QUERY_THROW); uno::Reference< document::XFilter > xFilter(xIfc, uno::UNO_QUERY_THROW); if (!xExporter.is() || !xFilter.is()) - return sal_False; + return false; xExporter->setSourceDocument(m_xSrcDoc); return xFilter->filter(aDescriptor); } |