diff options
author | Julien Chaffraix <julien.chaffraix@gmail.com> | 2011-11-10 07:23:29 -0800 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-11-11 11:35:40 +0000 |
commit | c437b033748733273c43d071ab42a1863ed80416 (patch) | |
tree | d2b2e800645038d8779eca708ee5ac3a4f1b7dcb /svl | |
parent | 70a551308f00e65e82d33c01565d34176f18d004 (diff) |
Removed several String <-> OUString conversion in fsstor.
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/fsstor/fsstorage.cxx | 4 | ||||
-rw-r--r-- | svl/source/fsstor/fsstorage.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index 2a6e2caca288..4c0dcacfcc26 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -180,9 +180,9 @@ FSStorage::~FSStorage() } //----------------------------------------------- -sal_Bool FSStorage::MakeFolderNoUI( const String& rFolder, sal_Bool ) +sal_Bool FSStorage::MakeFolderNoUI( const ::rtl::OUString& rFolder, sal_Bool ) { - INetURLObject aURL( rFolder ); + INetURLObject aURL( rFolder ); ::rtl::OUString aTitle = aURL.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET ); aURL.removeSegment(); ::ucbhelper::Content aParent; diff --git a/svl/source/fsstor/fsstorage.hxx b/svl/source/fsstor/fsstorage.hxx index 7d8a14489453..87430ec21069 100644 --- a/svl/source/fsstor/fsstorage.hxx +++ b/svl/source/fsstor/fsstorage.hxx @@ -75,7 +75,7 @@ public: void CopyContentToStorage_Impl( ::ucbhelper::Content* pContent, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xDest ); - static sal_Bool MakeFolderNoUI( const String& rFolder, sal_Bool bNewOnly ); + static sal_Bool MakeFolderNoUI( const ::rtl::OUString& rFolder, sal_Bool bNewOnly ); //____________________________________________________________________________________________________ // XInterface |