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
5f904b26
Kaydet (Commit)
5f904b26
authored
Mar 20, 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_pDashLineStyleAttr
Change-Id: Ie99327cf20cf0106aa9f35f959639597fa3ccd30
üst
62820766
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 @
5f904b26
...
...
@@ -143,7 +143,7 @@ struct DocxSdrExport::Impl
std
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
m_pFlyFillAttrList
;
sax_fastparser
::
FastAttributeList
*
m_pFlyWrapAttrList
;
sax_fastparser
::
FastAttributeList
*
m_pBodyPrAttrList
;
s
ax_fastparser
::
FastAttributeList
*
m_pDashLineStyleAttr
;
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
m_pDashLineStyleAttr
;
sal_Int32
m_nId
;
sal_Int32
m_nSeq
;
bool
m_bDMLAndVMLDrawingOpen
;
...
...
@@ -168,7 +168,6 @@ struct DocxSdrExport::Impl
m_bFlyFrameGraphic
(
false
),
m_pFlyWrapAttrList
(
0
),
m_pBodyPrAttrList
(
0
),
m_pDashLineStyleAttr
(
0
),
m_nId
(
0
),
m_nSeq
(
0
),
m_bDMLAndVMLDrawingOpen
(
false
),
...
...
@@ -277,7 +276,7 @@ sax_fastparser::FastAttributeList* DocxSdrExport::getBodyPrAttrList()
return
m_pImpl
->
m_pBodyPrAttrList
;
}
s
ax_fastparser
::
FastAttributeList
*
&
DocxSdrExport
::
getDashLineStyle
()
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
&
DocxSdrExport
::
getDashLineStyle
()
{
return
m_pImpl
->
m_pDashLineStyleAttr
;
}
...
...
@@ -1622,8 +1621,7 @@ void DocxSdrExport::writeVMLTextFrame(sw::Frame* pParentFrame, bool bTextBoxOnly
}
if
(
m_pImpl
->
m_pDashLineStyleAttr
)
{
sax_fastparser
::
XFastAttributeListRef
xDashLineStyleAttr
(
m_pImpl
->
m_pDashLineStyleAttr
);
m_pImpl
->
m_pDashLineStyleAttr
=
NULL
;
sax_fastparser
::
XFastAttributeListRef
xDashLineStyleAttr
(
m_pImpl
->
m_pDashLineStyleAttr
.
release
());
pFS
->
singleElementNS
(
XML_v
,
XML_stroke
,
xDashLineStyleAttr
);
}
pFS
->
startElementNS
(
XML_v
,
XML_textbox
,
xTextboxAttrList
);
...
...
sw/source/filter/ww8/docxsdrexport.hxx
Dosyayı görüntüle @
5f904b26
...
...
@@ -81,7 +81,7 @@ public:
void
setFlyWrapAttrList
(
sax_fastparser
::
FastAttributeList
*
pAttrList
);
/// Attributes of <wps:bodyPr>, used during DML export of text frames.
sax_fastparser
::
FastAttributeList
*
getBodyPrAttrList
();
s
ax_fastparser
::
FastAttributeList
*
&
getDashLineStyle
();
s
td
::
unique_ptr
<
sax_fastparser
::
FastAttributeList
>
&
getDashLineStyle
();
void
startDMLAnchorInline
(
const
SwFrmFmt
*
pFrmFmt
,
const
Size
&
rSize
);
void
endDMLAnchorInline
(
const
SwFrmFmt
*
pFrmFmt
);
...
...
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