summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/PanelLayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/PanelLayout.cxx')
-rw-r--r--svx/source/sidebar/PanelLayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 80245dcd9bf2..4f02866ec33a 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -85,7 +85,7 @@ void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, P
bool bIsLayoutEnabled = isLayoutEnabled(this);
vcl::Window *pChild = GetWindow(GetWindowType::FirstChild);
- if (bIsLayoutEnabled && pChild->GetType() == WINDOW_SCROLLWINDOW)
+ if (bIsLayoutEnabled && pChild->GetType() == WindowType::SCROLLWINDOW)
{
WinBits nStyle = pChild->GetStyle();
if (nStyle & (WB_AUTOHSCROLL | WB_HSCROLL))