summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/formattedcontrol.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 14:55:36 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 14:55:36 +0000
commit72f836f2f36a755d22c009919683d5e460daec83 (patch)
tree3dcfd47eb5557a1dd751680150d6d9db577a3e25 /toolkit/source/controls/formattedcontrol.cxx
parent7af89fe3a54b60c6e54a3cd7cb22dd9066959cd9 (diff)
INTEGRATION: CWS warningfixes02 (1.7.108); FILE MERGED
2006/06/30 11:50:54 sb 1.7.108.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'toolkit/source/controls/formattedcontrol.cxx')
-rw-r--r--toolkit/source/controls/formattedcontrol.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx
index 00aa446bac84..f7ea8d65f9e8 100644
--- a/toolkit/source/controls/formattedcontrol.cxx
+++ b/toolkit/source/controls/formattedcontrol.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: formattedcontrol.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 13:17:02 $
+ * last change: $Author: kz $ $Date: 2006-07-19 15:55:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -117,11 +117,11 @@ namespace toolkit
double dVal = 0;
sal_Int32 nVal = 0;
::rtl::OUString sVal;
- if ( bStreamed = (rValue >>= dVal) )
+ if ( (bStreamed = (rValue >>= dVal)) )
rConvertedValue <<= dVal;
- else if ( bStreamed = (rValue >>= nVal) )
+ else if ( (bStreamed = (rValue >>= nVal)) )
rConvertedValue <<= static_cast<double>(nVal);
- else if ( bStreamed = (rValue >>= sVal) )
+ else if ( (bStreamed = (rValue >>= sVal)) )
rConvertedValue <<= sVal;
if ( bStreamed )