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
58f837d2
Kaydet (Commit)
58f837d2
authored
Agu 07, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid unnecessary illegal downcasts from SwFrmFmt to SwSectionFmt
Change-Id: I2ca8d57a09b6f8c6d760b5fb6a3d2f94ad22ada3
üst
ca16ec43
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
section.hxx
sw/inc/section.hxx
+1
-1
ndsect.cxx
sw/source/core/docnode/ndsect.cxx
+2
-3
section.cxx
sw/source/core/docnode/section.cxx
+1
-1
No files found.
sw/inc/section.hxx
Dosyayı görüntüle @
58f837d2
...
...
@@ -291,7 +291,7 @@ class SW_DLLPUBLIC SwSectionFmt
SAL_DLLPRIVATE
void
UpdateParent
();
// Parent has been changed.
protected
:
SwSectionFmt
(
Sw
Section
Fmt
*
pDrvdFrm
,
SwDoc
*
pDoc
);
SwSectionFmt
(
Sw
Frm
Fmt
*
pDrvdFrm
,
SwDoc
*
pDoc
);
virtual
void
Modify
(
const
SfxPoolItem
*
pOld
,
const
SfxPoolItem
*
pNew
)
SAL_OVERRIDE
;
public
:
...
...
sw/source/core/docnode/ndsect.cxx
Dosyayı görüntüle @
58f837d2
...
...
@@ -504,9 +504,8 @@ SwSection* SwDoc::GetCurrSection( const SwPosition& rPos ) const
SwSectionFmt
*
SwDoc
::
MakeSectionFmt
(
SwSectionFmt
*
pDerivedFrom
)
{
if
(
!
pDerivedFrom
)
pDerivedFrom
=
(
SwSectionFmt
*
)
mpDfltFrmFmt
;
SwSectionFmt
*
pNew
=
new
SwSectionFmt
(
pDerivedFrom
,
this
);
SwSectionFmt
*
pNew
=
new
SwSectionFmt
(
pDerivedFrom
==
0
?
mpDfltFrmFmt
:
pDerivedFrom
,
this
);
mpSectionFmtTbl
->
push_back
(
pNew
);
return
pNew
;
}
...
...
sw/source/core/docnode/section.cxx
Dosyayı görüntüle @
58f837d2
...
...
@@ -625,7 +625,7 @@ const SwTOXBase* SwSection::GetTOXBase() const
return
pRet
;
}
SwSectionFmt
::
SwSectionFmt
(
Sw
Section
Fmt
*
pDrvdFrm
,
SwDoc
*
pDoc
)
SwSectionFmt
::
SwSectionFmt
(
Sw
Frm
Fmt
*
pDrvdFrm
,
SwDoc
*
pDoc
)
:
SwFrmFmt
(
pDoc
->
GetAttrPool
(),
OUString
(),
pDrvdFrm
)
{
LockModify
();
...
...
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