summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/selctrl.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-22 00:10:04 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-22 00:52:32 +0100
commitef026f335902a278f8594d612826508277d81bff (patch)
treedf455bffc4dac7380fbd5dde992ba83b7ecbe804 /svx/source/stbctrls/selctrl.cxx
parent178ce4295ba864b4dd5082eff7e3444d5cead6ca (diff)
unusedcode.easy: remove some more
Diffstat (limited to 'svx/source/stbctrls/selctrl.cxx')
-rw-r--r--svx/source/stbctrls/selctrl.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx
index c929d9da47f7..d0561d8d3570 100644
--- a/svx/source/stbctrls/selctrl.cxx
+++ b/svx/source/stbctrls/selctrl.cxx
@@ -129,24 +129,4 @@ void SvxSelectionModeControl::DrawItemText_Impl()
GetStatusBar().SetItemText( GetId(), sTxt );
}
-sal_uIntPtr SvxSelectionModeControl::GetDefItemWidth(const StatusBar& rStb)
-{
- long nWidth1 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_STD));
- long nWidth2 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_ER));
- long nWidth3 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_ERG));
- long nWidth4 = rStb.GetTextWidth(SVX_RESSTR(RID_SVXSTR_SELMODE_BLK));
-
- if(nWidth1<nWidth2)
- nWidth1=nWidth2;
-
- if(nWidth1<nWidth3)
- nWidth1=nWidth3;
-
- if(nWidth1<nWidth4)
- nWidth1=nWidth4;
-
- return nWidth1+PAINT_OFFSET;
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */