diff options
author | Dmitry Ashkadov <dmitry.ashkadov@gmail.com> | 2011-09-21 14:54:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-21 14:54:29 +0100 |
commit | e9d33950625ea51bbfc887b3b3eb3150a145ce23 (patch) | |
tree | 4e64e2da53f303f96b61732490c4a87f0c5deaa0 /svx | |
parent | 36bc016123b11a3e4ab3fb8d4a9fe2b441c54417 (diff) |
Removed unused some code related to fdo#39430
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/modctrl.hxx | 2 | ||||
-rw-r--r-- | svx/source/stbctrls/modctrl.cxx | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/svx/inc/svx/modctrl.hxx b/svx/inc/svx/modctrl.hxx index ef2859e4b60c..34abea0f274a 100644 --- a/svx/inc/svx/modctrl.hxx +++ b/svx/inc/svx/modctrl.hxx @@ -49,8 +49,6 @@ public: SvxModifyControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb); - private: struct ImplData; ::boost::shared_ptr<ImplData> mpImpl; diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx index 8239aa8c4a5c..1e94cd99ae06 100644 --- a/svx/source/stbctrls/modctrl.cxx +++ b/svx/source/stbctrls/modctrl.cxx @@ -146,10 +146,6 @@ void SvxModifyControl::DoubleClick() execute(OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:Save")), aArgs); } -sal_uIntPtr SvxModifyControl::GetDefItemWidth(const StatusBar& rStb) -{ - return rStb.GetTextWidth(String::CreateFromAscii("XX")); -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |