diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-13 20:20:37 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-13 21:10:31 +0200 |
commit | 9758b9aaf0909b94bd8845a694f1a775fe18777b (patch) | |
tree | 6585e4eeb5a45476d660246ebb82f5bcb466f8d3 | |
parent | remove unused variables (diff) | |
download | core-9758b9aaf0909b94bd8845a694f1a775fe18777b.tar.gz core-9758b9aaf0909b94bd8845a694f1a775fe18777b.zip |
sal_Int32 conversion warning
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index c8be512048b0..bd9a726385b8 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -1119,9 +1119,9 @@ void SwView::WriteUserData( String &rUserData, sal_Bool bBrowse ) rUserData += ';'; rUserData += String::CreateFromInt32( rVis.Top() ); rUserData += ';'; - rUserData += String::CreateFromInt32( bBrowse ? LONG_MIN : rVis.Right()); + rUserData += String::CreateFromInt32( bBrowse ? SAL_MIN_INT32 : rVis.Right()); rUserData += ';'; - rUserData += String::CreateFromInt32( bBrowse ? LONG_MIN : rVis.Bottom()); + rUserData += String::CreateFromInt32( bBrowse ? SAL_MIN_INT32 : rVis.Bottom()); rUserData += ';'; rUserData += String::CreateFromInt32( (sal_uInt16)pWrtShell->GetViewOptions()->GetZoomType());//eZoom; |