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
f9aa6864
Kaydet (Commit)
f9aa6864
authored
Eki 15, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#81496 crash in calc format page
Change-Id: Ic70f6f605e13a5c95b504f1bf0322e11313a21e7
üst
4aaa4cee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
documen9.cxx
sc/source/core/data/documen9.cxx
+1
-8
itempool.cxx
svl/source/items/itempool.cxx
+4
-1
No files found.
sc/source/core/data/documen9.cxx
Dosyayı görüntüle @
f9aa6864
...
...
@@ -133,7 +133,7 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
sfx2
::
LinkManager
*
pMgr
=
GetDocLinkManager
().
getLinkManager
(
bAutoCalc
);
if
(
pMgr
)
pDrawLayer
->
SetLinkManager
(
pMgr
);
#if 1
//UUUU set DrawingLayer's SfxItemPool at Calc's SfxItemPool as
// secondary pool to support DrawingLayer FillStyle ranges (and similar)
// in SfxItemSets using the Calc SfxItemPool. This is e.g. needed when
...
...
@@ -146,13 +146,9 @@ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
if
(
pLocalPool
)
{
OSL_ENSURE
(
!
pLocalPool
->
GetSecondaryPool
(),
"OOps, already a secondary pool set where the DrawingLayer ItemPool is to be placed (!)"
);
#if 0
// FIXME apparently this is disabled because it breaks tests
pLocalPool
->
SetSecondaryPool
(
&
pDrawLayer
->
GetItemPool
());
#endif
}
}
#endif
// Drawing pages are accessed by table number, so they must also be present
// for preceding table numbers, even if the tables aren't allocated
...
...
@@ -252,10 +248,7 @@ void ScDocument::DeleteDrawLayer()
if
(
pLocalPool
&&
pLocalPool
->
GetSecondaryPool
())
{
#if 0
// FIXME apparently this is disabled because it breaks tests
pLocalPool
->
SetSecondaryPool
(
0
);
#endif
}
}
delete
pDrawLayer
;
...
...
svl/source/items/itempool.cxx
Dosyayı görüntüle @
f9aa6864
...
...
@@ -46,7 +46,10 @@ lcl_CheckSlots2(std::map<sal_uInt16, sal_uInt16> & rSlotMap,
sal_uInt16
const
nSlotId
(
pInfos
[
n
].
_nSID
);
if
(
nSlotId
!=
0
&&
nSlotId
!=
10883
// preexisting duplicate SID_ATTR_GRAF_CROP
&&
nSlotId
!=
10024
)
// preexisting duplicate SID_ATTR_BORDER_OUTER
&&
nSlotId
!=
10023
// preexisting duplicate SID_ATTR_BORDER_INNER
&&
nSlotId
!=
10024
// preexisting duplicate SID_ATTR_BORDER_OUTER
&&
nSlotId
!=
11013
// preexisting duplicate SID_ATTR_BORDER_DIAG_TLBR
&&
nSlotId
!=
11014
)
// preexisting duplicate SID_ATTR_BORDER_DIAG_BLTR
{
// check for duplicate slot-id mapping
std
::
map
<
sal_uInt16
,
sal_uInt16
>::
const_iterator
const
iter
(
rSlotMap
.
find
(
nSlotId
));
...
...
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