summaryrefslogtreecommitdiff
path: root/include/osl/profile.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-14 15:14:28 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 09:00:07 +0200
commitbd8ce8b959f6147a2175a8ce84fd212151ca05dc (patch)
treefef0085c85c2efd43b54e5dbf332a1b6d2f6bd71 /include/osl/profile.hxx
parentd593f45886cbe6ee9d54af1cf84b11a9004efc61 (diff)
sal,toolkit,unotools: prefer passing OUString by reference
Change-Id: Ie62a59fd9ff3d6f6a34240fd562fbc91a143bf3a
Diffstat (limited to 'include/osl/profile.hxx')
-rw-r--r--include/osl/profile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osl/profile.hxx b/include/osl/profile.hxx
index e2ae14529689..1c1e899337b1 100644
--- a/include/osl/profile.hxx
+++ b/include/osl/profile.hxx
@@ -44,7 +44,7 @@ namespace osl {
/** Open or create a configuration profile.
@return 0 if the profile could not be created, otherwise a handle to the profile.
*/
- Profile(const rtl::OUString strProfileName, oslProfileOption Options = Profile_DEFAULT )
+ Profile(const rtl::OUString & strProfileName, oslProfileOption Options = Profile_DEFAULT )
{
profile = osl_openProfile(strProfileName.pData, Options);
if( ! profile )