summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/PaneDockingWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/PaneDockingWindow.cxx')
-rw-r--r--sd/source/ui/dlg/PaneDockingWindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx
index bcf58c38c0b1..77cc8679968f 100644
--- a/sd/source/ui/dlg/PaneDockingWindow.cxx
+++ b/sd/source/ui/dlg/PaneDockingWindow.cxx
@@ -114,8 +114,8 @@ void PaneDockingWindow::SetValidSizeRange (const Range aValidSizeRange)
SplitWindow* pSplitWindow = dynamic_cast<SplitWindow*>(GetParent());
if (pSplitWindow != NULL)
{
- const USHORT nId (pSplitWindow->GetItemId(static_cast< ::Window*>(this)));
- const USHORT nSetId (pSplitWindow->GetSet(nId));
+ const sal_uInt16 nId (pSplitWindow->GetItemId(static_cast< ::Window*>(this)));
+ const sal_uInt16 nSetId (pSplitWindow->GetSet(nId));
// Because the PaneDockingWindow paints its own decoration, we have
// to compensate the valid size range for that.
const SvBorder aBorder (GetDecorationBorder());