vcl/source/window/status.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit be16bfd4c2d43c9152eac4ce4519fc31e9de9f34 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Tue Feb 4 00:06:40 2014 +1100 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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx index 6a69afe..c477789 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) ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits