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
bb84effb
Kaydet (Commit)
bb84effb
authored
Eki 05, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more fix higher debug level build
Change-Id: Ifc76287f330818d87f52af9186caf787471a94a9
üst
8bf74a9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
calc.hxx
sw/inc/calc.hxx
+1
-1
calc.cxx
sw/source/core/bastyp/calc.cxx
+8
-8
No files found.
sw/inc/calc.hxx
Dosyayı görüntüle @
bb84effb
...
...
@@ -174,7 +174,7 @@ class SwCalc
SwSbxValue
nLastLeft
;
SwSbxValue
nNumberValue
;
SwCalcExp
aErrExpr
;
xub_StrLen
nCommandPos
;
sal_Int32
nCommandPos
;
SwDoc
&
rDoc
;
SvtSysLocale
m_aSysLocale
;
...
...
sw/source/core/bastyp/calc.cxx
Dosyayı görüntüle @
bb84effb
...
...
@@ -657,7 +657,7 @@ SwCalcOper SwCalc::GetToken()
coContFlags
,
aEmptyStr
);
bool
bSetError
=
true
;
xub_StrLen
nRealStt
=
nCommandPos
+
(
xub_StrLen
)
aRes
.
LeadingWhiteSpace
;
sal_Int32
nRealStt
=
nCommandPos
+
aRes
.
LeadingWhiteSpace
;
if
(
aRes
.
TokenType
&
(
KParseType
::
ASC_NUMBER
|
KParseType
::
UNI_NUMBER
)
)
{
nNumberValue
.
PutDouble
(
aRes
.
Value
);
...
...
@@ -675,7 +675,7 @@ SwCalcOper SwCalc::GetToken()
// catch currency symbol
if
(
sLowerCaseName
==
sCurrSym
)
{
nCommandPos
=
(
xub_StrLen
)
aRes
.
EndPos
;
nCommandPos
=
aRes
.
EndPos
;
return
GetToken
();
// call again
}
...
...
@@ -701,7 +701,7 @@ SwCalcOper SwCalc::GetToken()
default
:
break
;
}
nCommandPos
=
(
xub_StrLen
)
aRes
.
EndPos
;
nCommandPos
=
aRes
.
EndPos
;
return
eCurrOper
;
}
aVarName
=
aName
;
...
...
@@ -848,7 +848,7 @@ SwCalcOper SwCalc::GetToken()
eError
=
CALC_SYNTAX
;
eCurrOper
=
CALC_PRINT
;
}
nCommandPos
=
(
xub_StrLen
)
aRes
.
EndPos
;
nCommandPos
=
aRes
.
EndPos
;
};
#if OSL_DEBUG_LEVEL > 1
...
...
@@ -993,17 +993,17 @@ SwCalcOper SwCalc::GetToken()
case
'"'
:
{
xub_StrLen
nStt
=
nCommandPos
;
sal_Int32
nStt
=
nCommandPos
;
while
(
0
!=
(
ch
=
NextCh
(
sCommand
,
nCommandPos
)
)
&&
'"'
!=
ch
)
{
;
}
xub_StrLen
nLen
=
nCommandPos
-
nStt
;
sal_Int32
nLen
=
nCommandPos
-
nStt
;
if
(
'"'
==
ch
)
--
nLen
;
nNumberValue
.
PutString
(
sCommand
.
C
opy
(
nStt
,
nLen
));
nNumberValue
.
PutString
(
sCommand
.
c
opy
(
nStt
,
nLen
));
eCurrOper
=
CALC_NUMBER
;
}
break
;
...
...
@@ -1012,7 +1012,7 @@ SwCalcOper SwCalc::GetToken()
if
(
ch
&&
(
pCharClass
->
isLetter
(
sCommand
,
nCommandPos
-
1
)
||
'_'
==
ch
))
{
xub_StrLen
nStt
=
nCommandPos
-
1
;
sal_Int32
nStt
=
nCommandPos
-
1
;
while
(
0
!=
(
ch
=
NextCh
(
sCommand
,
nCommandPos
))
&&
(
pCharClass
->
isLetterNumeric
(
sCommand
,
nCommandPos
-
1
)
||
ch
==
'_'
||
ch
==
'.'
)
)
...
...
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