summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 856ffdca5c83..d42a0f54e1dd 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -239,7 +239,7 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
//! see also SmDocShell::GetEditEngine() !
//!
- pEditEngine->SetDefTab( sal_uInt16( GetTextWidth( C2S("XXXX") ) ) );
+ pEditEngine->SetDefTab(sal_uInt16(GetTextWidth(rtl::OUString("XXXX"))));
SetEditEngineDefaultFonts(*pEditEngineItemPool);
@@ -771,7 +771,7 @@ void SmEditWindow::SelNextMark()
{
ESelection eSelection = pEditView->GetSelection();
sal_uInt16 Pos = eSelection.nEndPos;
- String aMark (C2S("<?>"));
+ rtl::OUString aMark("<?>");
String aText;
sal_uInt16 nCounts = pEditEngine->GetParagraphCount();
@@ -803,7 +803,7 @@ void SmEditWindow::SelPrevMark()
sal_uInt16 Pos = STRING_NOTFOUND;
xub_StrLen Max = eSelection.nStartPos;
String Text( pEditEngine->GetText( eSelection.nStartPara ) );
- String aMark (C2S("<?>"));
+ rtl::OUString aMark("<?>");
sal_uInt16 nCounts = pEditEngine->GetParagraphCount();
do