summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlprmap.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-07-25 12:55:54 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-07-25 12:55:54 +0000
commitf8f187c2bf9e8f0b7beca323d83919414d4d8681 (patch)
tree59bcffb0397cb8788b90c2d70717540994afd927 /xmloff/source/style/xmlprmap.cxx
parent6079de137357cc0fa6bb61ed4cdfcec38701e392 (diff)
#86004# strings now constructed with length
Diffstat (limited to 'xmloff/source/style/xmlprmap.cxx')
-rw-r--r--xmloff/source/style/xmlprmap.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index 1881eec41ffa..64c45f50b0cc 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlprmap.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:18 $
+ * last change: $Author: dvo $ $Date: 2001-07-25 13:55:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,7 +106,8 @@ XMLPropertySetMapperEntry_Impl::XMLPropertySetMapperEntry_Impl(
const XMLPropertyMapEntry& rMapEntry,
const UniReference< XMLPropertyHandlerFactory >& rFactory ) :
sXMLAttributeName( GetXMLToken(rMapEntry.meXMLName) ),
- sAPIPropertyName( OUString::createFromAscii(rMapEntry.msApiName) ),
+ sAPIPropertyName( OUString(rMapEntry.msApiName, rMapEntry.nApiNameLength,
+ RTL_TEXTENCODING_ASCII_US ) ),
nXMLNameSpace( rMapEntry.mnNameSpace ),
nType( rMapEntry.mnType ),
nContextId( rMapEntry.mnContextId ),