summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-30 19:29:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-01 08:11:21 +0000
commit90826f783bc2c6b2a93d67fc89a99d146a7886bf (patch)
tree5204135db322c32a39d65f78b55c3aa6e5fe5213
parentb253064e867a20d53658a39bfe74c2b1198c80ff (diff)
mnSaveBackSize only set not read
Change-Id: I257cb3803d055f55899a2f52bc3a88886380fb4e
-rw-r--r--vcl/inc/window.h1
-rw-r--r--vcl/source/window/window.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index db2078956277..2b8d8481848e 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -107,7 +107,6 @@ struct ImplOverlapData
VclPtr<VirtualDevice> mpSaveBackDev; //< saved background bitmap
vcl::Region* mpSaveBackRgn; //< saved region, which must be invalidated
VclPtr<vcl::Window> mpNextBackWin; //< next window with saved background
- sal_uIntPtr mnSaveBackSize; //< bitmap size of saved background
};
struct ImplFrameData
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 1ce842d8c15a..f34c8e0eecac 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -937,7 +937,6 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p
mpWindowImpl->mpOverlapData->mpSaveBackDev = nullptr;
mpWindowImpl->mpOverlapData->mpSaveBackRgn = nullptr;
mpWindowImpl->mpOverlapData->mpNextBackWin = nullptr;
- mpWindowImpl->mpOverlapData->mnSaveBackSize = 0;
}
if( pParent && ! mpWindowImpl->mbFrame )