[Libreoffice-commits] core.git: vcl/headless
Stephan Bergmann
sbergman at redhat.com
Mon Jan 18 07:09:23 PST 2016
vcl/headless/svpgdi.cxx | 21 ---------------------
1 file changed, 21 deletions(-)
New commits:
commit 4dd775f22cb26adaaca0558dd8e71d5f08a85cf3
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 18 16:08:50 2016 +0100
dbgOut is unused now
since dc01e9db6fc6126b8f21bcbeb6145daf2c8941bf "svp: implement drawMask via cairo"
Change-Id: I00837048e33d61ddef8b8c4a4537e460838ce22c
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 6da0932..420827f 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -44,27 +44,6 @@
#include <sys/stat.h>
#endif
-inline void dbgOut( const basebmp::BitmapDeviceSharedPtr&
-#if OSL_DEBUG_LEVEL > 2
-rDevice
-#endif
-)
-{
- #if OSL_DEBUG_LEVEL > 2
- static int dbgStreamNum = 0;
- OStringBuffer aBuf( 256 );
- aBuf.append( "debug" );
- mkdir( aBuf.getStr(), 0777 );
- aBuf.append( "/" );
- aBuf.append( sal_Int64(reinterpret_cast<sal_IntPtr>(rDevice.get())), 16 );
- mkdir( aBuf.getStr(), 0777 );
- aBuf.append( "/bmp" );
- aBuf.append( sal_Int32(dbgStreamNum++) );
- std::fstream bmpstream( aBuf.getStr(), std::ios::out );
- debugDump( rDevice, bmpstream );
- #endif
-}
-
#if CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 10, 0)
# define CAIRO_OPERATOR_DIFFERENCE (static_cast<cairo_operator_t>(23))
More information about the Libreoffice-commits
mailing list