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
0b468bab
Kaydet (Commit)
0b468bab
authored
Nis 15, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix 2 "scope of the variable can be reduced"
üst
fd2cb15b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
defaultsoptions.cxx
sc/source/core/tool/defaultsoptions.cxx
+1
-1
formulaopt.cxx
sc/source/core/tool/formulaopt.cxx
+1
-2
No files found.
sc/source/core/tool/defaultsoptions.cxx
Dosyayı görüntüle @
0b468bab
...
@@ -147,7 +147,6 @@ Sequence<OUString> ScDefaultsCfg::GetPropertyNames()
...
@@ -147,7 +147,6 @@ Sequence<OUString> ScDefaultsCfg::GetPropertyNames()
ScDefaultsCfg
::
ScDefaultsCfg
()
:
ScDefaultsCfg
::
ScDefaultsCfg
()
:
ConfigItem
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
CFGPATH_FORMULA
))
)
ConfigItem
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
CFGPATH_FORMULA
))
)
{
{
sal_Int32
nIntVal
=
0
;
OUString
aPrefix
;
OUString
aPrefix
;
Sequence
<
OUString
>
aNames
=
GetPropertyNames
();
Sequence
<
OUString
>
aNames
=
GetPropertyNames
();
...
@@ -156,6 +155,7 @@ ScDefaultsCfg::ScDefaultsCfg() :
...
@@ -156,6 +155,7 @@ ScDefaultsCfg::ScDefaultsCfg() :
OSL_ENSURE
(
aValues
.
getLength
()
==
aNames
.
getLength
(),
"GetProperties failed"
);
OSL_ENSURE
(
aValues
.
getLength
()
==
aNames
.
getLength
(),
"GetProperties failed"
);
if
(
aValues
.
getLength
()
==
aNames
.
getLength
())
if
(
aValues
.
getLength
()
==
aNames
.
getLength
())
{
{
sal_Int32
nIntVal
=
0
;
for
(
int
nProp
=
0
;
nProp
<
aNames
.
getLength
();
nProp
++
)
for
(
int
nProp
=
0
;
nProp
<
aNames
.
getLength
();
nProp
++
)
{
{
OSL_ENSURE
(
pValues
[
nProp
].
hasValue
(),
"property value missing"
);
OSL_ENSURE
(
pValues
[
nProp
].
hasValue
(),
"property value missing"
);
...
...
sc/source/core/tool/formulaopt.cxx
Dosyayı görüntüle @
0b468bab
...
@@ -229,14 +229,13 @@ Sequence<OUString> ScFormulaCfg::GetPropertyNames()
...
@@ -229,14 +229,13 @@ Sequence<OUString> ScFormulaCfg::GetPropertyNames()
ScFormulaCfg
::
ScFormulaCfg
()
:
ScFormulaCfg
::
ScFormulaCfg
()
:
ConfigItem
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
CFGPATH_FORMULA
))
)
ConfigItem
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
CFGPATH_FORMULA
))
)
{
{
sal_Int32
nIntVal
=
0
;
Sequence
<
OUString
>
aNames
=
GetPropertyNames
();
Sequence
<
OUString
>
aNames
=
GetPropertyNames
();
Sequence
<
Any
>
aValues
=
GetProperties
(
aNames
);
Sequence
<
Any
>
aValues
=
GetProperties
(
aNames
);
const
Any
*
pValues
=
aValues
.
getConstArray
();
const
Any
*
pValues
=
aValues
.
getConstArray
();
OSL_ENSURE
(
aValues
.
getLength
()
==
aNames
.
getLength
(),
"GetProperties failed"
);
OSL_ENSURE
(
aValues
.
getLength
()
==
aNames
.
getLength
(),
"GetProperties failed"
);
if
(
aValues
.
getLength
()
==
aNames
.
getLength
())
if
(
aValues
.
getLength
()
==
aNames
.
getLength
())
{
{
sal_Int32
nIntVal
=
0
;
for
(
int
nProp
=
0
;
nProp
<
aNames
.
getLength
();
nProp
++
)
for
(
int
nProp
=
0
;
nProp
<
aNames
.
getLength
();
nProp
++
)
{
{
OSL_ENSURE
(
pValues
[
nProp
].
hasValue
(),
"property value missing"
);
OSL_ENSURE
(
pValues
[
nProp
].
hasValue
(),
"property value missing"
);
...
...
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