summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 14a35ef6d1f1..db2ef8918926 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -1064,7 +1064,7 @@ void DbGridControl::StateChanged( StateChangedType nType )
Point aPoint = GetControlArea().TopLeft();
sal_uInt16 nX = (sal_uInt16)aPoint.X();
ArrangeControls(nX, (sal_uInt16)aPoint.Y());
- ReserveControlArea((sal_uInt16)nX);
+ ReserveControlArea(nX);
}
break;
case StateChangedType::ControlFont:
@@ -1270,7 +1270,7 @@ void DbGridControl::EnableNavigationBar(bool bEnable)
sal_uInt16 nX = (sal_uInt16)aPoint.X();
ArrangeControls(nX, (sal_uInt16)aPoint.Y());
- ReserveControlArea((sal_uInt16)nX);
+ ReserveControlArea(nX);
}
else
{