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
aa121a21
Kaydet (Commit)
aa121a21
authored
Nis 29, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1078827 Dereference before null check
Change-Id: I3d8850900e25606c23e2209abe828e2b1e98b38e
üst
9e0e0db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
slideshowimpl.cxx
sd/source/ui/slideshow/slideshowimpl.cxx
+10
-13
No files found.
sd/source/ui/slideshow/slideshowimpl.cxx
Dosyayı görüntüle @
aa121a21
...
...
@@ -969,18 +969,15 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
mpShowWindow
=
VclPtr
<
ShowWindow
>::
Create
(
this
,
mpParentWindow
);
mpShowWindow
->
SetMouseAutoHide
(
!
maPresSettings
.
mbMouseVisible
);
if
(
mpViewShell
)
{
mpViewShell
->
SetActiveWindow
(
mpShowWindow
);
mpShowWindow
->
SetViewShell
(
mpViewShell
);
mpViewShell
->
GetViewShellBase
().
ShowUIControls
(
false
);
// Hide the side panes for in-place presentations.
if
(
!
maPresSettings
.
mbFullScreen
)
mpPaneHider
.
reset
(
new
PaneHider
(
*
mpViewShell
,
this
));
mpViewShell
->
SetActiveWindow
(
mpShowWindow
);
mpShowWindow
->
SetViewShell
(
mpViewShell
);
mpViewShell
->
GetViewShellBase
().
ShowUIControls
(
false
);
// Hide the side panes for in-place presentations.
if
(
!
maPresSettings
.
mbFullScreen
)
mpPaneHider
.
reset
(
new
PaneHider
(
*
mpViewShell
,
this
));
if
(
getViewFrame
()
)
getViewFrame
()
->
SetChildWindow
(
SID_NAVIGATOR
,
maPresSettings
.
mbStartWithNavigator
);
}
if
(
getViewFrame
()
)
getViewFrame
()
->
SetChildWindow
(
SID_NAVIGATOR
,
maPresSettings
.
mbStartWithNavigator
);
// these Slots are forbidden in other views for this document
if
(
mpDocSh
)
...
...
@@ -1003,7 +1000,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
// call resize handler
maPresSize
=
mpParentWindow
->
GetSizePixel
();
if
(
!
maPresSettings
.
mbFullScreen
&&
mpViewShell
)
if
(
!
maPresSettings
.
mbFullScreen
)
{
const
Rectangle
&
aClientRect
=
mpViewShell
->
GetViewShellBase
().
getClientRectangle
();
maPresSize
=
aClientRect
.
GetSize
();
...
...
@@ -1087,7 +1084,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
setActiveXToolbarsVisible
(
false
);
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
OSL_FAIL
(
OString
(
OString
(
"sd::SlideshowImpl::startShow(), "
...
...
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