diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-18 14:19:49 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-18 09:34:48 +0000 |
commit | 78e9ba6febb7402d4661fbf7934a2526efc8629a (patch) | |
tree | fb409d64f0006c998c75d26dba37192dbc76e093 /svtools | |
parent | Use gb_STDLIBS; No on-line update on non-desktop OSes (diff) | |
download | core-78e9ba6febb7402d4661fbf7934a2526efc8629a.tar.gz core-78e9ba6febb7402d4661fbf7934a2526efc8629a.zip |
Remove unused code
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/svtabbx.hxx | 1 | ||||
-rw-r--r-- | svtools/source/contnr/svtabbx.cxx | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/svtools/inc/svtools/svtabbx.hxx b/svtools/inc/svtools/svtabbx.hxx index 749df910edc0..38aa9c098471 100644 --- a/svtools/inc/svtools/svtabbx.hxx +++ b/svtools/inc/svtools/svtabbx.hxx @@ -120,7 +120,6 @@ public: virtual void Resize(); void SetTabJustify( sal_uInt16 nTab, SvTabJustify ); - SvTabJustify GetTabJustify( sal_uInt16 nTab ) const; }; inline long SvTabListBox::GetTab( sal_uInt16 nTab ) const diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index 8d1ad28dfeb1..b1b2bd17737f 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -538,18 +538,6 @@ void SvTabListBox::SetTabJustify( sal_uInt16 nTab, SvTabJustify eJustify) Invalidate(); } -SvTabJustify SvTabListBox::GetTabJustify( sal_uInt16 nTab ) const -{ - SvTabJustify eResult = AdjustLeft; - if( nTab >= nTabCount ) - return eResult; - SvLBoxTab* pTab = &(pTabList[ nTab ]); - sal_uInt16 nFlags = pTab->nFlags; - nFlags &= MYTABMASK; - eResult = (SvTabJustify)nFlags; - return eResult; -} - long SvTabListBox::GetLogicTab( sal_uInt16 nTab ) { if( SvTreeListBox::nTreeFlags & TREEFLAG_RECALCTABS ) |