summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-07 11:29:18 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-25 13:41:53 +0100
commit1a779145378b40eb717f5cf9e850cf7794490268 (patch)
treec19fdff35e84ba03f2c86abf98860c49422efd8c /vcl/unx/generic
parentda08a42e0ca1c250f5c5d6e0888d1027dec92472 (diff)
WaE: cleanup misc. redundant warnings, and silence the gtk2 case
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/salbmp.cxx1
-rw-r--r--vcl/unx/generic/window/salobj.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx
index d0201e3df6d6..44c1a7105689 100644
--- a/vcl/unx/generic/gdi/salbmp.cxx
+++ b/vcl/unx/generic/gdi/salbmp.cxx
@@ -218,7 +218,6 @@ BitmapBuffer* X11SalBitmap::ImplCreateDIB(
if( aDrawable && nWidth && nHeight && nDrawableDepth )
{
SalDisplay* pSalDisp = GetGenericData()->GetSalDisplay();
- SalXLib* pXLib = pSalDisp->GetXLib();
Display* pXDisp = pSalDisp->GetDisplay();
// do not die on XError here
diff --git a/vcl/unx/generic/window/salobj.cxx b/vcl/unx/generic/window/salobj.cxx
index da0937858150..5ad6c4087bbf 100644
--- a/vcl/unx/generic/window/salobj.cxx
+++ b/vcl/unx/generic/window/salobj.cxx
@@ -273,7 +273,6 @@ X11SalObject::~X11SalObject()
{
std::list< SalObject* >& rObjects = GetGenericData()->GetSalDisplay()->getSalObjects();
rObjects.remove( this );
- SalDisplay* pSalDisp = GetGenericData()->GetSalDisplay();
GetGenericData()->ErrorTrapPush();
if ( maSecondary )