summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/colrowba.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-02-27 12:49:22 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-02-27 12:49:22 +0000
commit58e02d0e1419bf8c68959d374b7d0280d529f936 (patch)
tree0033d107d51b5c76d83b1b43f2c959c1989aea95 /sc/source/ui/view/colrowba.cxx
parent502d15f65e06be5e1a11c76b561ed01c066af388 (diff)
INTEGRATION: CWS calcwarnings (1.15.46); FILE MERGED
2007/02/20 15:21:11 nn 1.15.46.2: #i69284# warnings on wntmsci10.pro after resync 2006/12/12 17:03:29 nn 1.15.46.1: #i69284# warning-free: ui, unxlngi6
Diffstat (limited to 'sc/source/ui/view/colrowba.cxx')
-rw-r--r--sc/source/ui/view/colrowba.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx
index a8d7657d52e0..65ae76c7b1fb 100644
--- a/sc/source/ui/view/colrowba.cxx
+++ b/sc/source/ui/view/colrowba.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: colrowba.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: ihi $ $Date: 2006-10-18 12:29:52 $
+ * last change: $Author: vg $ $Date: 2007-02-27 13:49:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -66,7 +66,7 @@ String lcl_MetricString( long nTwips, const String& rText )
{
FieldUnit eUserMet = SC_MOD()->GetAppOptions().GetAppMetric();
- long nUserVal = MetricField::ConvertValue( nTwips*100, 1, 2, FUNIT_TWIP, eUserMet );
+ sal_Int64 nUserVal = MetricField::ConvertValue( nTwips*100, 1, 2, FUNIT_TWIP, eUserMet );
String aStr = rText;
aStr += ' ';
@@ -230,13 +230,13 @@ BOOL ScColBar::ResizeAllowed()
!pViewData->GetDocShell()->IsReadOnly();
}
-void ScColBar::DrawInvert( long nDragPos )
+void ScColBar::DrawInvert( long nDragPosP )
{
- Rectangle aRect( nDragPos,0, nDragPos+HDR_SLIDERSIZE-1,GetOutputSizePixel().Width()-1 );
+ Rectangle aRect( nDragPosP,0, nDragPosP+HDR_SLIDERSIZE-1,GetOutputSizePixel().Width()-1 );
Update();
Invert(aRect);
- pViewData->GetView()->InvertVertical(eWhich,nDragPos);
+ pViewData->GetView()->InvertVertical(eWhich,nDragPosP);
}
String ScColBar::GetDragHelp( long nVal )
@@ -396,13 +396,13 @@ BOOL ScRowBar::ResizeAllowed()
!pViewData->GetDocShell()->IsReadOnly();
}
-void ScRowBar::DrawInvert( long nDragPos )
+void ScRowBar::DrawInvert( long nDragPosP )
{
- Rectangle aRect( 0,nDragPos, GetOutputSizePixel().Width()-1,nDragPos+HDR_SLIDERSIZE-1 );
+ Rectangle aRect( 0,nDragPosP, GetOutputSizePixel().Width()-1,nDragPosP+HDR_SLIDERSIZE-1 );
Update();
Invert(aRect);
- pViewData->GetView()->InvertHorizontal(eWhich,nDragPos);
+ pViewData->GetView()->InvertHorizontal(eWhich,nDragPosP);
}
String ScRowBar::GetDragHelp( long nVal )