summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 10:37:31 +0200
committerNoel Grandin <noel@peralex.com>2015-05-22 10:37:59 +0200
commitac3802da9ac7793c60a323bb8066c10fb40cf576 (patch)
tree659a60dafb818c327d3276b2a73a83498603d144 /svx
parent566922a98d548529feacb7c21bfc8897ff5b61af (diff)
convert WINDOW_POSSIZE constants to scoped enum
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/PanelLayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 1b5173d31e99..591dfe390eea 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -69,7 +69,7 @@ IMPL_LINK_NOARG_TYPED( PanelLayout, ImplHandlePanelLayoutTimerHdl, Idle*, void )
VclContainer::setLayoutAllocation(*pChild, Point(0, 0), GetSizePixel());
}
-void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags)
+void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags)
{
bool bCanHandleSmallerWidth = false;
bool bCanHandleSmallerHeight = false;
@@ -94,7 +94,7 @@ void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, s
Control::setPosSizePixel(nX, nY, nWidth, nHeight, nFlags);
- if (bIsLayoutEnabled && (nFlags & WINDOW_POSSIZE_SIZE))
+ if (bIsLayoutEnabled && (nFlags & PosSizeFlags::Size))
VclContainer::setLayoutAllocation(*pChild, Point(0, 0), Size(nWidth, nHeight));
}