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
9767f9be
Kaydet (Commit)
9767f9be
authored
Agu 22, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use comphelper::SequenceAsVector
Change-Id: I115b17da8cc246bf1b2502ed53ef00edad70a21d
üst
23712bcb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
BorderHandler.cxx
writerfilter/source/dmapper/BorderHandler.cxx
+2
-7
BorderHandler.hxx
writerfilter/source/dmapper/BorderHandler.hxx
+2
-1
No files found.
writerfilter/source/dmapper/BorderHandler.cxx
Dosyayı görüntüle @
9767f9be
...
@@ -135,7 +135,7 @@ void BorderHandler::lcl_sprm(Sprm & rSprm)
...
@@ -135,7 +135,7 @@ void BorderHandler::lcl_sprm(Sprm & rSprm)
writerfilter
::
Reference
<
Properties
>::
Pointer_t
pProperties
=
rSprm
.
getProps
();
writerfilter
::
Reference
<
Properties
>::
Pointer_t
pProperties
=
rSprm
.
getProps
();
if
(
pProperties
.
get
())
if
(
pProperties
.
get
())
{
{
std
::
v
ector
<
beans
::
PropertyValue
>
aSavedGrabBag
;
comphelper
::
SequenceAsV
ector
<
beans
::
PropertyValue
>
aSavedGrabBag
;
if
(
!
m_aInteropGrabBagName
.
isEmpty
())
if
(
!
m_aInteropGrabBagName
.
isEmpty
())
{
{
aSavedGrabBag
=
m_aInteropGrabBag
;
aSavedGrabBag
=
m_aInteropGrabBag
;
...
@@ -202,12 +202,7 @@ beans::PropertyValue BorderHandler::getInteropGrabBag(const OUString& aName)
...
@@ -202,12 +202,7 @@ beans::PropertyValue BorderHandler::getInteropGrabBag(const OUString& aName)
else
else
aRet
.
Name
=
aName
;
aRet
.
Name
=
aName
;
uno
::
Sequence
<
beans
::
PropertyValue
>
aSeq
(
m_aInteropGrabBag
.
size
());
aRet
.
Value
=
uno
::
makeAny
(
m_aInteropGrabBag
.
getAsConstList
());
beans
::
PropertyValue
*
pSeq
=
aSeq
.
getArray
();
for
(
std
::
vector
<
beans
::
PropertyValue
>::
iterator
i
=
m_aInteropGrabBag
.
begin
();
i
!=
m_aInteropGrabBag
.
end
();
++
i
)
*
pSeq
++
=
*
i
;
aRet
.
Value
=
uno
::
makeAny
(
aSeq
);
return
aRet
;
return
aRet
;
}
}
...
...
writerfilter/source/dmapper/BorderHandler.hxx
Dosyayı görüntüle @
9767f9be
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <com/sun/star/table/BorderLine2.hpp>
#include <com/sun/star/table/BorderLine2.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <comphelper/sequenceasvector.hxx>
namespace
writerfilter
{
namespace
writerfilter
{
namespace
dmapper
namespace
dmapper
...
@@ -57,7 +58,7 @@ private:
...
@@ -57,7 +58,7 @@ private:
bool
m_aFilledLines
[
BORDER_COUNT
];
bool
m_aFilledLines
[
BORDER_COUNT
];
::
com
::
sun
::
star
::
table
::
BorderLine2
m_aBorderLines
[
BORDER_COUNT
];
::
com
::
sun
::
star
::
table
::
BorderLine2
m_aBorderLines
[
BORDER_COUNT
];
OUString
m_aInteropGrabBagName
;
OUString
m_aInteropGrabBagName
;
std
::
v
ector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
comphelper
::
SequenceAsV
ector
<
css
::
beans
::
PropertyValue
>
m_aInteropGrabBag
;
void
appendGrabBag
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
void
appendGrabBag
(
const
OUString
&
aKey
,
const
OUString
&
aValue
);
// Properties
// Properties
...
...
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