[PATCH 2/2] Removed unused some code related to #39430.
Dmitry Ashkadov
dmitry.ashkadov at gmail.com
Mon Sep 12 08:00:06 PDT 2011
---
svx/inc/svx/modctrl.hxx | 2 --
svx/source/stbctrls/modctrl.cxx | 4 ----
unusedcode.easy | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/svx/inc/svx/modctrl.hxx b/svx/inc/svx/modctrl.hxx
index bbfec1f..e7ddd13 100644
--- a/svx/inc/svx/modctrl.hxx
+++ b/svx/inc/svx/modctrl.hxx
@@ -52,8 +52,6 @@ public:
SvxModifyControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb);
-
private: // Links
DECL_LINK( OnTimer, Timer * );
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index 6ab2689..4d56d80 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -190,10 +190,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: */
diff --git a/unusedcode.easy b/unusedcode.easy
index 118e7a2..42d1cfe 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1167,7 +1167,6 @@ SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder* const*, unsigned short)
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeTxBxSort const*, unsigned short, unsigned short)
SvxMSDffShapeTxBxSort::Remove(SvxMSDffShapeOrder* const&, unsigned short)
SvxMSDffShapeTxBxSort::Remove(unsigned short, unsigned short)
-SvxModifyControl::GetDefItemWidth(StatusBar const&)
SvxNumRule::SetLevel(unsigned short, SvxNumberFormat const*)
SvxNumberFormatShell::GetCurCurrencyEntry()
SvxNumberFormatShell::GetCurrencyFormats(SvStrings&)
--
1.7.6.1
--------------040100010902040908090302
Content-Type: text/x-vcard; charset=utf-8;
name="dmitry_ashkadov.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="dmitry_ashkadov.vcf"
YmVnaW46dmNhcmQNCmZuOkRtaXRyeSBBc2hrYWRvdg0KbjpBc2hrYWRvdjtEbWl0cnkNCmVt
YWlsO2ludGVybmV0OmRtaXRyeS5hc2hrYWRvdkBnbWFpbC5jb20NCm5vdGU6SklEOiBkbWl0
cnlhc2hAamFiYmVyLm1pcHQucnUNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------040100010902040908090302--
More information about the LibreOffice
mailing list