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
77366748
Kaydet (Commit)
77366748
authored
Eyl 25, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
String -> OUString
Change-Id: I94eafe01604b30d53d9021458a0a9c57dfc1144a
üst
37a2fa5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
cursor.hxx
starmath/inc/cursor.hxx
+1
-1
parse.hxx
starmath/inc/parse.hxx
+1
-1
cursor.cxx
starmath/source/cursor.cxx
+2
-2
parse.cxx
starmath/source/parse.cxx
+1
-1
No files found.
starmath/inc/cursor.hxx
Dosyayı görüntüle @
77366748
...
...
@@ -155,7 +155,7 @@ public:
* This will work for stuff like "A intersection B". But stuff spaning multiple lines
* or dependent on the context which position is placed in will not work!
*/
void
InsertCommandText
(
String
aCommandText
);
void
InsertCommandText
(
OU
String
aCommandText
);
/** Insert a special node created from aString
*
...
...
starmath/inc/parse.hxx
Dosyayı görüntüle @
77366748
...
...
@@ -263,7 +263,7 @@ public:
/** Parse rBuffer to formula tree */
SmNode
*
Parse
(
const
String
&
rBuffer
);
/** Parse rBuffer to formula subtree that constitutes an expression */
SmNode
*
ParseExpression
(
const
String
&
rBuffer
);
SmNode
*
ParseExpression
(
const
OU
String
&
rBuffer
);
const
String
&
GetText
()
const
{
return
m_aBufferString
;
};
...
...
starmath/source/cursor.cxx
Dosyayı görüntüle @
77366748
...
...
@@ -1156,12 +1156,12 @@ void SmCursor::InsertCommand(sal_uInt16 nCommand) {
InsertLimit
(
CSUP
,
true
);
break
;
default
:
InsertCommandText
(
S
mResId
(
nCommand
));
InsertCommandText
(
S
M_RESSTR
(
nCommand
));
break
;
}
}
void
SmCursor
::
InsertCommandText
(
Xub
String
aCommandText
)
{
void
SmCursor
::
InsertCommandText
(
OU
String
aCommandText
)
{
//Parse the the sub expression
SmNode
*
pSubExpr
=
SmParser
().
ParseExpression
(
aCommandText
);
...
...
starmath/source/parse.cxx
Dosyayı görüntüle @
77366748
...
...
@@ -2452,7 +2452,7 @@ SmNode *SmParser::Parse(const String &rBuffer)
return
result
;
}
SmNode
*
SmParser
::
ParseExpression
(
const
String
&
rBuffer
)
SmNode
*
SmParser
::
ParseExpression
(
const
OU
String
&
rBuffer
)
{
m_aBufferString
=
convertLineEnd
(
rBuffer
,
LINEEND_LF
);
m_nBufferIndex
=
0
;
...
...
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