diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-13 21:21:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 15:24:56 +0100 |
commit | 44f8e4ccf69cb7e922846f145a4c7f4abce513b4 (patch) | |
tree | 40c4a69110c2a3d73f137dfd561cf9e1ba37ce5f | |
parent | 685082c4ab245cae18674243e56bb3b82635c180 (diff) |
callcatcher: remove unused methods
-rw-r--r-- | binfilter/bf_basic/source/classes/image.cxx | 8 | ||||
-rw-r--r-- | binfilter/bf_basic/source/inc/image.hxx | 2 | ||||
-rw-r--r-- | binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx | 18 |
3 files changed, 2 insertions, 26 deletions
diff --git a/binfilter/bf_basic/source/classes/image.cxx b/binfilter/bf_basic/source/classes/image.cxx index c070a99c0..cecf102f2 100644 --- a/binfilter/bf_basic/source/classes/image.cxx +++ b/binfilter/bf_basic/source/classes/image.cxx @@ -305,14 +305,6 @@ SbiImage::ReleaseLegacyBuffer() nLegacyCodeSize = 0; } -BOOL -SbiImage::ExceedsLegacyLimits() -{ - if ( ( nStringSize > 0xFF00L ) || ( CalcLegacyOffset( nCodeSize ) > 0xFF00L ) ) - return TRUE; - return FALSE; -} - } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/binfilter/bf_basic/source/inc/image.hxx b/binfilter/bf_basic/source/inc/image.hxx index aed46a0bf..f4e26859b 100644 --- a/binfilter/bf_basic/source/inc/image.hxx +++ b/binfilter/bf_basic/source/inc/image.hxx @@ -92,8 +92,6 @@ public: UINT16 CalcLegacyOffset( INT32 nOffset ); UINT32 CalcNewOffset( INT16 nOffset ); void ReleaseLegacyBuffer(); - BOOL ExceedsLegacyLimits(); - }; #define SBIMG_EXPLICIT 0x0001 // OPTION EXPLICIT ist aktiv diff --git a/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx b/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx index 72539d9e4..604e49cc5 100644 --- a/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx +++ b/binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx @@ -1281,9 +1281,8 @@ struct ImplRenderPaintProc rLayerAdmin ( rLA ), pSdrPageView ( pView ) {} - - DECL_LINK(_ImplRenderPaintProc, SdrPaintProcRec*); }; + sal_Bool ImplRenderPaintProc::IsVisible( const SdrObject* pObj ) const { sal_Bool bVisible = sal_True; @@ -1299,6 +1298,7 @@ sal_Bool ImplRenderPaintProc::IsVisible( const SdrObject* pObj ) const } return bVisible; } + sal_Bool ImplRenderPaintProc::IsPrintable( const SdrObject* pObj ) const { sal_Bool bPrintable = sal_True; @@ -1315,20 +1315,6 @@ sal_Bool ImplRenderPaintProc::IsPrintable( const SdrObject* pObj ) const return bPrintable; } -IMPL_LINK( ImplRenderPaintProc, _ImplRenderPaintProc, SdrPaintProcRec*, pRecord ) -{ - SdrObject* pObj = pRecord->pObj; - if( !pObj->IsEmptyPresObj() && IsVisible( pObj ) && IsPrintable( pObj ) ) - { - pObj->Paint( pRecord->rOut, pRecord->rInfoRec ); - } - else - { - if( pObj->GetPage()->IsMasterPage() && (pObj->GetPage() == pObj->GetObjList()) && (pObj->GetOrdNum() == 0) && pObj->ISA( SdrRectObj ) ) - pObj->Paint( pRecord->rOut, pRecord->rInfoRec ); - } - return 0; -} void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& /*rSelection*/, const uno::Sequence< beans::PropertyValue >& rxOptions ) |