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
dce1b34a
Kaydet (Commit)
dce1b34a
authored
Ara 22, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1426874 bogus Dereference after null check
Change-Id: Icb3ad60a7ec314182e06af179d9d5c3a1f3babcb
üst
02b9ada3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
basesh.cxx
sw/source/uibase/shells/basesh.cxx
+2
-1
No files found.
sw/source/uibase/shells/basesh.cxx
Dosyayı görüntüle @
dce1b34a
...
...
@@ -2260,7 +2260,7 @@ void SwBaseShell::ExecBckCol(SfxRequest& rReq)
const
SfxItemSet
*
pArgs
=
rReq
.
GetArgs
();
sal_uInt16
nSlot
(
rReq
.
GetSlot
());
if
(
!
pArgs
&&
nSlot
!=
SID_BACKGROUND_COLOR
)
if
(
!
pArgs
&&
nSlot
!=
SID_BACKGROUND_COLOR
)
{
return
;
}
...
...
@@ -2314,6 +2314,7 @@ void SwBaseShell::ExecBckCol(SfxRequest& rReq)
case
SID_ATTR_BRUSH
:
case
RES_BACKGROUND
:
{
assert
(
pArgs
&&
"only SID_BACKGROUND_COLOR can have !pArgs, checked at entry"
);
const
SvxBrushItem
&
rNewBrushItem
=
static_cast
<
const
SvxBrushItem
&>
(
pArgs
->
Get
(
GetPool
().
GetWhich
(
nSlot
)));
aBrushItem
=
rNewBrushItem
;
break
;
...
...
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