diff options
author | Eike Rathke <erack@apache.org> | 2011-09-10 21:48:59 +0000 |
---|---|---|
committer | Eike Rathke <erack@apache.org> | 2011-09-10 21:48:59 +0000 |
commit | 24bb455ba248546cb468996bc4a07a608c383a16 (patch) | |
tree | 6a6023d1f7acd1715304067087f76d9f7fc14755 /sd | |
parent | 74de0995a9a28b9138a589ae48904d5783ddaa79 (diff) |
impress212: #i98044# re enable Text menu for outline and title shapes
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
Diffstat (limited to 'sd')
-rwxr-xr-x | sd/source/ui/view/drviewsj.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsj.cxx b/sd/source/ui/view/drviewsj.cxx index 70f0ecadc301..f365ea7f9445 100755 --- a/sd/source/ui/view/drviewsj.cxx +++ b/sd/source/ui/view/drviewsj.cxx @@ -208,9 +208,6 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet ) rSet.DisableItem( SID_CHANGEPOLYGON ); } - if(nInv == SdrInventor && (nId == OBJ_TITLETEXT || nId == OBJ_OUTLINETEXT)) - rSet.DisableItem( SID_TEXTATTR_DLG ); - if(nInv == SdrInventor && nId == OBJ_TABLE ) { rSet.DisableItem( SID_TEXTATTR_DLG ); @@ -441,7 +438,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet ) { rSet.DisableItem( SID_UNGROUP ); } - if( bTitOutText || bTable ) + if( bTable ) rSet.DisableItem( SID_TEXTATTR_DLG ); if( !bMeasureObj ) |