diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:12:30 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:12:30 +0000 |
commit | 06539a7d25b848229327a8265efe4ee479d54711 (patch) | |
tree | 06ba4074b9d17ad6bf79e8929d5e82281e7be931 /desktop | |
parent | 3f46cbcfaa607b1524959ea799da027a2aac08ab (diff) |
INTEGRATION: CWS impress23 (1.6.16); FILE MERGED
2004/12/30 09:31:31 dbo 1.6.16.1: #i38957# using Any templated ctor instead of makeAny(): testing compilers
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/misc/dp_ucb.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/desktop/source/deployment/misc/dp_ucb.cxx b/desktop/source/deployment/misc/dp_ucb.cxx index f0aef1f2fb35..a67e4b99599c 100644 --- a/desktop/source/deployment/misc/dp_ucb.cxx +++ b/desktop/source/deployment/misc/dp_ucb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dp_ucb.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2004-12-07 10:53:45 $ + * last change: $Author: kz $ $Date: 2005-01-21 17:12:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,11 +144,11 @@ bool create_folder( Reference<XContentCreator> xCreator( parentContent.get(), UNO_QUERY ); if (xCreator.is()) { - Any title( makeAny( ::rtl::Uri::decode( url.copy( slash + 1 ), - rtl_UriDecodeWithCharset, - RTL_TEXTENCODING_UTF8 ) ) ); - - Sequence<ContentInfo> infos( xCreator->queryCreatableContentsInfo() ); + const Any title( ::rtl::Uri::decode( url.copy( slash + 1 ), + rtl_UriDecodeWithCharset, + RTL_TEXTENCODING_UTF8 ) ); + const Sequence<ContentInfo> infos( + xCreator->queryCreatableContentsInfo() ); for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos ) { // look KIND_FOLDER: @@ -205,7 +205,7 @@ bool erase_path( OUString const & url, { try { ucb_content.executeCommand( - OUSTR("delete"), makeAny( true /* delete physically */ ) ); + OUSTR("delete"), Any( true /* delete physically */ ) ); } catch (RuntimeException &) { throw; |