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
e6fd5873
Kaydet (Commit)
e6fd5873
authored
Mar 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#705516 Dereference null return value
Change-Id: I026e543ef2887276f6cd72109038e888f72eafab
üst
532cd8a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docsh2.cxx
sw/source/core/uibase/app/docsh2.cxx
+3
-3
No files found.
sw/source/core/uibase/app/docsh2.cxx
Dosyayı görüntüle @
e6fd5873
...
@@ -160,7 +160,8 @@ void SwDocShell::ToggleBrowserMode(sal_Bool bSet, SwView* _pView )
...
@@ -160,7 +160,8 @@ void SwDocShell::ToggleBrowserMode(sal_Bool bSet, SwView* _pView )
pTempView
->
SetPrinter
(
GetDoc
()
->
getPrinter
(
false
),
SFX_PRINTER_PRINTER
|
SFX_PRINTER_JOBSETUP
);
pTempView
->
SetPrinter
(
GetDoc
()
->
getPrinter
(
false
),
SFX_PRINTER_PRINTER
|
SFX_PRINTER_JOBSETUP
);
GetDoc
()
->
CheckDefaultPageFmt
();
GetDoc
()
->
CheckDefaultPageFmt
();
SfxViewFrame
*
pTmpFrm
=
SfxViewFrame
::
GetFirst
(
this
,
sal_False
);
SfxViewFrame
*
pTmpFrm
=
SfxViewFrame
::
GetFirst
(
this
,
sal_False
);
do
{
while
(
pTmpFrm
)
{
if
(
pTmpFrm
!=
pTempView
->
GetViewFrame
()
)
if
(
pTmpFrm
!=
pTempView
->
GetViewFrame
()
)
{
{
pTmpFrm
->
DoClose
();
pTmpFrm
->
DoClose
();
...
@@ -168,8 +169,7 @@ void SwDocShell::ToggleBrowserMode(sal_Bool bSet, SwView* _pView )
...
@@ -168,8 +169,7 @@ void SwDocShell::ToggleBrowserMode(sal_Bool bSet, SwView* _pView )
}
}
else
else
pTmpFrm
=
pTmpFrm
->
GetNext
(
*
pTmpFrm
,
this
,
sal_False
);
pTmpFrm
=
pTmpFrm
->
GetNext
(
*
pTmpFrm
,
this
,
sal_False
);
}
}
while
(
pTmpFrm
);
const
SwViewOption
&
rViewOptions
=
*
pTempView
->
GetWrtShell
().
GetViewOptions
();
const
SwViewOption
&
rViewOptions
=
*
pTempView
->
GetWrtShell
().
GetViewOptions
();
pTempView
->
GetWrtShell
().
CheckBrowseView
(
sal_True
);
pTempView
->
GetWrtShell
().
CheckBrowseView
(
sal_True
);
pTempView
->
CheckVisArea
();
pTempView
->
CheckVisArea
();
...
...
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