Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
acd9cda3
Kaydet (Commit)
acd9cda3
authored
May 16, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
XubString->rtl::OUString
Change-Id: Ic7426d9838bb1034618c3d553482256d1866878f
üst
0e9c60d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
cursor.hxx
starmath/inc/cursor.hxx
+2
-2
cursor.cxx
starmath/source/cursor.cxx
+4
-2
view.cxx
starmath/source/view.cxx
+1
-1
No files found.
starmath/inc/cursor.hxx
Dosyayı görüntüle @
acd9cda3
...
@@ -139,7 +139,7 @@ public:
...
@@ -139,7 +139,7 @@ public:
void
DeletePrev
(
OutputDevice
*
pDev
);
void
DeletePrev
(
OutputDevice
*
pDev
);
/** Insert text at the current position */
/** Insert text at the current position */
void
InsertText
(
Xub
String
aString
);
void
InsertText
(
rtl
::
OU
String
aString
);
/** Insert an element into the formula */
/** Insert an element into the formula */
void
InsertElement
(
SmFormulaElement
element
);
void
InsertElement
(
SmFormulaElement
element
);
...
@@ -166,7 +166,7 @@ public:
...
@@ -166,7 +166,7 @@ public:
* For more complex expressions use InsertCommandText, this method doesn't
* For more complex expressions use InsertCommandText, this method doesn't
* use SmParser, this means that it's faster, but not as strong.
* use SmParser, this means that it's faster, but not as strong.
*/
*/
void
InsertSpecial
(
Xub
String
aString
);
void
InsertSpecial
(
rtl
::
OU
String
aString
);
/** Create sub-/super script
/** Create sub-/super script
*
*
...
...
starmath/source/cursor.cxx
Dosyayı görüntüle @
acd9cda3
...
@@ -981,7 +981,8 @@ void SmCursor::InsertFraction() {
...
@@ -981,7 +981,8 @@ void SmCursor::InsertFraction() {
FinishEdit
(
pLineList
,
pLineParent
,
nParentIndex
,
SmCaretPos
(
pSelectedNode
,
1
));
FinishEdit
(
pLineList
,
pLineParent
,
nParentIndex
,
SmCaretPos
(
pSelectedNode
,
1
));
}
}
void
SmCursor
::
InsertText
(
XubString
aString
){
void
SmCursor
::
InsertText
(
rtl
::
OUString
aString
)
{
BeginEdit
();
BeginEdit
();
Delete
();
Delete
();
...
@@ -1109,7 +1110,8 @@ void SmCursor::InsertElement(SmFormulaElement element){
...
@@ -1109,7 +1110,8 @@ void SmCursor::InsertElement(SmFormulaElement element){
EndEdit
();
EndEdit
();
}
}
void
SmCursor
::
InsertSpecial
(
XubString
aString
)
{
void
SmCursor
::
InsertSpecial
(
rtl
::
OUString
aString
)
{
BeginEdit
();
BeginEdit
();
Delete
();
Delete
();
...
...
starmath/source/view.cxx
Dosyayı görüntüle @
acd9cda3
...
@@ -536,7 +536,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
...
@@ -536,7 +536,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
rCursor
.
MoveAfterBracket
(
pBraceNode
);
rCursor
.
MoveAfterBracket
(
pBraceNode
);
}
else
{
}
else
{
if
(
code
!=
0
){
if
(
code
!=
0
){
rCursor
.
InsertText
(
code
);
rCursor
.
InsertText
(
rtl
::
OUString
(
code
)
);
}
else
if
(
!
(
GetView
()
&&
GetView
()
->
KeyInput
(
rKEvt
))
)
}
else
if
(
!
(
GetView
()
&&
GetView
()
->
KeyInput
(
rKEvt
))
)
ScrollableWindow
::
KeyInput
(
rKEvt
);
ScrollableWindow
::
KeyInput
(
rKEvt
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment