diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-06 18:11:43 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-07 03:46:21 +0100 |
commit | cc59e69c6f2c95a4434623dfea9ab666de6ebe76 (patch) | |
tree | af2d28a7c336db5583c4d6a54e120c6608939305 /sc/source/ui/docshell/docsh4.cxx | |
parent | 128947050b4506bf1fd57d93fe249c476a184f61 (diff) |
String->OUString in ScDocument and follow up
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index f8875896f4b5..858809bcda24 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1334,8 +1334,8 @@ void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) { ScDocShellModificator aModificator( *this ); - String aNewName = pStyle->GetName(); - String aOldName = aNewName; + rtl::OUString aNewName = pStyle->GetName(); + rtl::OUString aOldName = aNewName; sal_Bool bExtended = rHint.ISA(SfxStyleSheetHintExtended); // Name geaendert? if (bExtended) aOldName = ((SfxStyleSheetHintExtended&)rHint).GetOldName(); @@ -1372,8 +1372,8 @@ void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) { if ( nId == SFX_STYLESHEET_MODIFIED) { - String aNewName = pStyle->GetName(); - String aOldName = aNewName; + rtl::OUString aNewName = pStyle->GetName(); + rtl::OUString aOldName = aNewName; sal_Bool bExtended = rHint.ISA(SfxStyleSheetHintExtended); if (bExtended) aOldName = ((SfxStyleSheetHintExtended&)rHint).GetOldName(); @@ -1504,7 +1504,7 @@ sal_Bool ScDocShell::AdjustPrintZoom( const ScRange& rRange ) return bChange; } -void ScDocShell::PageStyleModified( const String& rStyleName, sal_Bool bApi ) +void ScDocShell::PageStyleModified( const rtl::OUString& rStyleName, sal_Bool bApi ) { ScDocShellModificator aModificator( *this ); |