diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:28 +0200 |
commit | 2ac33c984efa405f73a23748687df73ce461b630 (patch) | |
tree | a3ccad901955e70dc4ec5ce709dc50e60f97cefa /starmath/source | |
parent | f98ef646e462db3ee7c7242f6b288c5fc2d05a78 (diff) |
loplugin:simplifybool
Change-Id: Iea7d0e2e8440e8780067e5a51072b6ab9a72b8ab
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/mathmlexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index ff30bff74a95..809e46712465 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -302,7 +302,7 @@ bool SmXMLExportWrapper::WriteThroughComponent( SmXMLExport *pFilter = reinterpret_cast< SmXMLExport * >( sal::static_int_cast< sal_uIntPtr >( xFilterTunnel->getSomething( SmXMLExport::getUnoTunnelId() ))); - return pFilter ? pFilter->GetSuccess() : true; + return pFilter == nullptr || pFilter->GetSuccess(); } |