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
1bba2b51
Kaydet (Commit)
1bba2b51
authored
Haz 15, 2011
tarafından
Markus Mohrhard
Kaydeden (comit)
Kohei Yoshida
Haz 15, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
give local range names higher priority than global ones
Signed-off-by:
Kohei Yoshida
<
kyoshida@novell.com
>
üst
4044ce2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
compiler.cxx
sc/source/core/tool/compiler.cxx
+5
-6
No files found.
sc/source/core/tool/compiler.cxx
Dosyayı görüntüle @
1bba2b51
...
@@ -2892,18 +2892,17 @@ sal_Bool ScCompiler::IsNamedRange( const String& rUpperName )
...
@@ -2892,18 +2892,17 @@ sal_Bool ScCompiler::IsNamedRange( const String& rUpperName )
{
{
// IsNamedRange is called only from NextNewToken, with an upper-case string
// IsNamedRange is called only from NextNewToken, with an upper-case string
// Try global named ranges first, then sheet local next. BTW does this
// try local names first
// order matter?
bool
bGlobal
=
false
;
bool
bGlobal
=
true
;
ScRangeName
*
pRangeName
=
pDoc
->
GetRangeName
(
aPos
.
Tab
());
ScRangeName
*
pRangeName
=
pDoc
->
GetRangeName
();
const
ScRangeData
*
pData
=
pRangeName
->
findByUpperName
(
rUpperName
);
const
ScRangeData
*
pData
=
pRangeName
->
findByUpperName
(
rUpperName
);
if
(
!
pData
)
if
(
!
pData
)
{
{
pRangeName
=
pDoc
->
GetRangeName
(
aPos
.
Tab
()
);
pRangeName
=
pDoc
->
GetRangeName
();
if
(
pRangeName
)
if
(
pRangeName
)
pData
=
pRangeName
->
findByUpperName
(
rUpperName
);
pData
=
pRangeName
->
findByUpperName
(
rUpperName
);
if
(
pData
)
if
(
pData
)
bGlobal
=
fals
e
;
bGlobal
=
tru
e
;
}
}
if
(
pData
)
if
(
pData
)
...
...
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