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
71f6aab0
Kaydet (Commit)
71f6aab0
authored
Eki 25, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
basic: replace boot::ptr_vector with std::vector
Change-Id: I4967ad8345cd74c39edbea1df513978b62996b90
üst
79a7cf54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
propacc.cxx
basic/source/classes/propacc.cxx
+3
-3
propacc.hxx
basic/source/inc/propacc.hxx
+3
-2
No files found.
basic/source/classes/propacc.cxx
Dosyayı görüntüle @
71f6aab0
...
...
@@ -26,6 +26,7 @@
#include <comphelper/propertysetinfo.hxx>
#include <algorithm>
#include <limits.h>
using
com
::
sun
::
star
::
uno
::
Reference
;
...
...
@@ -178,14 +179,13 @@ void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPrope
css
::
lang
::
WrappedTargetException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
if
(
!
m_aPropVals
.
empty
()
)
if
(
!
m_aPropVals
.
empty
()
)
throw
IllegalArgumentException
();
const
PropertyValue
*
pPropVals
=
rPropertyValues
.
getConstArray
();
for
(
sal_Int32
n
=
0
;
n
<
rPropertyValues
.
getLength
();
++
n
)
{
PropertyValue
*
pPropVal
=
new
PropertyValue
(
pPropVals
[
n
]);
m_aPropVals
.
push_back
(
pPropVal
);
m_aPropVals
.
push_back
(
pPropVals
[
n
]);
}
}
...
...
basic/source/inc/propacc.hxx
Dosyayı görüntüle @
71f6aab0
...
...
@@ -25,9 +25,10 @@
#include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/beans/XPropertyContainer.hpp>
#include <cppuhelper/implbase.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
typedef
::
boost
::
ptr_vector
<
css
::
beans
::
PropertyValue
>
SbPropertyValueArr_Impl
;
#include <vector>
typedef
::
std
::
vector
<
css
::
beans
::
PropertyValue
>
SbPropertyValueArr_Impl
;
typedef
::
cppu
::
WeakImplHelper
<
css
::
beans
::
XPropertySet
,
css
::
beans
::
XPropertyAccess
>
SbPropertyValuesHelper
;
...
...
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