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
dbf60189
Kaydet (Commit)
dbf60189
authored
Şub 04, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1266472 Dereference null return value
Change-Id: Ifb7c4da642b254d41bf746725ee9435f6bd1efeb
üst
55a4c5d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
basesh.cxx
sw/source/uibase/shells/basesh.cxx
+8
-5
No files found.
sw/source/uibase/shells/basesh.cxx
Dosyayı görüntüle @
dbf60189
...
...
@@ -140,11 +140,14 @@ namespace
return
pChildWindow
?
static_cast
<
SvxContourDlg
*>
(
pChildWindow
->
GetWindow
())
:
NULL
;
}
SvxIMapDlg
*
GetIMapDlg
(
SwView
&
rView
)
{
SfxChildWindow
*
pWnd
=
rView
.
GetViewFrame
()
->
GetChildWindow
(
SvxIMapDlgChildWindow
::
GetChildWindowId
());
return
pWnd
?
static_cast
<
SvxIMapDlg
*>
(
pWnd
->
GetWindow
())
:
NULL
;
}
}
#define SWIMAPDLG(rView) ( static_cast<SvxIMapDlg*>( rView.GetViewFrame()->GetChildWindow( \
SvxIMapDlgChildWindow::GetChildWindowId() )-> \
GetWindow() ) )
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
frame
;
...
...
@@ -919,7 +922,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
break
;
case
SID_IMAP_EXEC
:
{
SvxIMapDlg
*
pDlg
=
SWIMAPDLG
(
GetView
());
SvxIMapDlg
*
pDlg
=
GetIMapDlg
(
GetView
());
// Check, if the allocation is useful or allowed at all.
if
(
rSh
.
IsFrmSelected
()
&&
...
...
@@ -1460,7 +1463,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
}
else
{
SvxIMapDlg
*
pDlg
=
SWIMAPDLG
(
GetView
());
SvxIMapDlg
*
pDlg
=
GetIMapDlg
(
GetView
());
if
(
pDlg
->
GetEditingObject
()
!=
rSh
.
GetIMapInventor
()
)
lcl_UpdateIMapDlg
(
rSh
);
}
...
...
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