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
c5ee4105
Kaydet (Commit)
c5ee4105
authored
Kas 29, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify logic in ScFuncDesc::getFormula
Change-Id: I05fd812d1fd76e57d5305d859b2ad64d471adfb1
üst
418b5df9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
funcdesc.cxx
sc/source/core/data/funcdesc.cxx
+8
-14
No files found.
sc/source/core/data/funcdesc.cxx
Dosyayı görüntüle @
c5ee4105
...
...
@@ -242,23 +242,17 @@ OUString ScFuncDesc::getFormula( const ::std::vector< OUString >& _aArguments )
aFormula
.
append
(
*
pFuncName
);
aFormula
.
appendAscii
(
"("
);
::
std
::
vector
<
OUString
>::
const_iterator
aIter
=
_aArguments
.
begin
();
::
std
::
vector
<
OUString
>::
const_iterator
aEnd
=
_aArguments
.
end
();
if
(
nArgCount
>
0
&&
aIter
!=
aEnd
)
if
(
nArgCount
>
0
&&
!
_aArguments
.
empty
()
&&
!
_aArguments
[
0
].
isEmpty
())
{
bool
bLastArg
=
aIter
->
isEmpty
();
::
std
::
vector
<
OUString
>::
const_iterator
aIter
=
_aArguments
.
begin
();
::
std
::
vector
<
OUString
>::
const_iterator
aEnd
=
_aArguments
.
end
();
while
(
aIter
!=
aEnd
&&
!
bLastArg
)
aFormula
.
append
(
*
aIter
);
++
aIter
;
while
(
aIter
!=
aEnd
&&
!
aIter
->
isEmpty
()
)
{
aFormula
.
append
(
*
(
aIter
)
);
if
(
aIter
!=
(
aEnd
-
1
)
)
{
bLastArg
=
(
aIter
+
1
)
->
isEmpty
();
if
(
!
bLastArg
)
aFormula
.
append
(
sep
);
}
aFormula
.
append
(
sep
);
aFormula
.
append
(
*
aIter
);
++
aIter
;
}
}
...
...
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