[Libreoffice-commits] core.git: include/svx svx/source
Maxim Monastirsky
momonasmon at gmail.com
Thu Nov 27 08:07:30 PST 2014
include/svx/verttexttbxctrl.hxx | 3 ---
svx/source/tbxctrls/verttexttbxctrl.cxx | 5 +----
2 files changed, 1 insertion(+), 7 deletions(-)
New commits:
commit 19262f43def3ff72cd46a142fd22bbfc9b030149
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Thu Nov 27 17:53:11 2014 +0200
bCheckVertical is not used
Change-Id: I092098a2520c4856f1d394ddbe288bbc444e7db8
diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx
index b49e5e8..bc6ce5a 100644
--- a/include/svx/verttexttbxctrl.hxx
+++ b/include/svx/verttexttbxctrl.hxx
@@ -27,15 +27,12 @@
*/
class SvxVertCTLTextTbxCtrl : public SfxToolBoxControl
{
- bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked
public:
SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SvxVertCTLTextTbxCtrl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
- void SetVert(bool bSet) {bCheckVertical = bSet;}
-
};
class SVX_DLLPUBLIC SvxCTLTextTbxCtrl : public SvxVertCTLTextTbxCtrl
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx
index 36a5e93..d9834b5 100644
--- a/svx/source/tbxctrls/verttexttbxctrl.cxx
+++ b/svx/source/tbxctrls/verttexttbxctrl.cxx
@@ -33,20 +33,17 @@ SFX_IMPL_TOOLBOX_CONTROL(SvxVertTextTbxCtrl, SfxBoolItem);
SvxCTLTextTbxCtrl::SvxCTLTextTbxCtrl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx )
{
- SetVert(false);
addStatusListener( OUString( ".uno:CTLFontState" ));
}
SvxVertTextTbxCtrl::SvxVertTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx )
{
- SetVert(true);
addStatusListener( OUString( ".uno:VerticalTextState" ));
}
SvxVertCTLTextTbxCtrl::SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
- SfxToolBoxControl( nSlotId, nId, rTbx ),
- bCheckVertical(true)
+ SfxToolBoxControl( nSlotId, nId, rTbx )
{
}
More information about the Libreoffice-commits
mailing list