diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-27 23:53:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-28 13:53:36 +0100 |
commit | 83f50e3f2118746232f7fe115805ee967c1ffcee (patch) | |
tree | 86f120413cad004a0acb33d9f6894127e13527bb /starmath/source/view.cxx | |
parent | 694e2cbf9da8c0bef6a064d3a12e44c20a693784 (diff) |
ditch slightly suboptimal C2S define
Change-Id: I51abdf8539801f6d93cdc1a21a7e0e1a3d5ef785
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 89e20db05f66..8bf8a55d687a 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1520,7 +1520,7 @@ bool SmViewShell::Insert( SfxMedium& rMedium ) uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); if ( xNameAccess.is() && xNameAccess->getElementNames().getLength() ) { - if ( xNameAccess->hasByName( C2S( "content.xml" ) ) || xNameAccess->hasByName( C2S( "Content.xml" ) )) + if ( xNameAccess->hasByName( rtl::OUString("content.xml") ) || xNameAccess->hasByName( rtl::OUString("Content.xml") )) { // is this a fabulous math package ? Reference<com::sun::star::frame::XModel> xModel(pDoc->GetModel()); @@ -2026,7 +2026,7 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *): SetStatusText(String()); SetWindow(&aGraphic); - SfxShell::SetName(C2S("SmView")); + SfxShell::SetName(rtl::OUString("SmView")); SfxShell::SetUndoManager( &GetDoc()->GetEditEngine().GetUndoManager() ); SetHelpId( HID_SMA_VIEWSHELL_DOCUMENT ); } |