summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-08-03 11:37:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-08-03 11:37:24 +0000
commit4a4e363d9711dcbdf09439128316a20d812a0814 (patch)
tree8a9e88bad07e876fbeda6bbdc2e548f705d4475d /chart2
parent7968559c25fa59a63971e637fb8fac217b250132 (diff)
INTEGRATION: CWS pj83 (1.5.42); FILE MERGED
2007/08/01 07:20:44 pjanik 1.5.42.1: #i80015#: Make chart2 WaE clean.
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/LabelPositionHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx
index 9bf12aad98d5..dbbe6f1c246e 100644
--- a/chart2/source/view/main/LabelPositionHelper.cxx
+++ b/chart2/source/view/main/LabelPositionHelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: LabelPositionHelper.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2007-05-22 19:24:00 $
+ * last change: $Author: hr $ $Date: 2007-08-03 12:37:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -128,7 +128,7 @@ void lcl_doDynamicFontResize( uno::Any* pAOldAndNewFontHeightAny
, const awt::Size& rOldReferenceSize
, const awt::Size& rNewReferenceSize )
{
- double fOldFontHeight, fNewFontHeight;
+ double fOldFontHeight = 0, fNewFontHeight;
if( pAOldAndNewFontHeightAny && ( *pAOldAndNewFontHeightAny >>= fOldFontHeight ) )
{
fNewFontHeight = RelativeSizeHelper::calculate( fOldFontHeight, rOldReferenceSize, rNewReferenceSize );