summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/shell.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:18:24 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:52 +0200
commit676558732b8f77460fd91955f739e4ccc5eb8111 (patch)
tree767d6cf555ed00ef156cf1272eae7380264b4a16 /ucb/source/ucp/file/shell.hxx
parent5d456dc5c6bf733228f0c342be25c8f68513c8cb (diff)
ucb: prefer passing OUString by reference
Change-Id: I1ea8374e39c893c6da6373ccec81d2404c3ee201
Diffstat (limited to 'ucb/source/ucp/file/shell.hxx')
-rw-r--r--ucb/source/ucp/file/shell.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/file/shell.hxx b/ucb/source/ucp/file/shell.hxx
index 8fe5644728bb..dd84d29eca38 100644
--- a/ucb/source/ucp/file/shell.hxx
+++ b/ucb/source/ucp/file/shell.hxx
@@ -298,8 +298,8 @@ namespace fileaccess {
void SAL_CALL
move( sal_Int32 CommandId,
- const OUString srcUnqPath, // Full file(folder)-path
- const OUString dstUnqPath, // Path to the destination-directory
+ const OUString& srcUnqPath, // Full file(folder)-path
+ const OUString& dstUnqPath, // Path to the destination-directory
const sal_Int32 NameClash )
throw();
@@ -309,8 +309,8 @@ namespace fileaccess {
void SAL_CALL
copy( sal_Int32 CommandId, // See "move"
- const OUString srcUnqPath,
- const OUString dstUnqPath,
+ const OUString& srcUnqPath,
+ const OUString& dstUnqPath,
sal_Int32 NameClash )
throw();
@@ -414,8 +414,8 @@ namespace fileaccess {
getContentDeletedEventListeners( const OUString& aName );
std::vector< std::list< ContentEventNotifier* >* >* SAL_CALL
- getContentExchangedEventListeners( const OUString aOldPrefix,
- const OUString aNewPrefix,
+ getContentExchangedEventListeners( const OUString& aOldPrefix,
+ const OUString& aNewPrefix,
sal_Bool withChildren );
std::list< PropertyChangeNotifier* >* SAL_CALL