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
b73b5750
Kaydet (Commit)
b73b5750
authored
Kas 15, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Pre-quote sheet names to avoid doing it every single time.
Change-Id: Ib103ca22bf59c334945c0462588610899a0acfaa
üst
2c92ee37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
compiler.cxx
sc/source/core/tool/compiler.cxx
+0
-7
tokenstringcontext.cxx
sc/source/core/tool/tokenstringcontext.cxx
+6
-0
No files found.
sc/source/core/tool/compiler.cxx
Dosyayı görüntüle @
b73b5750
...
@@ -734,10 +734,7 @@ struct ConventionOOO_A1 : public Convention_A1
...
@@ -734,10 +734,7 @@ struct ConventionOOO_A1 : public Convention_A1
if
(
static_cast
<
size_t
>
(
nTab
)
>=
rCxt
.
maTabNames
.
size
())
if
(
static_cast
<
size_t
>
(
nTab
)
>=
rCxt
.
maTabNames
.
size
())
aString
=
ScGlobal
::
GetRscString
(
STR_NO_REF_TABLE
);
aString
=
ScGlobal
::
GetRscString
(
STR_NO_REF_TABLE
);
else
else
{
aString
=
rCxt
.
maTabNames
[
nTab
];
aString
=
rCxt
.
maTabNames
[
nTab
];
ScCompiler
::
CheckTabQuotes
(
aString
,
FormulaGrammar
::
CONV_OOO
);
}
aString
+=
"."
;
aString
+=
"."
;
return
aString
;
return
aString
;
}
}
...
@@ -1040,10 +1037,6 @@ struct ConventionXL
...
@@ -1040,10 +1037,6 @@ struct ConventionXL
return
;
return
;
}
}
rTabName
=
rCxt
.
maTabNames
[
aAbs
.
Tab
()];
rTabName
=
rCxt
.
maTabNames
[
aAbs
.
Tab
()];
// XL uses the same sheet name quoting conventions in both modes
// it is safe to use A1 here
ScCompiler
::
CheckTabQuotes
(
rTabName
,
FormulaGrammar
::
CONV_XL_A1
);
}
}
static
void
MakeTabStr
(
OUStringBuffer
&
rBuf
,
static
void
MakeTabStr
(
OUStringBuffer
&
rBuf
,
...
...
sc/source/core/tool/tokenstringcontext.cxx
Dosyayı görüntüle @
b73b5750
...
@@ -27,6 +27,12 @@ TokenStringContext::TokenStringContext( const ScDocument* pDoc, formula::Formula
...
@@ -27,6 +27,12 @@ TokenStringContext::TokenStringContext( const ScDocument* pDoc, formula::Formula
if
(
pDoc
)
if
(
pDoc
)
{
{
maTabNames
=
pDoc
->
GetAllTableNames
();
maTabNames
=
pDoc
->
GetAllTableNames
();
{
std
::
vector
<
OUString
>::
iterator
it
=
maTabNames
.
begin
(),
itEnd
=
maTabNames
.
end
();
for
(;
it
!=
itEnd
;
++
it
)
ScCompiler
::
CheckTabQuotes
(
*
it
,
formula
::
FormulaGrammar
::
extractRefConvention
(
eGram
));
}
const
ScRangeName
*
pNames
=
pDoc
->
GetRangeName
();
const
ScRangeName
*
pNames
=
pDoc
->
GetRangeName
();
if
(
pNames
)
if
(
pNames
)
{
{
...
...
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