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
6796db4c
Kaydet (Commit)
6796db4c
authored
Kas 24, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svl: just make SfxItemPool::GetMasterPool() always available
Change-Id: Id2e35c19bf2efb73e6a0939cccf37c92ca30c0aa
üst
94d2de0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
itempool.hxx
include/svl/itempool.hxx
+0
-2
itempool.cxx
svl/source/items/itempool.cxx
+1
-3
No files found.
include/svl/itempool.hxx
Dosyayı görüntüle @
6796db4c
...
...
@@ -185,9 +185,7 @@ public:
void
SetStoringRange
(
sal_uInt16
nFrom
,
sal_uInt16
nTo
);
void
SetSecondaryPool
(
SfxItemPool
*
pPool
);
SfxItemPool
*
GetSecondaryPool
()
const
;
#ifdef DBG_UTIL
SfxItemPool
*
GetMasterPool
()
const
;
#endif
void
FreezeIdRanges
();
void
Delete
();
...
...
svl/source/items/itempool.cxx
Dosyayı görüntüle @
6796db4c
...
...
@@ -441,7 +441,7 @@ void SfxItemPool::SetSecondaryPool( SfxItemPool *pPool )
// Set Master of new Secondary Pools
DBG_ASSERT
(
!
pPool
||
pPool
->
pImp
->
mpMaster
==
pPool
,
"Secondary is present in two Pools"
);
SfxItemPool
*
pNewMaster
=
pImp
->
mpMaster
?
pImp
->
mpMaster
:
this
;
SfxItemPool
*
pNewMaster
=
GetMasterPool
()
?
pImp
->
mpMaster
:
this
;
for
(
SfxItemPool
*
p
=
pPool
;
p
;
p
=
p
->
pImp
->
mpSecondary
)
p
->
pImp
->
mpMaster
=
pNewMaster
;
...
...
@@ -894,12 +894,10 @@ SfxItemPool* SfxItemPool::GetSecondaryPool() const
return
pImp
->
mpSecondary
;
}
#ifdef DBG_UTIL
SfxItemPool
*
SfxItemPool
::
GetMasterPool
()
const
{
return
pImp
->
mpMaster
;
}
#endif
/**
* This method should be called at the master pool, when all secondary
...
...
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