sw/source/core/view/viewsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit da1c96d4cd98876cde8a0ab3ddf3d387646a0ba7
Author: Michael Stahl <mst...@redhat.com>
Date:   Mon Feb 9 15:43:41 2015 +0100

    sw: another LONG_MAX fed into LogicToPixel
    
    Can be reproduced by dragging the zoom slider.
    
    Change-Id: I4d32543370eccbda23d0a1ea449ee124148143d6

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index a893424..7739c92 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1055,7 +1055,7 @@ void SwViewShell::VisPortChgd( const SwRect &rRect)
             SwRect aBoth( VisArea() );
             aBoth.Union( aPrevArea );
             const SwTwips nBottom = aBoth.Bottom();
-            SwTwips nMinLeft = LONG_MAX;
+            SwTwips nMinLeft = SAL_MAX_INT32;
             SwTwips nMaxRight= 0;
 
             const bool bBookMode = GetViewOptions()->IsViewLayoutBookMode();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to