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
d7736838
Kaydet (Commit)
d7736838
authored
Kas 02, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwContentNode
Change-Id: Iecb7cd82d88bd1ee82f074e17319e5ce095e2690
üst
e9c862e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
node.hxx
sw/inc/node.hxx
+4
-4
node.cxx
sw/source/core/docnode/node.cxx
+9
-9
No files found.
sw/inc/node.hxx
Dosyayı görüntüle @
d7736838
...
...
@@ -354,7 +354,7 @@ class SW_DLLPUBLIC SwContentNode: public SwModify, public SwNode, public SwIndex
{
//FEATURE::CONDCOLL
SwDepend
*
pCondColl
;
SwDepend
*
m_
pCondColl
;
//FEATURE::CONDCOLL
mutable
bool
mbSetModifyAtAttr
;
...
...
@@ -717,13 +717,13 @@ inline const SwDoc* SwNode::GetDoc() const
inline
SwFormatColl
*
SwContentNode
::
GetCondFormatColl
()
const
{
return
pCondColl
?
static_cast
<
SwFormatColl
*>
(
pCondColl
->
GetRegisteredIn
())
:
0
;
return
m_pCondColl
?
static_cast
<
SwFormatColl
*>
(
m_
pCondColl
->
GetRegisteredIn
())
:
0
;
}
inline
SwFormatColl
&
SwContentNode
::
GetAnyFormatColl
()
const
{
return
pCondColl
&&
pCondColl
->
GetRegisteredIn
()
?
*
static_cast
<
SwFormatColl
*>
(
pCondColl
->
GetRegisteredIn
())
return
m_pCondColl
&&
m_
pCondColl
->
GetRegisteredIn
()
?
*
static_cast
<
SwFormatColl
*>
(
m_
pCondColl
->
GetRegisteredIn
())
:
*
const_cast
<
SwFormatColl
*>
(
static_cast
<
const
SwFormatColl
*>
(
GetRegisteredIn
()));
}
...
...
sw/source/core/docnode/node.cxx
Dosyayı görüntüle @
d7736838
...
...
@@ -995,7 +995,7 @@ SwContentNode::SwContentNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType
SwFormatColl
*
pColl
)
:
SwModify
(
pColl
),
// CrsrsShell, FrameFormat,
SwNode
(
rWhere
,
nNdType
),
pCondColl
(
0
),
m_
pCondColl
(
0
),
mbSetModifyAtAttr
(
false
)
{
}
...
...
@@ -1006,7 +1006,7 @@ SwContentNode::~SwContentNode()
// Thus, we need to delete all Frames in the dependency list.
DelFrms
(
false
);
delete
pCondColl
;
delete
m_
pCondColl
;
if
(
mpAttrSet
.
get
()
&&
mbSetModifyAtAttr
)
const_cast
<
SwAttrSet
*>
(
static_cast
<
const
SwAttrSet
*>
(
mpAttrSet
.
get
()))
->
SetModifyAtAttr
(
0
);
...
...
@@ -1698,7 +1698,7 @@ const SfxPoolItem* SwContentNode::GetNoCondAttr( sal_uInt16 nWhich,
bool
bInParents
)
const
{
const
SfxPoolItem
*
pFnd
=
0
;
if
(
pCondColl
&&
pCondColl
->
GetRegisteredIn
()
)
if
(
m_pCondColl
&&
m_
pCondColl
->
GetRegisteredIn
()
)
{
if
(
!
GetpSwAttrSet
()
||
(
SfxItemState
::
SET
!=
GetpSwAttrSet
()
->
GetItemState
(
nWhich
,
false
,
&
pFnd
)
&&
bInParents
))
...
...
@@ -1782,15 +1782,15 @@ bool SwContentNode::CanJoinPrev( SwNodeIndex* pIdx ) const
//FEATURE::CONDCOLL
void
SwContentNode
::
SetCondFormatColl
(
SwFormatColl
*
pColl
)
{
if
(
(
!
pColl
&&
pCondColl
)
||
(
pColl
&&
!
pCondColl
)
||
(
pColl
&&
pColl
!=
pCondColl
->
GetRegisteredIn
()
)
)
if
(
(
!
pColl
&&
m_pCondColl
)
||
(
pColl
&&
!
m_
pCondColl
)
||
(
pColl
&&
pColl
!=
m_
pCondColl
->
GetRegisteredIn
()
)
)
{
SwFormatColl
*
pOldColl
=
GetCondFormatColl
();
delete
pCondColl
;
delete
m_
pCondColl
;
if
(
pColl
)
pCondColl
=
new
SwDepend
(
this
,
pColl
);
m_
pCondColl
=
new
SwDepend
(
this
,
pColl
);
else
pCondColl
=
0
;
m_
pCondColl
=
0
;
if
(
GetpSwAttrSet
()
)
{
...
...
@@ -1934,7 +1934,7 @@ void SwContentNode::ChkCondColl()
if
(
pCColl
)
SetCondFormatColl
(
pCColl
->
GetTextFormatColl
()
);
else
if
(
pCondColl
)
else
if
(
m_
pCondColl
)
SetCondFormatColl
(
0
);
}
}
...
...
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