summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-25 10:08:24 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-25 10:08:24 +0000
commit748c3c314eda2ac67245c9efca9d8c685618a436 (patch)
tree54bf35c8d7aeb850a62675f1715742ee7b1cd739
parenta0d4a785f6bedf5d4c9807ff72996694dccde670 (diff)
INTEGRATION: CWS mingwport04 (1.24.2); FILE MERGED
2007/04/18 12:47:23 vg 1.24.2.1: #i75844# MinGW port efforts part II
-rwxr-xr-xembedserv/source/embed/ed_ipersiststr.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index 15fc4b779284..8f9d79e3ca63 100755
--- a/embedserv/source/embed/ed_ipersiststr.cxx
+++ b/embedserv/source/embed/ed_ipersiststr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ed_ipersiststr.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: vg $ $Date: 2007-03-27 10:00:38 $
+ * last change: $Author: vg $ $Date: 2007-05-25 11:08:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -906,8 +906,7 @@ STDMETHODIMP EmbedDocument_Impl::Save( LPCOLESTR pszFileName, BOOL fRemember )
else
{
util::URL aURL;
- USES_CONVERSION;
- aURL.Complete = ::rtl::OUString( OLE2CW( pszFileName ) );
+ aURL.Complete = ::rtl::OUString( reinterpret_cast<const sal_Unicode*>( pszFileName ) );
::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.util.URLTransformer" ) );
uno::Reference< util::XURLTransformer > aTransformer( m_xFactory->createInstance( aServiceName ),