summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-05 17:12:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-05 17:29:13 +0200
commit3d4609d944b6bba3a135233054a0c396b29d7679 (patch)
treed1e1de7265da0e94ff4eeef6b34c7da5a29a10d6 /unotools
parentc570e6d5b2c41374daf30ed90cb6de527dfc801b (diff)
Some String -> OUString
...to get rid of having to additionally link some libs against tl from 27c6434fccfec5fb4184c1efa2057595c8716fad "fdo#46808, Replace usage of SpecialConfigManager" again. Change-Id: Ica161a4f0da320858b6a3901a5a6907737c779f4
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/pathoptions.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index 8a56dab924d0..1cd2c54bdf3d 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -815,25 +815,23 @@ void SvtPathOptions::SetWorkPath( const String& rPath )
// -----------------------------------------------------------------------
-String SvtPathOptions::SubstituteVariable( const String& rVar ) const
+OUString SvtPathOptions::SubstituteVariable( const OUString& rVar ) const
{
- String aRet = pImp->SubstVar( rVar );
- return aRet;
+ return pImp->SubstVar( rVar );
}
// -----------------------------------------------------------------------
-String SvtPathOptions::ExpandMacros( const String& rPath ) const
+OUString SvtPathOptions::ExpandMacros( const OUString& rPath ) const
{
return pImp->ExpandMacros( rPath );
}
// -----------------------------------------------------------------------
-String SvtPathOptions::UseVariable( const String& rPath ) const
+OUString SvtPathOptions::UseVariable( const OUString& rPath ) const
{
- String aRet = pImp->UsePathVariables( rPath );
- return aRet;
+ return pImp->UsePathVariables( rPath );
}
// -----------------------------------------------------------------------