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
2a9adf02
Kaydet (Commit)
2a9adf02
authored
Ara 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uno::Sequence->std::vector
Change-Id: Icbbf540e00be3baf222309a00b153cb34879dfd7
üst
cccc9246
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
svgexport.cxx
filter/source/svg/svgexport.cxx
+5
-5
svgfilter.cxx
filter/source/svg/svgfilter.cxx
+1
-1
svgfilter.hxx
filter/source/svg/svgfilter.hxx
+2
-2
No files found.
filter/source/svg/svgexport.cxx
Dosyayı görüntüle @
2a9adf02
...
@@ -578,7 +578,7 @@ bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
...
@@ -578,7 +578,7 @@ bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
if
(
xOStm
.
is
()
)
if
(
xOStm
.
is
()
)
{
{
if
(
mSelectedPages
.
hasElements
()
&&
mMasterPageTargets
.
hasElements
()
)
if
(
mSelectedPages
.
hasElements
()
&&
!
mMasterPageTargets
.
empty
()
)
{
{
Reference
<
XDocumentHandler
>
xDocHandler
(
implCreateExportDocumentHandler
(
xOStm
),
UNO_QUERY
);
Reference
<
XDocumentHandler
>
xDocHandler
(
implCreateExportDocumentHandler
(
xOStm
),
UNO_QUERY
);
...
@@ -599,7 +599,7 @@ bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
...
@@ -599,7 +599,7 @@ bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
implRegisterInterface
(
mSelectedPages
[
i
]
);
implRegisterInterface
(
mSelectedPages
[
i
]
);
// create an id for each master page
// create an id for each master page
for
(
s
al_Int32
i
=
0
;
i
<
mMasterPageTargets
.
getLength
();
++
i
)
for
(
s
ize_t
i
=
0
;
i
<
mMasterPageTargets
.
size
();
++
i
)
implRegisterInterface
(
mMasterPageTargets
[
i
]
);
implRegisterInterface
(
mMasterPageTargets
[
i
]
);
try
try
...
@@ -894,7 +894,7 @@ bool SVGFilter::implExportDocument()
...
@@ -894,7 +894,7 @@ bool SVGFilter::implExportDocument()
// #i124608# export a given object selection, so no MasterPage export at all
// #i124608# export a given object selection, so no MasterPage export at all
if
(
!
mbExportSelection
)
if
(
!
mbExportSelection
)
implExportMasterPages
(
mMasterPageTargets
,
0
,
mMasterPageTargets
.
getLength
()
-
1
);
implExportMasterPages
(
mMasterPageTargets
,
0
,
mMasterPageTargets
.
size
()
-
1
);
implExportDrawPages
(
mSelectedPages
,
0
,
nLastPage
);
implExportDrawPages
(
mSelectedPages
,
0
,
nLastPage
);
if
(
!
mbSinglePage
)
if
(
!
mbSinglePage
)
...
@@ -1478,7 +1478,7 @@ bool SVGFilter::implGetPagePropSet( const Reference< XDrawPage > & rxPage )
...
@@ -1478,7 +1478,7 @@ bool SVGFilter::implGetPagePropSet( const Reference< XDrawPage > & rxPage )
bool
SVGFilter
::
implExportMasterPages
(
const
SVGFilter
::
XDrawPageSequence
&
rxPages
,
bool
SVGFilter
::
implExportMasterPages
(
const
std
::
vector
<
Reference
<
XDrawPage
>
>
&
rxPages
,
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
)
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
)
{
{
DBG_ASSERT
(
nFirstPage
<=
nLastPage
,
DBG_ASSERT
(
nFirstPage
<=
nLastPage
,
...
@@ -1896,7 +1896,7 @@ bool SVGFilter::implCreateObjects()
...
@@ -1896,7 +1896,7 @@ bool SVGFilter::implCreateObjects()
sal_Int32
i
,
nCount
;
sal_Int32
i
,
nCount
;
for
(
i
=
0
,
nCount
=
mMasterPageTargets
.
getLength
();
i
<
nCount
;
++
i
)
for
(
i
=
0
,
nCount
=
mMasterPageTargets
.
size
();
i
<
nCount
;
++
i
)
{
{
const
Reference
<
XDrawPage
>
&
xMasterPage
=
mMasterPageTargets
[
i
];
const
Reference
<
XDrawPage
>
&
xMasterPage
=
mMasterPageTargets
[
i
];
...
...
filter/source/svg/svgfilter.cxx
Dosyayı görüntüle @
2a9adf02
...
@@ -267,7 +267,7 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
...
@@ -267,7 +267,7 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
}
}
}
}
// Later we move them to a uno::Sequence so we can get them by index
// Later we move them to a uno::Sequence so we can get them by index
mMasterPageTargets
.
re
alloc
(
aMasterPageTargetSet
.
size
()
);
mMasterPageTargets
.
re
size
(
aMasterPageTargetSet
.
size
()
);
ObjectSet
::
const_iterator
aElem
=
aMasterPageTargetSet
.
begin
();
ObjectSet
::
const_iterator
aElem
=
aMasterPageTargetSet
.
begin
();
for
(
sal_Int32
i
=
0
;
aElem
!=
aMasterPageTargetSet
.
end
();
++
aElem
,
++
i
)
for
(
sal_Int32
i
=
0
;
aElem
!=
aMasterPageTargetSet
.
end
();
++
aElem
,
++
i
)
{
{
...
...
filter/source/svg/svgfilter.hxx
Dosyayı görüntüle @
2a9adf02
...
@@ -242,7 +242,7 @@ private:
...
@@ -242,7 +242,7 @@ private:
Reference
<
XShapes
>
maShapeSelection
;
Reference
<
XShapes
>
maShapeSelection
;
bool
mbExportSelection
;
bool
mbExportSelection
;
XDrawPageSequence
mSelectedPages
;
XDrawPageSequence
mSelectedPages
;
XDrawPageSequence
mMasterPageTargets
;
std
::
vector
<
Reference
<
XDrawPage
>
>
mMasterPageTargets
;
Link
<
EditFieldInfo
*
,
void
>
maOldFieldHdl
;
Link
<
EditFieldInfo
*
,
void
>
maOldFieldHdl
;
Link
<
EditFieldInfo
*
,
void
>
maNewFieldHdl
;
Link
<
EditFieldInfo
*
,
void
>
maNewFieldHdl
;
...
@@ -263,7 +263,7 @@ private:
...
@@ -263,7 +263,7 @@ private:
bool
implExportDocument
();
bool
implExportDocument
();
bool
implExportAnimations
();
bool
implExportAnimations
();
bool
implExportMasterPages
(
const
XDrawPageSequence
&
rxPages
,
bool
implExportMasterPages
(
const
std
::
vector
<
Reference
<
XDrawPage
>
>
&
rxPages
,
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
);
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
);
bool
implExportDrawPages
(
const
XDrawPageSequence
&
rxPages
,
bool
implExportDrawPages
(
const
XDrawPageSequence
&
rxPages
,
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
);
sal_Int32
nFirstPage
,
sal_Int32
nLastPage
);
...
...
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