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 /svx | |
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 'svx')
-rw-r--r-- | svx/inc/svx/svdcrtv.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/svddrgv.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/svdetc.hxx | 5 | ||||
-rw-r--r-- | svx/inc/svx/svdpoev.hxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdcrtv.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svddrgv.cxx | 11 | ||||
-rw-r--r-- | svx/source/svdraw/svdetc.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdpoev.cxx | 9 |
8 files changed, 0 insertions, 40 deletions
diff --git a/svx/inc/svx/svdcrtv.hxx b/svx/inc/svx/svdcrtv.hxx index 0215f800d1f0..89525c732d31 100644 --- a/svx/inc/svx/svdcrtv.hxx +++ b/svx/inc/svx/svdcrtv.hxx @@ -86,7 +86,6 @@ protected: private: SVX_DLLPRIVATE void ImpClearVars(); - SVX_DLLPRIVATE void ImpMakeCreateAttr(); protected: sal_Bool ImpBegCreateObj(sal_uInt32 nInvent, sal_uInt16 nIdent, const Point& rPnt, OutputDevice* pOut, diff --git a/svx/inc/svx/svddrgv.hxx b/svx/inc/svx/svddrgv.hxx index 731161bea2a3..3bcecf9f65df 100644 --- a/svx/inc/svx/svddrgv.hxx +++ b/svx/inc/svx/svddrgv.hxx @@ -95,8 +95,6 @@ protected: private: SVX_DLLPRIVATE void ImpClearVars(); - SVX_DLLPRIVATE void ImpMakeDragAttr(); - SVX_DLLPRIVATE void ImpDelDragAttr(); protected: virtual void SetMarkHandles(); diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx index 3bd50f4485cb..51b3e5dc29c2 100644 --- a/svx/inc/svx/svdetc.hxx +++ b/svx/inc/svx/svdetc.hxx @@ -151,11 +151,6 @@ public: protected: ~ContainerSorter() {} - -private: // damit keiner vergessen wird -virtual - void - Is1stLessThan2nd(const void* pElem1, const void* pElem2) const; }; //////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/svx/inc/svx/svdpoev.hxx b/svx/inc/svx/svdpoev.hxx index 6d6305ae8e82..0722083e5283 100644 --- a/svx/inc/svx/svdpoev.hxx +++ b/svx/inc/svx/svdpoev.hxx @@ -64,9 +64,6 @@ private: SVX_DLLPRIVATE void ImpResetPolyPossibilityFlags(); SVX_DLLPRIVATE void ImpCheckPolyPossibilities(); - // Markierte Punkte kopieren und anstelle der alten markieren - // ist noch nicht implementiert! - SVX_DLLPRIVATE void ImpCopyMarkedPoints(); typedef void (*PPolyTrFunc)(Point&, Point*, Point*, const void*, const void*, const void*, const void*, const void*); SVX_DLLPRIVATE void ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* p1=NULL, const void* p2=NULL, const void* p3=NULL, const void* p4=NULL, const void* p5=NULL); diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 6ea7cac6faed..8ea566fa592d 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -215,17 +215,12 @@ void SdrCreateView::ImpClearVars() ImpClearConnectMarker(); } -void SdrCreateView::ImpMakeCreateAttr() -{ -} - SdrCreateView::SdrCreateView(SdrModel* pModel1, OutputDevice* pOut) : SdrDragView(pModel1,pOut), mpCoMaOverlay(0L), mpCreateViewExtraData(new ImpSdrCreateViewExtraData()) { ImpClearVars(); - ImpMakeCreateAttr(); } SdrCreateView::~SdrCreateView() diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 0baddd30db0d..44f79a212208 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -91,25 +91,14 @@ void SdrDragView::ImpClearVars() mbSolidDragging = getOptionsDrawinglayer().IsSolidDragCreate(); } -void SdrDragView::ImpMakeDragAttr() -{ - ImpDelDragAttr(); -} - SdrDragView::SdrDragView(SdrModel* pModel1, OutputDevice* pOut) : SdrExchangeView(pModel1,pOut) { ImpClearVars(); - ImpMakeDragAttr(); } SdrDragView::~SdrDragView() { - ImpDelDragAttr(); -} - -void SdrDragView::ImpDelDragAttr() -{ } sal_Bool SdrDragView::IsAction() const diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index c561e82f5895..7383a236c254 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -241,10 +241,6 @@ void ContainerSorter::DoSort(sal_uIntPtr a, sal_uIntPtr b) const if (a<b) ImpSubSort(a,b); } -void ContainerSorter::Is1stLessThan2nd(const void* /*pElem1*/, const void* /*pElem2*/) const -{ -} - void ContainerSorter::ImpSubSort(long nL, long nR) const { long i,j; diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index cb132453be31..db899bde6f52 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -587,12 +587,6 @@ void SdrPolyEditView::CloseMarkedObjects(sal_Bool bToggle, sal_Bool bOpen) //////////////////////////////////////////////////////////////////////////////////////////////////// -void SdrPolyEditView::ImpCopyMarkedPoints() -{ -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - void SdrPolyEditView::ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* p1, const void* p2, const void* p3, const void* p4, const void* p5) { const bool bUndo = IsUndoEnabled(); @@ -682,7 +676,6 @@ void SdrPolyEditView::MoveMarkedPoints(const Size& rSiz, bool bCopy) XubString aStr(ImpGetResStr(STR_EditMove)); if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_MOVE); - if (bCopy) ImpCopyMarkedPoints(); ImpTransformMarkedPoints(ImpMove,&rSiz); EndUndo(); AdjustMarkHdl(); @@ -704,7 +697,6 @@ void SdrPolyEditView::ResizeMarkedPoints(const Point& rRef, const Fraction& xFac XubString aStr(ImpGetResStr(STR_EditResize)); if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_RESIZE); - if (bCopy) ImpCopyMarkedPoints(); ImpTransformMarkedPoints(ImpResize,&rRef,&xFact,&yFact); EndUndo(); AdjustMarkHdl(); @@ -726,7 +718,6 @@ void SdrPolyEditView::RotateMarkedPoints(const Point& rRef, long nWink, bool bCo XubString aStr(ImpGetResStr(STR_EditResize)); if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); BegUndo(aStr,GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_ROTATE); - if (bCopy) ImpCopyMarkedPoints(); double nSin=sin(nWink*nPi180); double nCos=cos(nWink*nPi180); ImpTransformMarkedPoints(ImpRotate,&rRef,&nWink,&nSin,&nCos); |