diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:40 +0000 |
commit | 58692c30e390d24c20108a7c3140d96638898696 (patch) | |
tree | ecd84d5343b09488c91e8f8008b10fd216c2de65 /svx | |
parent | 8c69b4db58ce820e27c96dc0f33890b6946a5f4c (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/contdlg.hxx | 4 | ||||
-rw-r--r-- | svx/inc/svx/strarray.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/svdhdl.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/svdhlpln.hxx | 5 | ||||
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/strarray.cxx | 29 | ||||
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 17 | ||||
-rw-r--r-- | svx/source/svdraw/svdhlpln.cxx | 18 |
8 files changed, 0 insertions, 86 deletions
diff --git a/svx/inc/svx/contdlg.hxx b/svx/inc/svx/contdlg.hxx index 26e30a83ed4a..cb88430ca90f 100644 --- a/svx/inc/svx/contdlg.hxx +++ b/svx/inc/svx/contdlg.hxx @@ -49,10 +49,6 @@ class SVX_DLLPUBLIC SvxContourDlgChildWindow : public SfxChildWindow SvxContourDlgChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); SFX_DECL_CHILDWINDOW( SvxContourDlgChildWindow ); - - static void UpdateContourDlg( const Graphic& rGraphic, sal_Bool bGraphicLinked, - const PolyPolygon* pPolyPoly = NULL, - void* pEditingObj = NULL ); }; #ifndef _REDUCED_ContourDlg_HXX_ diff --git a/svx/inc/svx/strarray.hxx b/svx/inc/svx/strarray.hxx index ba2d62e53bd2..258361278041 100644 --- a/svx/inc/svx/strarray.hxx +++ b/svx/inc/svx/strarray.hxx @@ -43,8 +43,6 @@ public: ~SvxStringArray(); const String& GetStringByPos( sal_uInt32 nPos ) const; - const String& GetStringByType( long nType ) const; - long GetValueByStr( const String& rStr ) const; }; diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx index cadd4a4f593e..91a067a7a471 100644 --- a/svx/inc/svx/svdhdl.hxx +++ b/svx/inc/svx/svdhdl.hxx @@ -460,7 +460,6 @@ protected: unsigned bRotateShear : 1; unsigned bDistortShear : 1; unsigned bMoveOutside : 1; // Handles nach aussen ruecken (fuer TextEdit) - unsigned bFineHandles : 1; private: SVX_DLLPRIVATE SdrHdlList(const SdrHdlList&): aList(1024,64,64) {} @@ -497,8 +496,6 @@ public: sal_Bool IsRotateShear() const { return bRotateShear; } void SetDistortShear(sal_Bool bOn); sal_Bool IsDistortShear() const { return bDistortShear; } - void SetFineHdl(sal_Bool bOn); - sal_Bool IsFineHdl() const { return bFineHandles; } // AddHdl uebernimmt das Handle in sein Eigentum. Es muss // also auf dem Heap stehen, da Clear() ein delete macht. diff --git a/svx/inc/svx/svdhlpln.hxx b/svx/inc/svx/svdhlpln.hxx index a6a11d4df2cf..0106c2da06a2 100644 --- a/svx/inc/svx/svdhlpln.hxx +++ b/svx/inc/svx/svdhlpln.hxx @@ -70,11 +70,6 @@ public: bool IsHit(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const; // OutputDevice wird benoetigt, da Fangpunkte eine feste Pixelgroesse haben Rectangle GetBoundRect(const OutputDevice& rOut) const; - - /* returns true if this and the given help line would be rendered at the same pixel position - of the given OutputDevice. This can be used to avoid drawing multiple help lines with xor - on same position which could render them invisible */ - bool IsVisibleEqual( const SdrHelpLine& rHelpLine, const OutputDevice& rOut ) const; }; #define SDRHELPLINE_NOTFOUND 0xFFFF diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index a1001284f2c9..24e9e3b4f0e0 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -105,14 +105,6 @@ SvxContourDlgChildWindow::SvxContourDlgChildWindow( Window* _pParent, sal_uInt16 pDlg->Initialize( pInfo ); } -void SvxContourDlgChildWindow::UpdateContourDlg( const Graphic& rGraphic, sal_Bool bGraphicLinked, - const PolyPolygon* pPolyPoly, void* pEditingObj ) -{ - if ( SfxViewFrame::Current() && - SfxViewFrame::Current()->HasChildWindow( SvxContourDlgChildWindow::GetChildWindowId() ) ) - SVXCONTOURDLG()->Update( rGraphic, bGraphicLinked, pPolyPoly, pEditingObj ); -} - SvxContourDlg::SvxContourDlg( SfxBindings* _pBindings, SfxChildWindow* pCW, Window* _pParent, const ResId& rResId ) : diff --git a/svx/source/dialog/strarray.cxx b/svx/source/dialog/strarray.cxx index 10b4f0750210..ae0c446131d6 100644 --- a/svx/source/dialog/strarray.cxx +++ b/svx/source/dialog/strarray.cxx @@ -69,33 +69,4 @@ const String& SvxStringArray::GetStringByPos( sal_uInt32 nPos ) const return String::EmptyString(); } -//------------------------------------------------------------------------ - -const String& SvxStringArray::GetStringByType( long nType ) const -{ - sal_uInt32 nPos = FindIndex( nType ); - - if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) - return ResStringArray::GetString( nPos ); - else - return String::EmptyString(); -} - -//------------------------------------------------------------------------ - -long SvxStringArray::GetValueByStr( const String& rStr ) const -{ - long nType = 0; - sal_uInt32 nCount = Count(); - - for ( sal_uInt32 i = 0; i < nCount; ++i ) - if ( rStr == ResStringArray::GetString( i ) ) - { - nType = GetValue( i ); - break; - } - return nType; -} - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 98cd7a85e458..75146b80696f 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -2029,7 +2029,6 @@ SdrHdlList::SdrHdlList(SdrMarkView* pV) bRotateShear = sal_False; bMoveOutside = sal_False; bDistortShear = sal_False; - bFineHandles = sal_False; } SdrHdlList::~SdrHdlList() @@ -2079,22 +2078,6 @@ void SdrHdlList::SetDistortShear(sal_Bool bOn) bDistortShear = bOn; } -void SdrHdlList::SetFineHdl(sal_Bool bOn) -{ - if(bFineHandles != bOn) - { - // remember new state - bFineHandles = bOn; - - // propagate change to IAOs - for(sal_uInt32 i=0; i<GetHdlCount(); i++) - { - SdrHdl* pHdl = GetHdl(i); - pHdl->Touch(); - } - } -} - SdrHdl* SdrHdlList::RemoveHdl(sal_uIntPtr nNum) { SdrHdl* pRetval = (SdrHdl*)aList.Remove(nNum); diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx index 30d4dd31824b..21ef6a2c9376 100644 --- a/svx/source/svdraw/svdhlpln.cxx +++ b/svx/source/svdraw/svdhlpln.cxx @@ -86,24 +86,6 @@ Rectangle SdrHelpLine::GetBoundRect(const OutputDevice& rOut) const return aRet; } -bool SdrHelpLine::IsVisibleEqual( const SdrHelpLine& rHelpLine, const OutputDevice& rOut ) const -{ - if( eKind == rHelpLine.eKind) - { - Point aPt1(rOut.LogicToPixel(aPos)), aPt2(rOut.LogicToPixel(rHelpLine.aPos)); - switch( eKind ) - { - case SDRHELPLINE_POINT: - return aPt1 == aPt2; - case SDRHELPLINE_VERTICAL: - return aPt1.X() == aPt2.X(); - case SDRHELPLINE_HORIZONTAL: - return aPt1.Y() == aPt2.Y(); - } - } - return false; -} - void SdrHelpLineList::Clear() { sal_uInt16 nAnz=GetCount(); |