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
ea297dd2
Kaydet (Commit)
ea297dd2
authored
Ara 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use comphelper::containerToSequence()
Change-Id: Ic4d3bcec7bda300bca6911a7472cafafdf12f5bd
üst
2a9adf02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
ListBox.cxx
forms/source/component/ListBox.cxx
+2
-6
vbachartobjects.cxx
sc/source/ui/vba/vbachartobjects.cxx
+2
-5
No files found.
forms/source/component/ListBox.cxx
Dosyayı görüntüle @
ea297dd2
...
...
@@ -44,6 +44,7 @@
#include <comphelper/numbers.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/listenernotification.hxx>
#include <comphelper/sequence.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/formattedcolumnvalue.hxx>
#include <connectivity/dbconversion.hxx>
...
...
@@ -1402,12 +1403,7 @@ namespace frm
}
// copy the indexes to the sequence
aSelectIndexes
.
realloc
(
aSelectionSet
.
size
()
);
::
std
::
copy
(
aSelectionSet
.
begin
(),
aSelectionSet
.
end
(),
aSelectIndexes
.
getArray
()
);
aSelectIndexes
=
comphelper
::
containerToSequence
<
sal_Int16
>
(
aSelectionSet
);
}
break
;
...
...
sc/source/ui/vba/vbachartobjects.cxx
Dosyayı görüntüle @
ea297dd2
...
...
@@ -30,6 +30,7 @@
#include "cellsuno.hxx"
#include <vector>
#include <basic/sberrors.hxx>
#include <comphelper/sequence.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
ooo
::
vba
;
...
...
@@ -115,11 +116,7 @@ ScVbaChartObjects::getChartObjectNames() throw( css::script::BasicErrorException
for
(
sal_Int32
n
=
0
;
n
<
nChartNames
;
n
++
)
aChartNamesVector
.
push_back
(
scurchartnames
[
n
]);
}
sChartNames
.
realloc
(
aChartNamesVector
.
size
()
);
std
::
vector
<
OUString
>
::
const_iterator
it
=
aChartNamesVector
.
begin
();
std
::
vector
<
OUString
>
::
const_iterator
it_end
=
aChartNamesVector
.
end
();
for
(
sal_Int32
index
=
0
;
it
!=
it_end
;
++
it
,
++
index
)
sChartNames
[
index
]
=
*
it
;
sChartNames
=
comphelper
::
containerToSequence
(
aChartNamesVector
);
}
catch
(
uno
::
Exception
&
)
{
...
...
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