Kaydet (Commit) 19262f43 authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

bCheckVertical is not used

Change-Id: I092098a2520c4856f1d394ddbe288bbc444e7db8
üst 57ee8160
......@@ -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
......
......@@ -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 )
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment