diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-22 10:52:19 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-22 11:05:01 +0200 |
commit | 69419bcab3839ab22bf429d25eed836221130121 (patch) | |
tree | fe5b0035a3c7f050cd79110149e9728edabdf74e /sc | |
parent | Remove some PCH traces (diff) | |
download | core-69419bcab3839ab22bf429d25eed836221130121.tar.gz core-69419bcab3839ab22bf429d25eed836221130121.zip |
Remove empty or non-called methods
empty:
ClearTip
implOnShapeInserted
ImpCopyMarkedPoints
ImpMakeDragAttr
ImpCopyMarkedPoints
ImpMakeDragAttr
ImpDelDragAttr
ImpMakeCreateAttr
Is1stLessThan2nd
LinkToListTemplate
NewCoreSelection
ScrollStart
ScrollEnd
SetNoOutlineNum
non-called:
NewCoreSelection
Change-Id: Ief273b741aaf49ff66c0dac898686e4def4de0c1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fudraw.cxx | 22 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fumark.cxx | 20 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fupoor.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/fudraw.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/fumark.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/inc/fupoor.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/vba/vbasheetobjects.cxx | 7 |
7 files changed, 0 insertions, 60 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index 459790daa9c4..016f1cd4f1e6 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -675,28 +675,6 @@ void FuDraw::SelectionHasChanged() /************************************************************************* |* -|* Vor dem Scrollen Selektionsdarstellung ausblenden -|* -\************************************************************************/ - -void FuDraw::ScrollStart() -{ -// HideShownXor in Gridwin -} - -/************************************************************************* -|* -|* Nach dem Scrollen Selektionsdarstellung wieder anzeigen -|* -\************************************************************************/ - -void FuDraw::ScrollEnd() -{ -// ShowShownXor in Gridwin -} - -/************************************************************************* -|* |* Function aktivieren |* \************************************************************************/ diff --git a/sc/source/ui/drawfunc/fumark.cxx b/sc/source/ui/drawfunc/fumark.cxx index c900b1f97905..561a879ec037 100644 --- a/sc/source/ui/drawfunc/fumark.cxx +++ b/sc/source/ui/drawfunc/fumark.cxx @@ -212,26 +212,6 @@ sal_Bool FuMarkRect::KeyInput(const KeyEvent& rKEvt) /************************************************************************* |* -|* Vor dem Scrollen Selektionsdarstellung ausblenden -|* -\************************************************************************/ - -void FuMarkRect::ScrollStart() -{ -} - -/************************************************************************* -|* -|* Nach dem Scrollen Selektionsdarstellung wieder anzeigen -|* -\************************************************************************/ - -void FuMarkRect::ScrollEnd() -{ -} - -/************************************************************************* -|* |* Function aktivieren |* \************************************************************************/ diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx index 7d0265104a63..e1e259f01a60 100644 --- a/sc/source/ui/drawfunc/fupoor.cxx +++ b/sc/source/ui/drawfunc/fupoor.cxx @@ -151,9 +151,7 @@ void FuPoor::ForceScroll(const Point& aPixPos) if ( dx != 0 || dy != 0 ) { - ScrollStart(); // Scrollaktion in abgeleiteter Klasse pViewShell->ScrollLines(2*dx, 4*dy); - ScrollEnd(); aScrollTimer.Start(); } } diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx index c2820c5c0569..8dbd426a7f67 100644 --- a/sc/source/ui/inc/fudraw.hxx +++ b/sc/source/ui/inc/fudraw.hxx @@ -51,9 +51,6 @@ class FuDraw : public FuPoor virtual sal_Bool KeyInput(const KeyEvent& rKEvt); - virtual void ScrollStart(); - virtual void ScrollEnd(); - virtual void Activate(); virtual void Deactivate(); diff --git a/sc/source/ui/inc/fumark.hxx b/sc/source/ui/inc/fumark.hxx index 11afd3eee23e..47cef3f81266 100644 --- a/sc/source/ui/inc/fumark.hxx +++ b/sc/source/ui/inc/fumark.hxx @@ -46,9 +46,6 @@ class FuMarkRect : public FuPoor virtual sal_Bool KeyInput(const KeyEvent& rKEvt); - virtual void ScrollStart(); - virtual void ScrollEnd(); - virtual void Activate(); virtual void Deactivate(); diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx index 71a20ec02683..cb713b1fb850 100644 --- a/sc/source/ui/inc/fupoor.hxx +++ b/sc/source/ui/inc/fupoor.hxx @@ -109,9 +109,6 @@ public: virtual void Activate(); // Function aktivieren virtual void Deactivate(); // Function deaktivieren - virtual void ScrollStart() {} // diese Funktionen werden von - virtual void ScrollEnd() {} // ForceScroll aufgerufen - void SetWindow(Window* pWin) { pWindow = pWin; } sal_uInt16 GetSlotID() const { return( aSfxRequest.GetSlot() ); } diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx index 0277a203a7dc..76a7cdc6de18 100644 --- a/sc/source/ui/vba/vbasheetobjects.cxx +++ b/sc/source/ui/vba/vbasheetobjects.cxx @@ -131,8 +131,6 @@ protected: virtual OUString implGetShapeName( const uno::Reference< drawing::XShape >& rxShape ) const throw (uno::RuntimeException); /** Is called when a new UNO shape has been created but not yet inserted into the drawing page. */ virtual void implOnShapeCreated( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::RuntimeException); - /** Is called when a new UNO shape has been inserted into the drawing page. */ - virtual void implOnShapeInserted( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::RuntimeException); protected: uno::Reference< XHelperInterface > mxParent; @@ -189,7 +187,6 @@ sal_Int32 ScVbaObjectContainer::insertShape( const uno::Reference< drawing::XSha { mxShapes->add( rxShape ); maShapes.push_back( rxShape ); - implOnShapeInserted( rxShape ); return mxShapes->getCount() - 1; } @@ -253,10 +250,6 @@ void ScVbaObjectContainer::implOnShapeCreated( const uno::Reference< drawing::XS { } -void ScVbaObjectContainer::implOnShapeInserted( const uno::Reference< drawing::XShape >& /*rxShape*/ ) throw (uno::RuntimeException) -{ -} - // ============================================================================ class ScVbaObjectEnumeration : public SimpleEnumerationBase |