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
abb863a3
Kaydet (Commit)
abb863a3
authored
Mar 24, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename IsLastDepend HasOnlyOneListener
Change-Id: Ibb2a3ee596402661f2c593754061deb8c54a2f76
üst
b4531de9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
calbck.hxx
sw/inc/calbck.hxx
+1
-1
tblrwcl.cxx
sw/source/core/doc/tblrwcl.cxx
+1
-1
ddefld.cxx
sw/source/core/fields/ddefld.cxx
+1
-1
ddetbl.cxx
sw/source/core/fields/ddetbl.cxx
+1
-1
colfrm.cxx
sw/source/core/layout/colfrm.cxx
+1
-1
atrfld.cxx
sw/source/core/txtnode/atrfld.cxx
+1
-1
No files found.
sw/inc/calbck.hxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -208,7 +208,7 @@ public:
bool
IsInSwFntCache
()
const
{
return
m_bInSwFntCache
;
}
void
CheckCaching
(
const
sal_uInt16
nWhich
);
bool
IsLastDepend
()
{
return
m_pWriterListeners
&&
m_pWriterListeners
->
IsLast
();
}
bool
HasOnlyOneListener
()
{
return
m_pWriterListeners
&&
m_pWriterListeners
->
IsLast
();
}
};
// SwDepend
...
...
sw/source/core/doc/tblrwcl.cxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -4449,7 +4449,7 @@ void SwShareBoxFmts::ChangeFrmFmt( SwTableBox* pBox, SwTableLine* pLn,
pOld
->
Add
(
&
aCl
);
pLn
->
ChgFrmFmt
(
static_cast
<
SwTableLineFmt
*>
(
&
rFmt
)
);
}
if( pOld && pOld->
IsLastDepend
() )
if
(
pOld
&&
pOld
->
HasOnlyOneListener
()
)
{
RemoveFormat
(
*
pOld
);
delete
pOld
;
...
...
sw/source/core/fields/ddefld.cxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -378,7 +378,7 @@ SwDDEField::SwDDEField( SwDDEFieldType* pInitType )
SwDDEField
::~
SwDDEField
()
{
if
(
GetTyp
()
->
IsLastDepend
()
)
if
(
GetTyp
()
->
HasOnlyOneListener
()
)
static_cast
<
SwDDEFieldType
*>
(
GetTyp
())
->
Disconnect
();
}
...
...
sw/source/core/fields/ddetbl.cxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -71,7 +71,7 @@ SwDDETable::~SwDDETable()
pFldTyp
->
DecRefCnt
();
// If it is the last dependent of the "deleted field" than delete it finally
if
(
pFldTyp
->
IsDeleted
()
&&
pFldTyp
->
IsLastDepend
()
)
if
(
pFldTyp
->
IsDeleted
()
&&
pFldTyp
->
HasOnlyOneListener
()
)
{
pFldTyp
->
Remove
(
&
aDepend
);
delete
pFldTyp
;
...
...
sw/source/core/layout/colfrm.cxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -45,7 +45,7 @@ SwColumnFrm::~SwColumnFrm()
{
SwFrmFmt
*
pFmt
=
GetFmt
();
SwDoc
*
pDoc
;
if
(
!
(
pDoc
=
pFmt
->
GetDoc
())
->
IsInDtor
()
&&
pFmt
->
IsLastDepend
()
)
if
(
!
(
pDoc
=
pFmt
->
GetDoc
())
->
IsInDtor
()
&&
pFmt
->
HasOnlyOneListener
()
)
{
//I'm the only one, delete the format.
//Get default format before, so the base class can cope with it.
...
...
sw/source/core/txtnode/atrfld.cxx
Dosyayı görüntüle @
abb863a3
...
...
@@ -123,7 +123,7 @@ SwFmtFld::~SwFmtFld()
delete
mpField
;
// bei einige FeldTypen muessen wir den FeldTypen noch loeschen
if
(
pType
&&
pType
->
IsLastDepend
()
)
if
(
pType
&&
pType
->
HasOnlyOneListener
()
)
{
bool
bDel
=
false
;
switch
(
pType
->
Which
()
)
...
...
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