summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/dlgctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index ddc9e0cc2bd8..637ca5abb94c 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -757,8 +757,8 @@ void SvxRectCtl::SetCS(CTL_STYLE eNew)
//Logic Pixel
long SvxPixelCtl::PointToIndex(const Point &aPt) const
{
- sal_Int32 nX = aPt.X() * nLines / aRectSize.Width();
- sal_Int32 nY = aPt.Y() * nLines / aRectSize.Height();
+ long nX = aPt.X() * nLines / aRectSize.Width();
+ long nY = aPt.Y() * nLines / aRectSize.Height();
return nX + nY * nLines ;
}