summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmodel.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 14:20:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 14:20:23 +0000
commit9cf46258f6d939823a046fe30099329c11dd06f0 (patch)
tree04796653e18d8edb29dc03e3439e62d8345ea388 /svx/source/svdraw/svdmodel.cxx
parent6086b56eb502500cb0ad334a937690e8ff4b0592 (diff)
INTEGRATION: CWS chart2mst3 (1.69.2); FILE MERGED
2007/05/14 18:05:00 bm 1.69.2.4: RESYNC: (1.71-1.72); FILE MERGED 2007/02/07 18:53:28 iha 1.69.2.3: RESYNC: (1.69-1.71); FILE MERGED 2006/11/27 17:56:32 bm 1.69.2.2: cast to const int 2006/11/27 13:29:11 bm 1.69.2.1: cast to int to make file compile on OOo Solaris
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index bf577720e7cd..ab5662a1fc44 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svdmodel.cxx,v $
*
- * $Revision: 1.72 $
+ * $Revision: 1.73 $
*
- * last change: $Author: kz $ $Date: 2007-05-10 14:58:00 $
+ * last change: $Author: vg $ $Date: 2007-05-22 15:20:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1309,7 +1309,7 @@ void SdrModel::TakeMetricStr(long nVal, XubString& rStr, FASTBOOL bNoUnitChars,
if(nKomma > nNumDigits)
{
const sal_Int32 nDiff(nKomma - nNumDigits);
- const double fFactor(pow(10.0, (int)nDiff));
+ const double fFactor(pow(10.0, static_cast<const int>(nDiff)));
fLocalValue /= fFactor;
nKomma = nNumDigits;
@@ -1317,7 +1317,7 @@ void SdrModel::TakeMetricStr(long nVal, XubString& rStr, FASTBOOL bNoUnitChars,
else if(nKomma < nNumDigits)
{
const sal_Int32 nDiff(nNumDigits - nKomma);
- const double fFactor(pow(10.0, (int)nDiff));
+ const double fFactor(pow(10.0, static_cast<const int>(nDiff)));
fLocalValue *= fFactor;
nKomma = nNumDigits;