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
f04803ec
Kaydet (Commit)
f04803ec
authored
May 11, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#736863 Dereference before null check
Change-Id: If719ed8411ee65c6b81452434810a21ac1da7e58
üst
dc5c7678
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
num.cxx
sw/source/ui/misc/num.cxx
+2
-2
No files found.
sw/source/ui/misc/num.cxx
Dosyayı görüntüle @
f04803ec
...
@@ -972,14 +972,14 @@ void SwSvxNumBulletTabDialog::PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage)
...
@@ -972,14 +972,14 @@ void SwSvxNumBulletTabDialog::PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage)
aSet
.
Put
(
SfxStringListItem
(
SID_CHAR_FMT_LIST_BOX
,
&
aList
)
)
;
aSet
.
Put
(
SfxStringListItem
(
SID_CHAR_FMT_LIST_BOX
,
&
aList
)
)
;
FieldUnit
eMetric
=
::
GetDfltMetric
(
0
!=
PTR_CAST
(
SwWebDocShell
,
p
DocShell
));
FieldUnit
eMetric
=
::
GetDfltMetric
(
pDocShell
->
ISA
(
SwWeb
DocShell
));
aSet
.
Put
(
SfxAllEnumItem
(
SID_METRIC_ITEM
,
static_cast
<
sal_uInt16
>
(
eMetric
)
)
);
aSet
.
Put
(
SfxAllEnumItem
(
SID_METRIC_ITEM
,
static_cast
<
sal_uInt16
>
(
eMetric
)
)
);
rPage
.
PageCreated
(
aSet
);
rPage
.
PageCreated
(
aSet
);
}
}
else
if
(
nPageId
==
m_nPositionPageId
)
else
if
(
nPageId
==
m_nPositionPageId
)
{
{
SwDocShell
*
pDocShell
=
rWrtSh
.
GetView
().
GetDocShell
();
SwDocShell
*
pDocShell
=
rWrtSh
.
GetView
().
GetDocShell
();
FieldUnit
eMetric
=
::
GetDfltMetric
(
0
!=
PTR_CAST
(
SwWebDocShell
,
p
DocShell
));
FieldUnit
eMetric
=
::
GetDfltMetric
(
pDocShell
->
ISA
(
SwWeb
DocShell
));
SfxAllItemSet
aSet
(
*
(
GetInputSetImpl
()
->
GetPool
()));
SfxAllItemSet
aSet
(
*
(
GetInputSetImpl
()
->
GetPool
()));
aSet
.
Put
(
SfxAllEnumItem
(
SID_METRIC_ITEM
,
static_cast
<
sal_uInt16
>
(
eMetric
))
);
aSet
.
Put
(
SfxAllEnumItem
(
SID_METRIC_ITEM
,
static_cast
<
sal_uInt16
>
(
eMetric
))
);
rPage
.
PageCreated
(
aSet
);
rPage
.
PageCreated
(
aSet
);
...
...
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