diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-22 15:08:50 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-22 15:09:09 +0400 |
commit | 2006bc9d5acc80038577bc295b45fa8dcd8766e2 (patch) | |
tree | 53bfaf3d20123d4c9635ea003d573f23aaca43b6 /starmath/source/view.cxx | |
parent | ff4aca8591efcef92ad17ff86a84b75b598bce05 (diff) |
String -> OUString
Change-Id: I154c856c2813130aae1af611abcc4bcb4f0d1d13
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 2f7e0a7a4baf..880b8dad6ccd 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1414,11 +1414,11 @@ SmEditWindow *SmViewShell::GetEditWindow() } -void SmViewShell::SetStatusText(const String& Text) +void SmViewShell::SetStatusText(const OUString& rText) { RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::SetStatusText" ); - StatusText = Text; + aStatusText = rText; GetViewFrame()->GetBindings().Invalidate(SID_TEXTSTATUS); } @@ -1576,7 +1576,7 @@ void SmViewShell::Execute(SfxRequest& rReq) if (pWin) { GetDoc()->SetText( pWin->GetText() ); - SetStatusText(String()); + SetStatusText(OUString()); ShowError( 0 ); GetDoc()->Repaint(); } @@ -1935,7 +1935,7 @@ void SmViewShell::GetState(SfxItemSet &rSet) case SID_TEXTSTATUS: { - rSet.Put(SfxStringItem(nWh, StatusText)); + rSet.Put(SfxStringItem(nWh, aStatusText)); } break; @@ -1970,7 +1970,7 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *): { RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::SmViewShell" ); - SetStatusText(String()); + SetStatusText(OUString()); SetWindow(&aGraphic); SfxShell::SetName(rtl::OUString("SmView")); SfxShell::SetUndoManager( &GetDoc()->GetEditEngine().GetUndoManager() ); |