[Libreoffice-commits] core.git: include/svx svx/source
Caolán McNamara
caolanm at redhat.com
Wed Apr 15 08:41:16 PDT 2015
include/svx/contdlg.hxx | 13 -------------
svx/source/dialog/_contdlg.cxx | 17 -----------------
2 files changed, 30 deletions(-)
New commits:
commit 9c6021e115aca5af9d259e5e3f302c472a60bfdd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Apr 15 16:38:03 2015 +0100
and SvxContourDlgItem is also unused now
Change-Id: I9696123d8ce9cd69520921cd19cf26e3f60bc61a
diff --git a/include/svx/contdlg.hxx b/include/svx/contdlg.hxx
index 11d6c88..94820eb 100644
--- a/include/svx/contdlg.hxx
+++ b/include/svx/contdlg.hxx
@@ -46,19 +46,6 @@ public:
class SvxSuperContourDlg;
-class SAL_WARN_UNUSED SvxContourDlgItem : public SfxControllerItem
-{
- SvxSuperContourDlg& rDlg;
-
-protected:
-
- virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
-
-public:
-
- SvxContourDlgItem( sal_uInt16 nId, SvxSuperContourDlg& rDlg, SfxBindings& rBindings );
-};
-
class SVX_DLLPUBLIC SAL_WARN_UNUSED SvxContourDlg : public SfxFloatingWindow
{
using Window::Update;
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index f2ccdb8..6888e79 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -46,23 +46,6 @@
SFX_IMPL_FLOATINGWINDOW_WITHID( SvxContourDlgChildWindow, SID_CONTOUR_DLG );
-SvxContourDlgItem::SvxContourDlgItem( sal_uInt16 _nId, SvxSuperContourDlg& rContourDlg, SfxBindings& rBindings ) :
- SfxControllerItem ( _nId, rBindings ),
- rDlg ( rContourDlg )
-{
-}
-
-void SvxContourDlgItem::StateChanged( sal_uInt16 nSID, SfxItemState /*eState*/, const SfxPoolItem* pItem )
-{
- if ( pItem && ( SID_CONTOUR_EXEC == nSID ) )
- {
- const SfxBoolItem* pStateItem = PTR_CAST( SfxBoolItem, pItem );
- assert(pStateItem); //SfxBoolItem expected
- if (pStateItem)
- rDlg.SetExecState(!pStateItem->GetValue());
- }
-}
-
SvxContourDlgChildWindow::SvxContourDlgChildWindow( vcl::Window* _pParent, sal_uInt16 nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo ) :
SfxChildWindow( _pParent, nId )
More information about the Libreoffice-commits
mailing list