[Libreoffice-commits] .: binfilter/bf_basic binfilter/bf_sd

Caolán McNamara caolan at kemper.freedesktop.org
Thu Jul 14 07:35:24 PDT 2011


 binfilter/bf_basic/source/classes/image.cxx      |    8 --------
 binfilter/bf_basic/source/inc/image.hxx          |    2 --
 binfilter/bf_sd/source/ui/unoidl/sd_unomodel.cxx |   18 ++----------------
 3 files changed, 2 insertions(+), 26 deletions(-)

New commits:
commit 44f8e4ccf69cb7e922846f145a4c7f4abce513b4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jul 13 21:21:44 2011 +0100

    callcatcher: remove unused methods

diff --git a/binfilter/bf_basic/source/classes/image.cxx b/binfilter/bf_basic/source/classes/image.cxx
index c070a99..cecf102 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 aed46a0..f4e2685 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 72539d9..604e49c 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 )


More information about the Libreoffice-commits mailing list