summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-09 10:02:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-09 10:44:21 +0100
commite8d1110d07bf3c1a4ba92a2940e52e69f7092fcb (patch)
tree551fb1f66e2d1d714c19bf49d07ca394cb75f025 /sd/source
parentbe756e2ca3e23c9ee60b7418a2339700966f14f4 (diff)
coverity#1209186 Logically dead code
since 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 Change-Id: Ia7b6451acdeaaef57e9f4b1fe285d1b1b57595f6
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/drviews7.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index 749a0cb07889..b0bec1dfd256 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -1395,7 +1395,6 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
bool bFoundBitmap = false;
bool bFoundMetafile = false;
- bool bFoundObjNoLine = false;
bool bFoundObjNoArea = false;
bool bFoundNoGraphicObj = false;
bool bFoundAny = false;
@@ -1472,10 +1471,6 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
if( bFoundObjNoArea ) // #i25616#
rSet.DisableItem( SID_ATTRIBUTES_AREA );
- // Disable menuitem for line-dialog
- if( bFoundObjNoLine )
- rSet.DisableItem( SID_ATTRIBUTES_LINE );
-
if( bFoundBitmap && !bFoundMetafile && !bFoundNoGraphicObj ) // only Bitmaps marked
rSet.DisableItem( SID_CONVERT_TO_BITMAP );
else if( !bFoundBitmap && bFoundMetafile && !bFoundNoGraphicObj ) // only Metafiles marked