summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-21 15:45:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 07:44:16 +0100
commit640e03da110d76b2c7d5ed5b8b8ba3b4367865ba (patch)
tree79856af3daab1e809c388ac27aa2f3284842235c /starmath
parenta0ebba3d8855fee0bcec04a10137ae3a4f9f0e77 (diff)
loplugin:simplifybool re-activate the !! warning
Change-Id: Iac7d82a1c228734177be536e9a6c41803c03637b Reviewed-on: https://gerrit.libreoffice.org/45035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index ae8587e9d3ca..64beff94ec16 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -493,7 +493,7 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
}
}
}
- if ( !!(pRefDev = rDocShell.GetRefDev()) && pPrinter.get() != pRefDev.get() )
+ if ( (pRefDev = rDocShell.GetRefDev()) && pPrinter.get() != pRefDev.get() )
{
pRefDev->Push( PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )