diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-25 22:29:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 09:45:56 +0000 |
commit | b737e913c4594d07270d9b59f6ca3792482e2356 (patch) | |
tree | 5d49a8a7f372df11813a5979111a83708d2cac66 /vcl | |
parent | 1190dab820a60907559fb1e7d8e6e5d4d58ecfdf (diff) |
callcatcher: update unused list
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/salbmp.h | 7 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salbmp.cxx | 39 |
2 files changed, 0 insertions, 46 deletions
diff --git a/vcl/inc/unx/salbmp.h b/vcl/inc/unx/salbmp.h index 31aeeab58271..942a1f703993 100644 --- a/vcl/inc/unx/salbmp.h +++ b/vcl/inc/unx/salbmp.h @@ -207,13 +207,6 @@ public: long nHeight ); - ImplSalDDB( - Display* pDisplay, - XLIB_Window hWindow, - SalX11Screen nXScreen, - XImage* pImage - ); - ~ImplSalDDB(); Pixmap ImplGetPixmap() const { return maPixmap; } diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx index cd617b8c2c58..bde272b48363 100644 --- a/vcl/unx/generic/gdi/salbmp.cxx +++ b/vcl/unx/generic/gdi/salbmp.cxx @@ -912,45 +912,6 @@ ImplSalDDB::ImplSalDDB( XImage* pImage, Drawable aDrawable, } } -// ----------------------------------------------------------------------------------------- -// create from XImage - -ImplSalDDB::ImplSalDDB (Display* pDisplay, XLIB_Window hWindow, SalX11Screen nXScreen, XImage* pImage) - : mnXScreen( nXScreen ) -{ - maPixmap = XCreatePixmap (pDisplay, hWindow, pImage->width, pImage->height, pImage->depth); - if (maPixmap != 0) - { - XGCValues aValues; - GC aGC; - int nValues = GCFunction; - - aValues.function = GXcopy; - - if (pImage->depth == 1) - { - nValues |= ( GCForeground | GCBackground ); - aValues.foreground = 1; - aValues.background = 0; - } - - aGC = XCreateGC (pDisplay, maPixmap, nValues, &aValues); - XPutImage (pDisplay, maPixmap, aGC, pImage, 0, 0, 0, 0, pImage->width, pImage->height); - XFreeGC (pDisplay, aGC); - - maTwoRect.mnSrcX = 0; - maTwoRect.mnSrcY = 0; - maTwoRect.mnDestX = 0; - maTwoRect.mnDestY = 0; - maTwoRect.mnSrcWidth = pImage->width; - maTwoRect.mnDestWidth = pImage->width; - maTwoRect.mnSrcHeight = pImage->height; - maTwoRect.mnDestHeight = pImage->height; - - mnDepth = pImage->depth; - } -} - // ----------------------------------------------------------------------------- ImplSalDDB::ImplSalDDB( |