From 4b2262ab5b10f334f1984fec84d2978db81c58f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 08:32:57 +0200 Subject: new loplugin unnecessaryparen Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/func/fuscale.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sd/source/ui/func/fuscale.cxx') diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx index 7235a5c37ce7..97900dc99dd8 100644 --- a/sd/source/ui/func/fuscale.cxx +++ b/sd/source/ui/func/fuscale.cxx @@ -92,8 +92,7 @@ void FuScale::DoExecute( SfxRequest& rReq ) if( dynamic_cast< DrawViewShell *>( mpViewShell ) != nullptr ) { SdrPageView* pPageView = mpView->GetSdrPageView(); - if( ( pPageView && pPageView->GetObjList()->GetObjCount() == 0 ) ) - // || ( mpView->GetMarkedObjectList().GetMarkCount() == 0 ) ) + if( pPageView && pPageView->GetObjList()->GetObjCount() == 0 ) { nZoomValues &= ~SvxZoomEnableFlags::OPTIMAL; } -- cgit