summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/gallery1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-03 13:51:27 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:54:44 +0200
commit6f5ffd49378d4e2ae6786fd1bb14258ea7aeea66 (patch)
tree453dbd0058110328576be6041ab5661945b6f039 /svx/source/gallery2/gallery1.cxx
parent892acc2cde181d082820d2e3af5e7f3b8be7964f (diff)
convert include/svx/gallery1.hxx from String to OUString
Change-Id: Ic1ea4f661b4975cb215ae6b4e6e6e068a85d4a07
Diffstat (limited to 'svx/source/gallery2/gallery1.cxx')
-rw-r--r--svx/source/gallery2/gallery1.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index 3d2f9dce3919..b65a988fd784 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -45,7 +45,7 @@ using namespace ::com::sun::star;
// - GalleryThemeEntry -
// ---------------------
-GalleryThemeEntry::GalleryThemeEntry( const INetURLObject& rBaseURL, const String& rName,
+GalleryThemeEntry::GalleryThemeEntry( const INetURLObject& rBaseURL, const OUString& rName,
sal_Bool _bReadOnly, sal_Bool _bNewFile,
sal_uInt32 _nId, sal_Bool _bThemeNameFromResource ) :
nId ( _nId ),
@@ -505,14 +505,14 @@ OUString Gallery::GetThemeName( sal_uIntPtr nThemeId ) const
// ------------------------------------------------------------------------
-sal_Bool Gallery::HasTheme( const String& rThemeName )
+sal_Bool Gallery::HasTheme( const OUString& rThemeName )
{
return( ImplGetThemeEntry( rThemeName ) != NULL );
}
// ------------------------------------------------------------------------
-sal_Bool Gallery::CreateTheme( const String& rThemeName )
+sal_Bool Gallery::CreateTheme( const OUString& rThemeName )
{
sal_Bool bRet = sal_False;
@@ -534,7 +534,7 @@ sal_Bool Gallery::CreateTheme( const String& rThemeName )
// ------------------------------------------------------------------------
-sal_Bool Gallery::RenameTheme( const String& rOldName, const String& rNewName )
+sal_Bool Gallery::RenameTheme( const OUString& rOldName, const OUString& rNewName )
{
GalleryThemeEntry* pThemeEntry = ImplGetThemeEntry( rOldName );
sal_Bool bRet = sal_False;
@@ -563,7 +563,7 @@ sal_Bool Gallery::RenameTheme( const String& rOldName, const String& rNewName )
// ------------------------------------------------------------------------
-sal_Bool Gallery::RemoveTheme( const String& rThemeName )
+sal_Bool Gallery::RemoveTheme( const OUString& rThemeName )
{
GalleryThemeEntry* pThemeEntry = ImplGetThemeEntry( rThemeName );
sal_Bool bRet = sal_False;
@@ -673,7 +673,7 @@ void Gallery::ImplDeleteCachedTheme( GalleryTheme* pTheme )
// ------------------------------------------------------------------------
-GalleryTheme* Gallery::AcquireTheme( const String& rThemeName, SfxListener& rListener )
+GalleryTheme* Gallery::AcquireTheme( const OUString& rThemeName, SfxListener& rListener )
{
GalleryTheme* pTheme = NULL;
GalleryThemeEntry* pThemeEntry = ImplGetThemeEntry( rThemeName );