diff options
-rw-r--r-- | sc/source/ui/dbgui/csvruler.cxx | 14 | ||||
-rw-r--r-- | sc/source/ui/inc/csvruler.hxx | 6 |
2 files changed, 4 insertions, 16 deletions
diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx index a6df6e0449e5..1012da5f0ba4 100644 --- a/sc/source/ui/dbgui/csvruler.cxx +++ b/sc/source/ui/dbgui/csvruler.cxx @@ -2,9 +2,9 @@ * * $RCSfile: csvruler.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: dr $ $Date: 2002-08-16 12:59:09 $ + * last change: $Author: dr $ $Date: 2002-10-22 10:35:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -266,16 +266,6 @@ void ScCsvRuler::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) } } -void ScCsvRuler::MoveSplitRel( sal_Int32 nPos, ScMoveMode eDir ) -{ - if( HasSplit( nPos ) ) - { - sal_Int32 nNewPos = FindEmptyPos( nPos, eDir ); - if( nNewPos != CSV_POS_INVALID ) - Execute( CSVCMD_MOVESPLIT, nPos, nNewPos ); - } -} - void ScCsvRuler::RemoveAllSplits() { maSplits.Clear(); diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index 4c3c91e1775c..c41115c79baf 100644 --- a/sc/source/ui/inc/csvruler.hxx +++ b/sc/source/ui/inc/csvruler.hxx @@ -2,9 +2,9 @@ * * $RCSfile: csvruler.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: dr $ $Date: 2002-08-15 09:29:12 $ + * last change: $Author: dr $ $Date: 2002-10-22 10:35:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -158,8 +158,6 @@ public: void RemoveSplit( sal_Int32 nPos ); /** Moves a split from nPos to nNewPos. */ void MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ); - /** Moves the split from nPos to the given direction. */ - void MoveSplitRel( sal_Int32 nPos, ScMoveMode eDir ); /** Removes all splits of the ruler. */ void RemoveAllSplits(); |