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
41b72ada
Kaydet (Commit)
41b72ada
authored
Mar 31, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: no need to handle a null SwDoc in SwDrawModel ctor
Change-Id: I9ac596ade8b42979ee3fc944af878c702a7e223b
üst
17757784
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drawdoc.cxx
sw/source/core/draw/drawdoc.cxx
+5
-5
No files found.
sw/source/core/draw/drawdoc.cxx
Dosyayı görüntüle @
41b72ada
...
...
@@ -59,10 +59,10 @@ SwDrawModel::SwDrawModel(SwDoc *const pDoc)
// use common InitDrawModelAndDocShell which will set the associations as needed,
// including SvxColorTableItem with WhichID SID_COLOR_TABLE
InitDrawModelAndDocShell
(
m_pDoc
?
m_pDoc
->
GetDocShell
()
:
0
,
this
);
InitDrawModelAndDocShell
(
m_pDoc
->
GetDocShell
()
,
this
);
// copy all the default values to the SdrModel
SfxItemPool
*
pSdrPool
=
pDoc
->
GetAttrPool
().
GetSecondaryPool
();
SfxItemPool
*
pSdrPool
=
m_
pDoc
->
GetAttrPool
().
GetSecondaryPool
();
if
(
pSdrPool
)
{
const
sal_uInt16
aWhichRanges
[]
=
...
...
@@ -72,7 +72,7 @@ SwDrawModel::SwDrawModel(SwDoc *const pDoc)
0
};
SfxItemPool
&
rDocPool
=
pDoc
->
GetAttrPool
();
SfxItemPool
&
rDocPool
=
m_
pDoc
->
GetAttrPool
();
sal_uInt16
nEdtWhich
,
nSlotId
;
const
SfxPoolItem
*
pItem
;
for
(
const
sal_uInt16
*
pRangeArr
=
aWhichRanges
;
...
...
@@ -92,10 +92,10 @@ SwDrawModel::SwDrawModel(SwDoc *const pDoc)
}
}
SetForbiddenCharsTable
(
pDoc
->
GetDocumentSettingManager
().
getForbiddenCharacterTable
()
);
SetForbiddenCharsTable
(
m_pDoc
->
GetDocumentSettingManager
().
getForbiddenCharacterTable
()
);
// Implementation for asian compression
SetCharCompressType
(
static_cast
<
sal_uInt16
>
(
pDoc
->
GetDocumentSettingManager
().
getCharacterCompressionType
()));
m_
pDoc
->
GetDocumentSettingManager
().
getCharacterCompressionType
()));
}
// Destructor
...
...
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