[Libreoffice-commits] .: svl/source

Noel Power noelp at kemper.freedesktop.org
Fri Nov 11 03:36:02 PST 2011


 svl/source/fsstor/fsstorage.cxx |    4 ++--
 svl/source/fsstor/fsstorage.hxx |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c437b033748733273c43d071ab42a1863ed80416
Author: Julien Chaffraix <julien.chaffraix at gmail.com>
Date:   Thu Nov 10 07:23:29 2011 -0800

    Removed several String <-> OUString conversion in fsstor.

diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index 2a6e2ca..4c0dcac 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 7d8a144..87430ec 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


More information about the Libreoffice-commits mailing list