diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 03:33:36 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-24 05:33:53 +0100 |
commit | a3fccd27deeee38af5bb08c31e6317002a0e3e9e (patch) | |
tree | 6dbb5d57c846f83e86fb5a09a62dbc0643e012bb /svx | |
parent | 695dca68537e56e66657a43667793af5eb4b6695 (diff) |
unusedcode.easy: remove unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/rulritem.hxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/rulritem.cxx | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/svx/inc/svx/rulritem.hxx b/svx/inc/svx/rulritem.hxx index e1c4413218d5..b05896a8251c 100644 --- a/svx/inc/svx/rulritem.hxx +++ b/svx/inc/svx/rulritem.hxx @@ -235,7 +235,6 @@ public: sal_Bool IsOrtho () const { return sal_False ; } sal_Bool IsConsistent() const { return nActColumn < aColumns.size(); } - long GetVisibleRight() const;// right visible edge of the current column }; // class SvxObjectItem --------------------------------------------------- diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx index dc9af2682eca..9b8df44a2dad 100644 --- a/svx/source/dialog/rulritem.cxx +++ b/svx/source/dialog/rulritem.cxx @@ -549,18 +549,6 @@ sal_Bool SvxColumnItem::CalcOrtho() const //------------------------------------------------------------------------ -long SvxColumnItem::GetVisibleRight() const -{ - sal_uInt16 nIdx = 0; - - for ( sal_uInt16 i = 0; i < nActColumn; ++i ) - { - if ( (*this)[i].bVisible ) - ++nIdx; - } - return (*this)[nIdx].nEnd; -} - bool SvxColumnItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const { nMemberId &= ~CONVERT_TWIPS; |