regards
From 10ef6191861dab201993db7c01e5adf4d12fc415 Mon Sep 17 00:00:00 2001
From: pjacquod <pjacquod@alumni.ethz.ch>
Date: Tue, 16 Nov 2010 00:43:12 +0100
Subject: [PATCH 11/12] RTL_CONSTASCII_USTRINGPARAM components - zipapi
components/package/source/zipapi should be OK now
---
package/source/zipapi/XUnbufferedStream.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/source/zipapi/XUnbufferedStream.cxx
b/package/source/zipapi/XUnbufferedStream.cxx
index de2a69f..35e9dfe 100644
--- a/package/source/zipapi/XUnbufferedStream.cxx
+++ b/package/source/zipapi/XUnbufferedStream.cxx
@@ -301,8 +301,8 @@ sal_Int32 SAL_CALL XUnbufferedStream::readBytes( Sequence< sal_Int8 >& aData, sa
if ( 0 )
{
uno::Reference< lang::XMultiServiceFactory > xFactory =
comphelper::getProcessServiceFactory();
- uno::Reference< ucb::XSimpleFileAccess > xAccess( xFactory->createInstance(
::rtl::OUString::createFromAscii( "com.sun.star.ucb.SimpleFileAccess" ) ), uno::UNO_QUERY );
- uno::Reference< io::XOutputStream > xOut = xAccess->openFileWrite(
::rtl::OUString::createFromAscii( "file:///d:/777/Encrypted/picture" ) );
+ uno::Reference< ucb::XSimpleFileAccess > xAccess(
xFactory->createInstance(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccess")
) ), uno::UNO_QUERY );
+ uno::Reference< io::XOutputStream > xOut =
xAccess->openFileWrite(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"file:///d:/777/Encrypted/picture") ) );
xOut->writeBytes( aData );
xOut->closeOutput();
}
--
1.7.1
Context
- [Libreoffice] [PATCH 06/12] RTL_CONSTASCII_USTRINGPARAM components xpathlib (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.