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 | |
parent | 3bf27eaa9f524e3b6ae2a3eec47368f63b3aeeed (diff) |
and now SvxBmpMaskSelectItem is unused
Change-Id: I76993ffb0dd347afe4f114431e8c12922d5c6882
-rw-r--r-- | include/svx/bmpmask.hxx | 21 | ||||
-rw-r--r-- | svx/source/dialog/_bmpmask.cxx | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 752b0b4602a4..8e5b3f159bd6 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -31,27 +31,6 @@ /************************************************************************* |* -|* class SvxBmpMaskSelectItem -|* -\************************************************************************/ -class SvxBmpMask; - -class SAL_WARN_UNUSED SvxBmpMaskSelectItem : public SfxControllerItem -{ -private: - SvxBmpMask &rBmpMask; - -protected: - virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState ) SAL_OVERRIDE; - -public: - SvxBmpMaskSelectItem( sal_uInt16 nId, SvxBmpMask& rMask, - SfxBindings& rBindings ); -}; - -/************************************************************************* -|* |* Derivative from SfxChildWindow as 'container' for Float |* \************************************************************************/ 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) |