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
7eaa311c
Kaydet (Commit)
7eaa311c
authored
Mar 05, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704747 Dereference after null check
Change-Id: I1da494393c3a1a697bf31b00f57b33a03c674872
üst
e59e1884
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
fuchar.cxx
sd/source/ui/func/fuchar.cxx
+7
-6
No files found.
sd/source/ui/func/fuchar.cxx
Dosyayı görüntüle @
7eaa311c
...
@@ -72,13 +72,15 @@ void FuChar::DoExecute( SfxRequest& rReq )
...
@@ -72,13 +72,15 @@ void FuChar::DoExecute( SfxRequest& rReq )
SdAbstractDialogFactory
*
pFact
=
SdAbstractDialogFactory
::
Create
();
SdAbstractDialogFactory
*
pFact
=
SdAbstractDialogFactory
::
Create
();
SfxAbstractTabDialog
*
pDlg
=
pFact
?
pFact
->
CreateSdTabCharDialog
(
NULL
,
&
aNewAttr
,
mpDoc
->
GetDocSh
()
)
:
0
;
SfxAbstractTabDialog
*
pDlg
=
pFact
?
pFact
->
CreateSdTabCharDialog
(
NULL
,
&
aNewAttr
,
mpDoc
->
GetDocSh
()
)
:
0
;
sal_uInt16
nResult
=
RET_CANCEL
;
if
(
pDlg
)
if
(
pDlg
)
{
{
if
(
rReq
.
GetSlot
()
==
SID_CHAR_DLG_EFFECT
)
if
(
rReq
.
GetSlot
()
==
SID_CHAR_DLG_EFFECT
)
{
{
pDlg
->
SetCurPageId
(
RID_SVXPAGE_CHAR_EFFECTS
);
pDlg
->
SetCurPageId
(
RID_SVXPAGE_CHAR_EFFECTS
);
}
}
sal_uInt16
nResult
=
pDlg
->
Execute
();
nResult
=
pDlg
->
Execute
();
if
(
nResult
==
RET_OK
)
if
(
nResult
==
RET_OK
)
{
{
...
@@ -87,11 +89,10 @@ void FuChar::DoExecute( SfxRequest& rReq )
...
@@ -87,11 +89,10 @@ void FuChar::DoExecute( SfxRequest& rReq )
}
}
delete
pDlg
;
delete
pDlg
;
}
if
(
nResult
!=
RET_OK
)
if
(
nResult
!=
RET_OK
)
{
{
return
;
return
;
}
}
}
}
}
mpView
->
SetAttributes
(
*
pArgs
);
mpView
->
SetAttributes
(
*
pArgs
);
...
...
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