Kaydet (Commit) acd9cda3 authored tarafından Caolán McNamara's avatar Caolán McNamara

XubString->rtl::OUString

Change-Id: Ic7426d9838bb1034618c3d553482256d1866878f
üst 0e9c60d5
......@@ -139,7 +139,7 @@ public:
void DeletePrev(OutputDevice* pDev);
/** Insert text at the current position */
void InsertText(XubString aString);
void InsertText(rtl::OUString aString);
/** Insert an element into the formula */
void InsertElement(SmFormulaElement element);
......@@ -166,7 +166,7 @@ public:
* For more complex expressions use InsertCommandText, this method doesn't
* use SmParser, this means that it's faster, but not as strong.
*/
void InsertSpecial(XubString aString);
void InsertSpecial(rtl::OUString aString);
/** Create sub-/super script
*
......
......@@ -981,7 +981,8 @@ void SmCursor::InsertFraction() {
FinishEdit(pLineList, pLineParent, nParentIndex, SmCaretPos(pSelectedNode, 1));
}
void SmCursor::InsertText(XubString aString){
void SmCursor::InsertText(rtl::OUString aString)
{
BeginEdit();
Delete();
......@@ -1109,7 +1110,8 @@ void SmCursor::InsertElement(SmFormulaElement element){
EndEdit();
}
void SmCursor::InsertSpecial(XubString aString) {
void SmCursor::InsertSpecial(rtl::OUString aString)
{
BeginEdit();
Delete();
......
......@@ -536,7 +536,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
rCursor.MoveAfterBracket(pBraceNode);
}else{
if(code != 0){
rCursor.InsertText(code);
rCursor.InsertText(rtl::OUString(code));
}else if (! (GetView() && GetView()->KeyInput(rKEvt)) )
ScrollableWindow::KeyInput(rKEvt);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment