diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 10:05:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 10:44:22 +0100 |
commit | e90df54a0594639388c57ce52a61398acf2a9ff1 (patch) | |
tree | 0f3ec24de140ab7f6b21836813b2f7427a3bd4e2 /sd | |
parent | 9f71d9f696609d9f1c5863f3b118afaa21cd4d57 (diff) |
coverity#735486 Logically dead code
Change-Id: I8cedb071d345e111d5addf63a83d1f597698d43e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/table/tableobjectbar.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx index 88f6670a8ebe..1b71192911dd 100644 --- a/sd/source/ui/table/tableobjectbar.cxx +++ b/sd/source/ui/table/tableobjectbar.cxx @@ -109,17 +109,8 @@ TableObjectBar::~TableObjectBar() SetRepeatTarget( NULL ); } - - void TableObjectBar::GetState( SfxItemSet& rSet ) { - bool bReadOnly = false; - - if( bReadOnly ) - { - rSet.DisableItem (SID_INSERT_TABLE ); - } - if( mpView ) { rtl::Reference< sdr::SelectionController > xController( mpView->getSelectionController() ); @@ -130,8 +121,6 @@ void TableObjectBar::GetState( SfxItemSet& rSet ) } } - - void TableObjectBar::GetAttrState( SfxItemSet& rSet ) { DrawViewShell* pDrawViewShell = dynamic_cast< DrawViewShell* >( mpViewSh ); |