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
5b55db59
Kaydet (Commit)
5b55db59
authored
Mar 19, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DocxSdrExport::Impl: use std::unique_ptr for m_pFlyFillAttrList
Change-Id: I134f375f3785beb05f320be67990d3b2d572d46f
üst
4d2de581
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
docxsdrexport.cxx
sw/source/filter/ww8/docxsdrexport.cxx
+3
-5
docxsdrexport.hxx
sw/source/filter/ww8/docxsdrexport.hxx
+1
-1
No files found.
sw/source/filter/ww8/docxsdrexport.cxx
Dosyayı görüntüle @
5b55db59
...
...
@@ -140,7 +140,7 @@ struct DocxSdrExport::Impl
bool
m_bParagraphSdtOpen
;
bool
m_bParagraphHasDrawing
;
///Flag for checking drawing in a paragraph.
bool
m_bFlyFrameGraphic
;
s
ax_fastparser
::
FastAttributeList
*
m_pFlyFillAttrList
;
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
m_pFlyFillAttrList
;
sax_fastparser
::
FastAttributeList
*
m_pFlyWrapAttrList
;
sax_fastparser
::
FastAttributeList
*
m_pBodyPrAttrList
;
sax_fastparser
::
FastAttributeList
*
m_pDashLineStyleAttr
;
...
...
@@ -166,7 +166,6 @@ struct DocxSdrExport::Impl
m_bParagraphSdtOpen
(
false
),
m_bParagraphHasDrawing
(
false
),
m_bFlyFrameGraphic
(
false
),
m_pFlyFillAttrList
(
0
),
m_pFlyWrapAttrList
(
0
),
m_pBodyPrAttrList
(
0
),
m_pDashLineStyleAttr
(
0
),
...
...
@@ -263,7 +262,7 @@ void DocxSdrExport::setParagraphHasDrawing(bool bParagraphHasDrawing)
m_pImpl
->
m_bParagraphHasDrawing
=
bParagraphHasDrawing
;
}
s
ax_fastparser
::
FastAttributeList
*
&
DocxSdrExport
::
getFlyFillAttrList
()
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
&
DocxSdrExport
::
getFlyFillAttrList
()
{
return
m_pImpl
->
m_pFlyFillAttrList
;
}
...
...
@@ -1618,8 +1617,7 @@ void DocxSdrExport::writeVMLTextFrame(sw::Frame* pParentFrame, bool bTextBoxOnly
m_pImpl
->
textFrameShadow
(
rFrmFmt
);
if
(
m_pImpl
->
m_pFlyFillAttrList
)
{
sax_fastparser
::
XFastAttributeListRef
xFlyFillAttrList
(
m_pImpl
->
m_pFlyFillAttrList
);
m_pImpl
->
m_pFlyFillAttrList
=
NULL
;
sax_fastparser
::
XFastAttributeListRef
xFlyFillAttrList
(
m_pImpl
->
m_pFlyFillAttrList
.
release
());
pFS
->
singleElementNS
(
XML_v
,
XML_fill
,
xFlyFillAttrList
);
}
if
(
m_pImpl
->
m_pDashLineStyleAttr
)
...
...
sw/source/filter/ww8/docxsdrexport.hxx
Dosyayı görüntüle @
5b55db59
...
...
@@ -76,7 +76,7 @@ public:
bool
IsDMLAndVMLDrawingOpen
();
bool
IsParagraphHasDrawing
();
void
setParagraphHasDrawing
(
bool
bParagraphHasDrawing
);
s
ax_fastparser
::
FastAttributeList
*
&
getFlyFillAttrList
();
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
&
getFlyFillAttrList
();
sax_fastparser
::
FastAttributeList
*
getFlyWrapAttrList
();
void
setFlyWrapAttrList
(
sax_fastparser
::
FastAttributeList
*
pAttrList
);
/// Attributes of <wps:bodyPr>, used during DML export of text frames.
...
...
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