summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-23 01:53:45 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-23 01:53:45 +0200
commit34ba0a84eb60d4004c1a04948e95c2b3f3e3eef5 (patch)
tree86ffd351a0619516e7ec6ce89df64628824463eb /oox
parent7d7080b02df5e292ba3ceedaf28e3f704d9c1ab2 (diff)
don't use a prefix for double values
Change-Id: Id2af88909281d5367d99ae06b66c70e00e282abf
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5d65f8a8401e..263b9f34a4a3 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -3035,18 +3035,18 @@ void ChartExport::exportTrendlines( Reference< chart2::XDataSeries > xSeries )
assert(false);
}
- double aExtrapolateForward = 0.0;
- double aExtrapolateBackward = 0.0;
+ double fExtrapolateForward = 0.0;
+ double fExtrapolateBackward = 0.0;
- xProperties->getPropertyValue("ExtrapolateForward") >>= aExtrapolateForward;
- xProperties->getPropertyValue("ExtrapolateBackward") >>= aExtrapolateBackward;
+ xProperties->getPropertyValue("ExtrapolateForward") >>= fExtrapolateForward;
+ xProperties->getPropertyValue("ExtrapolateBackward") >>= fExtrapolateBackward;
pFS->singleElement( FSNS( XML_c, XML_forward ),
- XML_val, OString::number(aExtrapolateForward).getStr(),
+ XML_val, OString::number(fExtrapolateForward).getStr(),
FSEND );
pFS->singleElement( FSNS( XML_c, XML_backward ),
- XML_val, OString::number(aExtrapolateBackward).getStr(),
+ XML_val, OString::number(fExtrapolateBackward).getStr(),
FSEND );
bool bForceIntercept = false;
@@ -3054,11 +3054,11 @@ void ChartExport::exportTrendlines( Reference< chart2::XDataSeries > xSeries )
if (bForceIntercept)
{
- double aInterceptValue = 0.0;
- xProperties->getPropertyValue("InterceptValue") >>= aInterceptValue;
+ double fInterceptValue = 0.0;
+ xProperties->getPropertyValue("InterceptValue") >>= fInterceptValue;
pFS->singleElement( FSNS( XML_c, XML_intercept ),
- XML_val, OString::number(aInterceptValue).getStr(),
+ XML_val, OString::number(fInterceptValue).getStr(),
FSEND );
}