summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeryem Ezber <meryemezber.me@gmail.com>2019-06-27 21:03:03 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-28 09:12:43 +0200
commit7c8cc04bb2f31e97230469c6f52d10a81363d4b5 (patch)
tree4d9fb43a67ef0160c12b0d0a94a772099c700849
parentebc86c79ec65ea1422fd79c55804b7515c82ed0b (diff)
removal of excess code block
Change-Id: I2c2161f4159be53f69fce542f7538581951750d8 Reviewed-on: https://gerrit.libreoffice.org/74817 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx27
1 files changed, 13 insertions, 14 deletions
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;