summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLConstantsPropertyHandler.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 13:46:54 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 13:46:54 +0000
commit03770d6d492d8b7eba75d53f92670fb7662661f8 (patch)
tree8a34031cc48b77f3d4e0498bbf838bf6d54b836e /xmloff/source/style/XMLConstantsPropertyHandler.cxx
parentd677e48f4355a4cfeb4231169e9443291cc1d1e9 (diff)
INTEGRATION: CWS sb59 (1.4.152); FILE MERGED
2006/08/09 12:53:55 sb 1.4.152.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'xmloff/source/style/XMLConstantsPropertyHandler.cxx')
-rw-r--r--xmloff/source/style/XMLConstantsPropertyHandler.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/xmloff/source/style/XMLConstantsPropertyHandler.cxx b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
index 734ffdd15964..ea3e5d49c8bf 100644
--- a/xmloff/source/style/XMLConstantsPropertyHandler.cxx
+++ b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLConstantsPropertyHandler.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 10:49:04 $
+ * last change: $Author: obo $ $Date: 2006-10-12 14:46:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -75,10 +75,11 @@ XMLConstantsPropertyHandler::~XMLConstantsPropertyHandler()
sal_Bool XMLConstantsPropertyHandler::importXML(
const OUString& rStrImpValue,
Any& rValue,
- const SvXMLUnitConverter& rUnitConverter ) const
+ const SvXMLUnitConverter& ) const
{
sal_uInt16 nEnum;
- sal_Bool bRet = rUnitConverter.convertEnum( nEnum, rStrImpValue, pMap );
+ sal_Bool bRet = SvXMLUnitConverter::convertEnum(
+ nEnum, rStrImpValue, pMap );
if( bRet )
rValue <<= (sal_Int16)nEnum;
@@ -89,7 +90,7 @@ sal_Bool XMLConstantsPropertyHandler::importXML(
sal_Bool XMLConstantsPropertyHandler::exportXML(
OUString& rStrExpValue,
const Any& rValue,
- const SvXMLUnitConverter& rUnitConverter ) const
+ const SvXMLUnitConverter& ) const
{
OUStringBuffer aOut;
@@ -113,7 +114,8 @@ sal_Bool XMLConstantsPropertyHandler::exportXML(
{
sal_uInt16 nConst = static_cast<sal_uInt16>( nEnum );
- bRet = rUnitConverter.convertEnum( aOut, nConst, pMap, eDefault );
+ bRet = SvXMLUnitConverter::convertEnum(
+ aOut, nConst, pMap, eDefault );
rStrExpValue = aOut.makeStringAndClear();
}