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
a0bdcc55
Kaydet (Commit)
a0bdcc55
authored
Şub 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix leak
Change-Id: I1c1e861c5608ccd2071baf683f5456c3012a47f6
üst
23979c1d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
16 deletions
+7
-16
lwppara.cxx
lotuswordpro/source/filter/lwppara.cxx
+1
-7
lwppara.hxx
lotuswordpro/source/filter/lwppara.hxx
+2
-0
lwpparaproperty.cxx
lotuswordpro/source/filter/lwpparaproperty.cxx
+4
-6
lwpparaproperty.hxx
lotuswordpro/source/filter/lwpparaproperty.hxx
+0
-3
No files found.
lotuswordpro/source/filter/lwppara.cxx
Dosyayı görüntüle @
a0bdcc55
...
...
@@ -123,17 +123,11 @@ LwpPara::LwpPara(LwpObjectHeader& objHdr, LwpSvStream* pStrm)
LwpPara
::~
LwpPara
()
{
if
(
m_pBreaks
)
{
delete
m_pBreaks
;
m_pBreaks
=
nullptr
;
}
/* if (m_pParaNumbering)
{
delete m_pParaNumbering;
m_pParaNumbering = NULL;
}*/
if
(
m_pBullOver
)
{
...
...
@@ -240,7 +234,7 @@ void LwpPara::Read()
m_Fribs
.
SetPara
(
this
);
// for silver bullet
m_Fribs
.
ReadPara
(
m_pObjStrm
.
get
());
m_pProps
=
LwpParaProperty
::
ReadPropertyList
(
m_pObjStrm
.
get
(),
this
);
ReadPropertyList
(
m_pObjStrm
.
get
()
);
}
void
LwpPara
::
Parse
(
IXFStream
*
pOutputStream
)
...
...
lotuswordpro/source/filter/lwppara.hxx
Dosyayı görüntüle @
a0bdcc55
...
...
@@ -276,6 +276,8 @@ private:
void
AddBreakAfter
(
XFContentContainer
*
pCont
);
void
AddBreakBefore
(
XFContentContainer
*
pCont
);
XFSection
*
CreateXFSection
();
void
ReadPropertyList
(
LwpObjectStream
*
pFile
);
};
inline
LwpSilverBullet
*
LwpPara
::
GetSilverBullet
()
...
...
lotuswordpro/source/filter/lwpparaproperty.cxx
Dosyayı görüntüle @
a0bdcc55
...
...
@@ -62,9 +62,8 @@
#include "lwpobjtags.hxx"
#include "lwppara.hxx"
LwpParaProperty
*
LwpParaProperty
::
ReadPropertyList
(
LwpObjectStream
*
pFile
,
rtl
::
Reference
<
LwpObject
>
const
&
Who
le
)
void
LwpPara
::
ReadPropertyList
(
LwpObjectStream
*
pFi
le
)
{
LwpParaProperty
*
Prop
=
nullptr
;
LwpParaProperty
*
NewProp
=
nullptr
;
for
(;;)
...
...
@@ -112,7 +111,7 @@ LwpParaProperty* LwpParaProperty::ReadPropertyList(LwpObjectStream* pFile,rtl::R
case
TAG_PARA_BULLET
:
NewProp
=
new
LwpParaBulletProperty
(
pFile
);
static_cast
<
LwpPara
*>
(
Whole
.
get
())
->
SetBulletFlag
(
true
);
SetBulletFlag
(
true
);
break
;
case
TAG_PARA_NUMBERING
:
...
...
@@ -131,11 +130,10 @@ LwpParaProperty* LwpParaProperty::ReadPropertyList(LwpObjectStream* pFile,rtl::R
// Stick it at the beginning of the list
if
(
NewProp
)
{
NewProp
->
insert
(
Prop
,
nullptr
);
Prop
=
NewProp
;
NewProp
->
insert
(
m_pProps
,
nullptr
);
m_pProps
=
NewProp
;
}
}
return
Prop
;
}
LwpParaAlignProperty
::
LwpParaAlignProperty
(
LwpObjectStream
*
pFile
)
...
...
lotuswordpro/source/filter/lwpparaproperty.hxx
Dosyayı görüntüle @
a0bdcc55
...
...
@@ -89,9 +89,6 @@ public:
LwpParaProperty
(){}
virtual
sal_uInt32
GetType
()
=
0
;
inline
LwpParaProperty
*
GetNext
();
static
LwpParaProperty
*
ReadPropertyList
(
LwpObjectStream
*
pFile
,
rtl
::
Reference
<
LwpObject
>
const
&
Whole
);
};
inline
LwpParaProperty
*
LwpParaProperty
::
GetNext
()
...
...
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