diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-21 15:45:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-22 07:44:16 +0100 |
commit | 640e03da110d76b2c7d5ed5b8b8ba3b4367865ba (patch) | |
tree | 79856af3daab1e809c388ac27aa2f3284842235c /vcl | |
parent | a0ebba3d8855fee0bcec04a10137ae3a4f9f0e77 (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 'vcl')
-rw-r--r-- | vcl/source/gdi/graph.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx index 9b2d89489cdd..3477c43e7f33 100644 --- a/vcl/source/gdi/graph.cxx +++ b/vcl/source/gdi/graph.cxx @@ -91,7 +91,7 @@ void ImplDrawDefault( OutputDevice* pOutDev, const OUString* pText, } if ( aSize.Width() > 0 && aSize.Height() > 0 && pFont && pText && pText->getLength() - && !(!pOutDev->IsOutputEnabled() /*&& pOutDev->GetConnectMetaFile() */) ) + && pOutDev->IsOutputEnabled() ) { MapMode aMapMode( MapUnit::MapPoint ); Size aSz = pOutDev->LogicToLogic( Size( 0, 12 ), &aMapMode, nullptr ); |