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
f676e9a6
Kaydet (Commit)
f676e9a6
authored
Kas 25, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tidy up this deref before check code
Change-Id: Icd9ff99616c452bd16ffc3dc8ab0981d75a386a2
üst
2fc4952b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
templdlg.cxx
sfx2/source/dialog/templdlg.cxx
+10
-7
No files found.
sfx2/source/dialog/templdlg.cxx
Dosyayı görüntüle @
f676e9a6
...
@@ -716,14 +716,17 @@ void SfxCommonTemplateDialog_Impl::ReadResource()
...
@@ -716,14 +716,17 @@ void SfxCommonTemplateDialog_Impl::ReadResource()
pCurObjShell
=
pViewFrame
->
GetObjectShell
();
pCurObjShell
=
pViewFrame
->
GetObjectShell
();
pModule
=
pCurObjShell
?
pCurObjShell
->
GetModule
()
:
NULL
;
pModule
=
pCurObjShell
?
pCurObjShell
->
GetModule
()
:
NULL
;
ResMgr
*
pMgr
=
pModule
?
pModule
->
GetResMgr
()
:
NULL
;
ResMgr
*
pMgr
=
pModule
?
pModule
->
GetResMgr
()
:
NULL
;
ResId
aFamId
(
DLG_STYLE_DESIGNER
,
*
pMgr
);
if
(
pMgr
)
aFamId
.
SetRT
(
RSC_SFX_STYLE_FAMILIES
);
{
m_pStyleFamiliesId
=
new
ResId
(
aFamId
.
GetId
(),
*
pMgr
);
ResId
aFamId
(
DLG_STYLE_DESIGNER
,
*
pMgr
);
m_pStyleFamiliesId
->
SetRT
(
RSC_SFX_STYLE_FAMILIES
);
aFamId
.
SetRT
(
RSC_SFX_STYLE_FAMILIES
);
if
(
!
pMgr
||
!
pMgr
->
IsAvailable
(
aFamId
)
)
m_pStyleFamiliesId
=
new
ResId
(
aFamId
.
GetId
(),
*
pMgr
);
m_pStyleFamiliesId
->
SetRT
(
RSC_SFX_STYLE_FAMILIES
);
if
(
pMgr
->
IsAvailable
(
aFamId
))
pStyleFamilies
=
new
SfxStyleFamilies
(
aFamId
);
}
if
(
!
pStyleFamilies
)
pStyleFamilies
=
new
SfxStyleFamilies
;
pStyleFamilies
=
new
SfxStyleFamilies
;
else
pStyleFamilies
=
new
SfxStyleFamilies
(
aFamId
);
nActFilter
=
pCurObjShell
?
static_cast
<
sal_uInt16
>
(
LoadFactoryStyleFilter
(
pCurObjShell
)
)
:
SFXSTYLEBIT_ALL
;
nActFilter
=
pCurObjShell
?
static_cast
<
sal_uInt16
>
(
LoadFactoryStyleFilter
(
pCurObjShell
)
)
:
SFXSTYLEBIT_ALL
;
if
(
pCurObjShell
&&
SFXSTYLEBIT_ALL
==
nActFilter
)
if
(
pCurObjShell
&&
SFXSTYLEBIT_ALL
==
nActFilter
)
...
...
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