summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-08-05 15:39:20 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2014-09-17 10:19:52 +0200
commit67bde2460bab738701765f345863c969aa77a8ae (patch)
treef7f37025149f463d8d4045f33a6d19ea4cfe9449 /include/svx
parentcb02490a1e35886bc2dc4a9889fdd6db742e5899 (diff)
Remove redundant class SvxLineColorToolBoxControl
Change-Id: I882ee959baae429307218d3076a2a198ff960ddd
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/tbcontrl.hxx27
1 files changed, 3 insertions, 24 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index 762f33d2ef7c..3d2fa357d5b8 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -42,7 +42,8 @@
SvxColorToolBoxControl
----------------------
Item type: SvxColorItem
- and SfxBoolItem
+ SfxBoolItem
+ and XLineColorItem
for font color (writer, ...)
Execute-Id SID_ATTR_CHAR_COLOR2
@@ -66,9 +67,7 @@
for 3D extrusion
Execute-Id SID_EXTRUSION_3D_COLOR
- SvxLineColorToolBoxControl
- --------------------------
- Item type: XLineColorItem
+ for line color
Execute-Id SID_ATTR_LINE_COLOR
SvxPatternToolBoxControl
@@ -236,26 +235,6 @@ public:
};
-// class SvxLineColorToolBoxControl --------------------------------------
-
-class SVX_DLLPUBLIC SvxLineColorToolBoxControl : public SfxToolBoxControl
-{
- ::boost::scoped_ptr< ::svx::ToolboxButtonColorUpdater > pBtnUpdater;
- PaletteManager mPaletteManager;
- DECL_LINK( SelectedHdl, Color* );
-public:
- SFX_DECL_TOOLBOX_CONTROL();
- SvxLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- virtual ~SvxLineColorToolBoxControl();
-
- virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
- const SfxPoolItem* pState ) SAL_OVERRIDE;
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
- virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE;
- virtual void Select(sal_uInt16 nSelectModifier) SAL_OVERRIDE;
-};
-
-
// class SvxFrameToolBoxControl ------------------------------------------
class SVX_DLLPUBLIC SvxFrameToolBoxControl : public SfxToolBoxControl