summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
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