[Libreoffice-commits] core.git: sc/source

Meryem Ezber (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 28 07:13:24 UTC 2019


 sc/source/ui/drawfunc/drawsh.cxx |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

New commits:
commit 7c8cc04bb2f31e97230469c6f52d10a81363d4b5
Author:     Meryem Ezber <meryemezber.me at gmail.com>
AuthorDate: Thu Jun 27 21:03:03 2019 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Jun 28 09:12:43 2019 +0200

    removal of excess code block
    
    Change-Id: I2c2161f4159be53f69fce542f7538581951750d8
    Reviewed-on: https://gerrit.libreoffice.org/74817
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 2b3414368a96..701f7c970659 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -239,7 +239,6 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq )
             break;
 
         case SID_ATTR_TRANSFORM:
-        {
             {
                 if ( pView->AreObjectsMarked() )
                 {
@@ -291,21 +290,21 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq )
                     else
                         pView->SetGeoAttrToMarked( *pArgs );
                 }
-            }
 
-            ScTabViewShell* pViewShell = pViewData->GetViewShell();
-            SfxBindings& rBindings=pViewShell->GetViewFrame()->GetBindings();
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_WIDTH);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_HEIGHT);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_POS_X);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_POS_Y);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_ANGLE);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_ROT_X);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_ROT_Y);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_AUTOWIDTH);
-            rBindings.Invalidate(SID_ATTR_TRANSFORM_AUTOHEIGHT);
+                ScTabViewShell* pViewShell = pViewData->GetViewShell();
+                SfxBindings& rBindings=pViewShell->GetViewFrame()->GetBindings();
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_WIDTH);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_HEIGHT);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_POS_X);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_POS_Y);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_ANGLE);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_ROT_X);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_ROT_Y);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_AUTOWIDTH);
+                rBindings.Invalidate(SID_ATTR_TRANSFORM_AUTOHEIGHT);
+
+            }
             break;
-        }
 
         default:
             break;


More information about the Libreoffice-commits mailing list