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

Thorsten Behrens thorsten at kemper.freedesktop.org
Mon Dec 13 14:14:21 PST 2010


 vcl/inc/vcl/window.hxx        |    4 +---
 vcl/source/window/window2.cxx |    8 --------
 2 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit 11f540454d61bb517c9653f512ea5d0370e2a544
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Mon Dec 13 23:12:55 2010 +0100

    Cleanup: remove obsolete code in vcl
    
    * cleaning up todo/next incompatible items

diff --git a/vcl/inc/vcl/window.hxx b/vcl/inc/vcl/window.hxx
index e85e6dc..d10edc3 100644
--- a/vcl/inc/vcl/window.hxx
+++ b/vcl/inc/vcl/window.hxx
@@ -965,9 +965,7 @@ public:
     void                SetData( void* pNewData );
     void*               GetData() const;
 
-    // Should be merged in the next top level build !!!
-    Bitmap              SnapShot( BOOL bBorder ) const;
-    Bitmap              SnapShot() const;
+    Bitmap              SnapShot( BOOL bBorder=TRUE ) const;
 
     void                ShowFocus( const Rectangle& rRect );
     void                HideFocus();
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 7ee1a5a..1923f11 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -342,14 +342,6 @@ Bitmap Window::SnapShot( BOOL bBorder ) const
 
 // -----------------------------------------------------------------------
 
-Bitmap Window::SnapShot() const
-{
-    // Should be merged in the next top level build !!!
-    return SnapShot( TRUE );
-}
-
-// -----------------------------------------------------------------------
-
 void Window::ShowFocus( const Rectangle& rRect )
 {
     DBG_CHKTHIS( Window, ImplDbgCheckWindow );


More information about the Libreoffice-commits mailing list