diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-03 15:54:21 -0500 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-07-04 09:58:22 +0000 |
commit | 7c136e7ba27382d5f73454bdf5fa78d0b779e0b7 (patch) | |
tree | 2d200cc67d4442e7f87b119905de9b5c522be619 /sot/source/sdstor/stgdir.cxx | |
parent | e2f002c044243ddd79eea7837167a72c82b98599 (diff) |
module sot: String, bool and other clean-up
Change-Id: Ibe2bfdf20c500e9fd98c3baef66d36aa79ca4b52
Reviewed-on: https://gerrit.libreoffice.org/4710
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sot/source/sdstor/stgdir.cxx')
-rw-r--r-- | sot/source/sdstor/stgdir.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx index e79e8f0a880e..e9860b980a78 100644 --- a/sot/source/sdstor/stgdir.cxx +++ b/sot/source/sdstor/stgdir.cxx @@ -977,7 +977,7 @@ void* StgDirStrm::GetEntry( sal_Int32 n, bool bDirty ) // Find a dir entry. -StgDirEntry* StgDirStrm::Find( StgDirEntry& rStg, const String& rName ) +StgDirEntry* StgDirStrm::Find( StgDirEntry& rStg, const OUString& rName ) { if( rStg.pDown ) { @@ -998,8 +998,7 @@ StgDirEntry* StgDirStrm::Find( StgDirEntry& rStg, const String& rName ) // Create a new entry. -StgDirEntry* StgDirStrm::Create - ( StgDirEntry& rStg, const String& rName, StgEntryType eType ) +StgDirEntry* StgDirStrm::Create( StgDirEntry& rStg, const OUString& rName, StgEntryType eType ) { StgEntry aEntry; aEntry.Init(); @@ -1044,7 +1043,7 @@ StgDirEntry* StgDirStrm::Create // Rename the given entry. -bool StgDirStrm::Rename( StgDirEntry& rStg, const String& rOld, const String& rNew ) +bool StgDirStrm::Rename( StgDirEntry& rStg, const OUString& rOld, const OUString& rNew ) { StgDirEntry* p = Find( rStg, rOld ); if( p ) @@ -1067,7 +1066,7 @@ bool StgDirStrm::Rename( StgDirEntry& rStg, const String& rOld, const String& rN // Move the given entry to a different storage. -bool StgDirStrm::Move( StgDirEntry& rStg1, StgDirEntry& rStg2, const String& rName ) +bool StgDirStrm::Move( StgDirEntry& rStg1, StgDirEntry& rStg2, const OUString& rName ) { StgDirEntry* p = Find( rStg1, rName ); if( p ) |