summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/inputwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/inputwin.cxx')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index a7ff74f109c2..28ff4acbdd1a 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -679,7 +679,7 @@ void ScInputWindow::MouseMove( const MouseEvent& rMEvt )
if (bInResize)
{
// detect direction
- long nResizeThreshold = ((long)TBX_WINDOW_HEIGHT * 0.7);
+ long nResizeThreshold = (long(TBX_WINDOW_HEIGHT) * 0.7);
bool bResetPointerPos = false;
// Detect attempt to expand toolbar too much