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
24c5edc8
Kaydet (Commit)
24c5edc8
authored
Mar 25, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Another one...
Change-Id: Id2ee7d959cd374ce45a36dbd8d8dc8e4e46f9c83
üst
0075402e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
28 deletions
+13
-28
compiler.cxx
sc/source/core/tool/compiler.cxx
+13
-28
No files found.
sc/source/core/tool/compiler.cxx
Dosyayı görüntüle @
24c5edc8
...
@@ -3154,41 +3154,26 @@ bool ScCompiler::IsColRowName( const String& rName )
...
@@ -3154,41 +3154,26 @@ bool ScCompiler::IsColRowName( const String& rName )
else
else
{
{
ScCellIterator
aIter
(
pDoc
,
ScRange
(
aOne
,
aTwo
)
);
ScCellIterator
aIter
(
pDoc
,
ScRange
(
aOne
,
aTwo
)
);
for
(
ScBaseCell
*
pCell
=
aIter
.
GetFirst
();
pCell
;
pCell
=
aIter
.
GetNext
()
)
for
(
bool
bHas
=
aIter
.
first
();
bHas
;
bHas
=
aIter
.
next
()
)
{
{
if
(
bFound
)
if
(
bFound
)
{
// stop if everything else is further away
{
// stop if everything else is further away
if
(
nMax
<
(
long
)
aIter
.
GetPos
().
Col
()
)
if
(
nMax
<
(
long
)
aIter
.
GetPos
().
Col
()
)
break
;
// aIter
break
;
// aIter
}
}
CellType
eType
=
pCell
->
GetCellType
();
CellType
eType
=
aIter
.
getType
();
bool
bOk
=
(
(
eType
==
CELLTYPE_FORMULA
?
bool
bOk
=
false
;
((
ScFormulaCell
*
)
pCell
)
->
GetCode
()
->
GetCodeLen
()
>
0
if
(
eType
==
CELLTYPE_FORMULA
)
&&
((
ScFormulaCell
*
)
pCell
)
->
aPos
!=
aPos
// noIter
:
true
)
);
if
(
bOk
&&
pCell
->
HasStringData
()
)
{
{
String
aStr
;
ScFormulaCell
*
pFC
=
aIter
.
getFormulaCell
();
switch
(
eType
)
bOk
=
(
pFC
->
GetCode
()
->
GetCodeLen
()
>
0
)
&&
(
pFC
->
aPos
!=
aPos
);
{
}
case
CELLTYPE_STRING
:
else
aStr
=
((
ScStringCell
*
)
pCell
)
->
GetString
();
bOk
=
true
;
break
;
case
CELLTYPE_FORMULA
:
if
(
bOk
&&
aIter
.
hasString
())
aStr
=
((
ScFormulaCell
*
)
pCell
)
->
GetString
();
{
break
;
OUString
aStr
=
aIter
.
getString
();
case
CELLTYPE_EDIT
:
aStr
=
((
ScEditCell
*
)
pCell
)
->
GetString
();
break
;
case
CELLTYPE_NONE
:
case
CELLTYPE_VALUE
:
case
CELLTYPE_NOTE
:
#if OSL_DEBUG_LEVEL > 0
case
CELLTYPE_DESTROYED
:
#endif
;
// nothing, prevent compiler warning
break
;
}
if
(
ScGlobal
::
GetpTransliteration
()
->
isEqual
(
aStr
,
aName
)
)
if
(
ScGlobal
::
GetpTransliteration
()
->
isEqual
(
aStr
,
aName
)
)
{
{
SCCOL
nCol
=
aIter
.
GetPos
().
Col
();
SCCOL
nCol
=
aIter
.
GetPos
().
Col
();
...
...
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