summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvruler.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 12:54:47 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 12:54:47 +0000
commitcd0014fa83786c6961871628db651c72580970fd (patch)
tree6bb240cbe99ee0bbd6e62ba5960c7429362a54e6 /sc/source/ui/dbgui/csvruler.cxx
parent099bcecc298c8cecc8ce0daef4aa1fa0d19f036b (diff)
INTEGRATION: CWS calc44 (1.14.134); FILE MERGED
2007/09/06 17:32:29 nn 1.14.134.1: #i77440# OpenOffice++ patches for sc
Diffstat (limited to 'sc/source/ui/dbgui/csvruler.cxx')
-rw-r--r--sc/source/ui/dbgui/csvruler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx
index e3cf8bf530d5..5e9385fa3a28 100644
--- a/sc/source/ui/dbgui/csvruler.cxx
+++ b/sc/source/ui/dbgui/csvruler.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: csvruler.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2007-04-25 14:59:59 $
+ * last change: $Author: hr $ $Date: 2007-09-27 13:54:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -523,7 +523,7 @@ void ScCsvRuler::ImplDrawBackgrDev()
maBackgrDev.SetFillColor();
sal_Int32 nPos;
- sal_Int32 nFirstPos = Max( GetPosFromX( 0 ) - 1L, 0L );
+ sal_Int32 nFirstPos = Max( GetPosFromX( 0 ) - (sal_Int32)(1L), (sal_Int32)(0L) );
sal_Int32 nLastPos = GetPosFromX( GetWidth() );
sal_Int32 nY = (maActiveRect.Top() + maActiveRect.Bottom()) / 2;
for( nPos = nFirstPos; nPos <= nLastPos; ++nPos )