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
40c78e72
Kaydet (Commit)
40c78e72
authored
Ock 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#705872 Dereference before null check
Change-Id: Ia964362f757372862b3f2e5a0a9581171616251b
üst
50d5bd90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
PresentationViewShellBase.cxx
sd/source/ui/view/PresentationViewShellBase.cxx
+7
-10
No files found.
sd/source/ui/view/PresentationViewShellBase.cxx
Dosyayı görüntüle @
40c78e72
...
@@ -69,18 +69,15 @@ PresentationViewShellBase::PresentationViewShellBase (
...
@@ -69,18 +69,15 @@ PresentationViewShellBase::PresentationViewShellBase (
:
ViewShellBase
(
_pFrame
,
pOldShell
)
:
ViewShellBase
(
_pFrame
,
pOldShell
)
{
{
// Hide the automatic (non-context sensitive) tool bars.
// Hide the automatic (non-context sensitive) tool bars.
if
(
_pFrame
!=
NULL
)
Reference
<
beans
::
XPropertySet
>
xFrameSet
(
_pFrame
->
GetFrame
().
GetFrameInterface
(),
UNO_QUERY
);
if
(
xFrameSet
.
is
())
{
{
Reference
<
beans
::
XPropertySet
>
xFrameSet
(
Reference
<
beans
::
XPropertySet
>
xLayouterSet
(
xFrameSet
->
getPropertyValue
(
"LayoutManager"
),
UNO_QUERY
);
_pFrame
->
GetFrame
().
GetFrameInterface
(),
if
(
xLayouterSet
.
is
())
UNO_QUERY
);
if
(
xFrameSet
.
is
())
{
{
Reference
<
beans
::
XPropertySet
>
xLayouterSet
(
xFrameSet
->
getPropertyValue
(
"LayoutManager"
),
UNO_QUERY
);
xLayouterSet
->
setPropertyValue
(
"AutomaticToolbars"
,
makeAny
(
sal_False
));
if
(
xLayouterSet
.
is
())
{
xLayouterSet
->
setPropertyValue
(
"AutomaticToolbars"
,
makeAny
(
sal_False
));
}
}
}
}
}
}
}
...
...
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