diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-15 16:35:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-15 16:35:59 +0100 |
commit | ec2f7dfe225104515db87645dfeb1e1924a05d6f (patch) | |
tree | 1a0060354dbe700c67f7eedca507f3bc259e8093 /svx | |
parent | don't crash on export of fdo60087-2.xlsx to xls (diff) | |
download | core-ec2f7dfe225104515db87645dfeb1e1924a05d6f.tar.gz core-ec2f7dfe225104515db87645dfeb1e1924a05d6f.zip |
and now SvxBmpMaskSelectItem is unused
Change-Id: I76993ffb0dd347afe4f114431e8c12922d5c6882
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/_bmpmask.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index c4a2822bf6bb..f49fd933fbed 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -337,27 +337,6 @@ void ColorWindow::Paint( const Rectangle &/*Rect*/ ) SetFillColor( rOldFillColor ); } -SvxBmpMaskSelectItem::SvxBmpMaskSelectItem( sal_uInt16 nId_, SvxBmpMask& rMask, - SfxBindings& rBindings ) : - SfxControllerItem ( nId_, rBindings ), - rBmpMask ( rMask) -{ -} - - - -void SvxBmpMaskSelectItem::StateChanged( sal_uInt16 nSID, SfxItemState /*eState*/, - const SfxPoolItem* pItem ) -{ - if ( ( nSID == SID_BMPMASK_EXEC ) && pItem ) - { - const SfxBoolItem* pStateItem = PTR_CAST( SfxBoolItem, pItem ); - assert(pStateItem); //SfxBoolItem erwartet - if (pStateItem) - rBmpMask.SetExecState( pStateItem->GetValue() ); - } -} - SvxBmpMaskChildWindow::SvxBmpMaskChildWindow(vcl::Window* pParent_, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo) |