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
20abcfcf
Kaydet (Commit)
20abcfcf
authored
Mar 12, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd: PVS-Studio V595 'mpViewShell' pointer could be null
Change-Id: I772aff5997f7630832a07c171cc49ac92908d855
üst
259799f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sdwindow.cxx
sd/source/ui/view/sdwindow.cxx
+5
-1
No files found.
sd/source/ui/view/sdwindow.cxx
Dosyayı görüntüle @
20abcfcf
...
@@ -740,11 +740,15 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt )
...
@@ -740,11 +740,15 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt )
// factor of the frame to always display the whole page.
// factor of the frame to always display the whole page.
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
const
AllSettings
*
pOldSettings
=
rDCEvt
.
GetOldSettings
();
const
AllSettings
&
rNewSettings
=
GetSettings
();
const
AllSettings
&
rNewSettings
=
GetSettings
();
if
(
pOldSettings
)
if
(
pOldSettings
&&
mpViewShell
)
{
if
(
pOldSettings
->
GetStyleSettings
().
GetScreenZoom
()
if
(
pOldSettings
->
GetStyleSettings
().
GetScreenZoom
()
!=
rNewSettings
.
GetStyleSettings
().
GetScreenZoom
())
!=
rNewSettings
.
GetStyleSettings
().
GetScreenZoom
())
{
mpViewShell
->
GetViewFrame
()
->
GetDispatcher
()
->
mpViewShell
->
GetViewFrame
()
->
GetDispatcher
()
->
Execute
(
SID_SIZE_PAGE
,
SfxCallMode
::
ASYNCHRON
|
SfxCallMode
::
RECORD
);
Execute
(
SID_SIZE_PAGE
,
SfxCallMode
::
ASYNCHRON
|
SfxCallMode
::
RECORD
);
}
}
/* Rearrange or initiate Resize for scroll bars since the size of
/* Rearrange or initiate Resize for scroll bars since the size of
the scroll bars my have changed. Within this, inside the resize-
the scroll bars my have changed. Within this, inside the resize-
...
...
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