summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/swcli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/swcli.cxx')
-rw-r--r--sw/source/uibase/uiview/swcli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/swcli.cxx b/sw/source/uibase/uiview/swcli.cxx
index 4d896b52792b..bc9905f82a4f 100644
--- a/sw/source/uibase/uiview/swcli.cxx
+++ b/sw/source/uibase/uiview/swcli.cxx
@@ -146,7 +146,7 @@ void SwOleClient::ViewChanged()
aVisSize.setWidth( long(aVisSize.Width() * GetScaleWidth()) );
aVisSize.setHeight( long(aVisSize.Height() * GetScaleHeight()) );
- SwRect aRect( Point( LONG_MIN, LONG_MIN ), aVisSize );
+ SwRect aRect( Point( SAL_MIN_INT32, SAL_MIN_INT32 ), aVisSize );
rSh.LockView( true ); // Prevent scrolling in the EndAction
rSh.StartAllAction();
rSh.RequestObjectResize( aRect, GetObject() );