diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-02-04 00:06:40 +1100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-05 14:26:34 +0000 |
commit | be16bfd4c2d43c9152eac4ce4519fc31e9de9f34 (patch) | |
tree | 0f225bb2cec47a1d85eb4bfa8b5ce1ff7ef67002 /vcl/source/window/status.cxx | |
parent | fba46c6efd08d50fee92cc11546f3ed253a57af8 (diff) |
fdo#74424 Use Window::GetOutDev() to access ImplIsRecordLayout()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.
Change-Id: Ibbdd8062659ed0de2925a61ce5e63e5a21834ade
Reviewed-on: https://gerrit.libreoffice.org/7814
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/status.cxx')
-rw-r--r-- | vcl/source/window/status.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index 6a69afef6d47..c47778923493 100644 --- a/vcl/source/window/status.cxx +++ b/vcl/source/window/status.cxx @@ -480,7 +480,9 @@ void StatusBar::ImplDrawItem( sal_Bool bOffScreen, sal_uInt16 nPos, sal_Bool bDr } } - if ( !ImplIsRecordLayout() ) + const OutputDevice *pOutDev = GetOutDev(); + + if ( !pOutDev->ImplIsRecordLayout() ) ImplCallEventListeners( VCLEVENT_STATUSBAR_DRAWITEM, (void*) sal_IntPtr(pItem->mnId) ); } |