summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:30:49 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:30:49 +0000
commit2890087aad733bb118268e156460c202f6d135f1 (patch)
tree46e7e11d1643f0f1f2de64222d998925bc98d5fe /xmloff
parentb029d44d79a21c4258198c6f2592ecc00b681f06 (diff)
INTEGRATION: CWS ineturl1 (1.9.58); FILE MERGED
2004/09/30 13:46:26 cmc 1.9.58.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/eventimp.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 03efe6c449b2..982d14ab1818 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: eventimp.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2004-07-13 08:08:42 $
+ * last change: $Author: hr $ $Date: 2004-12-13 12:30:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -345,10 +345,12 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, cons
}
else
{
- const UniString aTmp( rImp.GetAbsoluteReference(sValue) );
- UniString aTmp2;
- INetURLObject::translateToInternal( aTmp, aTmp2, INetURLObject::WAS_ENCODED, INetURLObject::DECODE_UNAMBIGUOUS, RTL_TEXTENCODING_UTF8 );
- msBookmark = aTmp2;
+ const rtl::OUString &rTmp =
+ rImp.GetAbsoluteReference(sValue);
+ INetURLObject::translateToInternal( rTmp, msBookmark,
+ INetURLObject::WAS_ENCODED,
+ INetURLObject::DECODE_UNAMBIGUOUS,
+ RTL_TEXTENCODING_UTF8 );
}
}
break;