summaryrefslogtreecommitdiff
path: root/svtools/source/brwbox/brwbox2.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-23 10:26:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-23 20:45:17 +0200
commitb6311393b5a01eee500b1ebe440bce60939aaead (patch)
tree2da743b5fb32645a8b579825410ba456b4316215 /svtools/source/brwbox/brwbox2.cxx
parent6afd1e3c06e476a01c25032d3d95ed7e624b58e0 (diff)
weld AbsolutePos
Change-Id: I273d01bb5d8bf1a1d2dc9066b0c9f099bf115e32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99311 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source/brwbox/brwbox2.cxx')
-rw-r--r--svtools/source/brwbox/brwbox2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 1046363849b9..5abdf5e34099 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -22,13 +22,13 @@
#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <svtools/brwbox.hxx>
+#include <svtools/recorditemwindow.hxx>
#include "datwin.hxx"
#include <svtools/colorcfg.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/ptrstyle.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
-#include <vcl/status.hxx>
#include <tools/multisel.hxx>
#include <tools/fract.hxx>
@@ -1037,7 +1037,7 @@ long BrowseBox::GetBarHeight() const
// (we can't ask the scrollbars for their size cause if we're zoomed they still have to be
// resized - which is done in UpdateScrollbars)
- return std::max(aStatusBar->GetSizePixel().Height(), GetSettings().GetStyleSettings().GetScrollBarSize());
+ return std::max(aStatusBarHeight->GetSizePixel().Height(), GetSettings().GetStyleSettings().GetScrollBarSize());
}
void BrowseBox::UpdateScrollbars()