[Libreoffice-commits] .: 2 commits - svtools/inc svtools/source vcl/inc

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sun Feb 19 08:33:50 PST 2012


 svtools/inc/svtools/grfmgr.hxx    |    3 ---
 svtools/source/graphic/grfmgr.cxx |    6 ------
 vcl/inc/salframe.hxx              |   10 ----------
 3 files changed, 19 deletions(-)

New commits:
commit 02192b8366c9301ab168770963a88292f4051f52
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Feb 19 17:20:54 2012 +0100

    svtools: remove unused GraphicObject::GetReleaseFromCache

diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx
index 896a475..edb3db1 100644
--- a/svtools/inc/svtools/grfmgr.hxx
+++ b/svtools/inc/svtools/grfmgr.hxx
@@ -346,9 +346,6 @@ protected:
     virtual void            GraphicManagerDestroyed();
     virtual SvStream*       GetSwapStream() const;
 
-    // !!! to be removed
-    virtual sal_uLong       GetReleaseFromCache() const;
-
     virtual void            Load( SvStream& );
     virtual void            Save( SvStream& );
     virtual void            Assign( const SvDataCopyStream& );
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 28fc1c9..7c2de86 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -393,12 +393,6 @@ SvStream* GraphicObject::GetSwapStream() const
     return( HasSwapStreamHdl() ? (SvStream*) mpSwapStreamHdl->Call( (void*) this ) : GRFMGR_AUTOSWAPSTREAM_NONE );
 }
 
-// !!! to be removed
-sal_uLong GraphicObject::GetReleaseFromCache() const
-{
-    return 0;
-}
-
 void GraphicObject::SetAttr( const GraphicAttr& rAttr )
 {
     maAttr = rAttr;
commit 2e54f4ff0fe12846a52d0cbbd3404f115d515811
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Feb 19 10:31:40 2012 +0100

    vcl: dead code

diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx
index f4c3d73..4c412b7 100644
--- a/vcl/inc/salframe.hxx
+++ b/vcl/inc/salframe.hxx
@@ -103,16 +103,6 @@ struct SystemEnvData;
 // the window containing the intro bitmap, aka splashscreen
 #define SAL_FRAME_STYLE_INTRO               ((sal_uLong)0x80000000)
 
-/*
-#define SAL_FRAME_STYLE_MINABLE             ((sal_uLong)0x00000008)
-#define SAL_FRAME_STYLE_MAXABLE             ((sal_uLong)0x00000010)
-#define SAL_FRAME_STYLE_BORDER              ((sal_uLong)0x00000040)
-#define SAL_FRAME_STYLE_DOC                 ((sal_uLong)0x00004000)
-#define SAL_FRAME_STYLE_DIALOG              ((sal_uLong)0x00008000)
-#define SAL_FRAME_STYLE_TOOL                ((sal_uLong)0x00010000)
-#define SAL_FRAME_STYLE_FULLSIZE            ((sal_uLong)0x00020000)
-*/
-
 // ----------------------------------------
 // - extended frame style                 -
 // - (sal equivalent to extended WinBits) -


More information about the Libreoffice-commits mailing list