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
ae3e7972
Kaydet (Commit)
ae3e7972
authored
Ara 03, 2014
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use C++11 iteration
Change-Id: I78d4184f73a11e0f1ef0a1763d207a9a97ac44ee
üst
7cc956c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
17 deletions
+11
-17
viewsh.cxx
sw/source/core/view/viewsh.cxx
+11
-17
No files found.
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
ae3e7972
...
...
@@ -2032,21 +2032,20 @@ SfxItemPool& SwViewShell::GetAttrPool()
void
SwViewShell
::
ApplyViewOptions
(
const
SwViewOption
&
rOpt
)
{
SwViewShell
*
pSh
=
this
;
do
{
pSh
->
StartAction
();
pSh
=
static_cast
<
SwViewShell
*>
(
pSh
->
GetNext
());
}
while
(
pSh
!=
this
);
for
(
SwViewShell
&
rSh
:
GetRingContainer
())
rSh
.
StartAction
();
ImplApplyViewOptions
(
rOpt
);
// With one layout per view it is not longer necessary
// to sync these "layout related" view options
// But as long as we have to disable "multiple layout"
pSh
=
static_cast
<
SwViewShell
*>
(
this
->
GetNext
());
while
(
pSh
!=
this
)
for
(
SwViewShell
&
rSh
:
GetRingContainer
()
)
{
SwViewOption
aOpt
(
*
pSh
->
GetViewOptions
()
);
if
(
&
rSh
==
this
)
continue
;
SwViewOption
aOpt
(
*
rSh
.
GetViewOptions
()
);
aOpt
.
SetFldName
(
rOpt
.
IsFldName
()
);
aOpt
.
SetShowHiddenField
(
rOpt
.
IsShowHiddenField
()
);
aOpt
.
SetShowHiddenPara
(
rOpt
.
IsShowHiddenPara
()
);
...
...
@@ -2054,18 +2053,13 @@ void SwViewShell::ApplyViewOptions( const SwViewOption &rOpt )
aOpt
.
SetViewLayoutBookMode
(
rOpt
.
IsViewLayoutBookMode
()
);
aOpt
.
SetViewLayoutColumns
(
rOpt
.
GetViewLayoutColumns
()
);
aOpt
.
SetPostIts
(
rOpt
.
IsPostIts
());
if
(
!
(
aOpt
==
*
pSh
->
GetViewOptions
())
)
pSh
->
ImplApplyViewOptions
(
aOpt
);
pSh
=
static_cast
<
SwViewShell
*>
(
pSh
->
GetNext
());
if
(
!
(
aOpt
==
*
rSh
.
GetViewOptions
())
)
rSh
.
ImplApplyViewOptions
(
aOpt
);
}
// End of disabled multiple window
pSh
=
this
;
do
{
pSh
->
EndAction
();
pSh
=
static_cast
<
SwViewShell
*>
(
pSh
->
GetNext
());
}
while
(
pSh
!=
this
);
for
(
SwViewShell
&
rSh
:
GetRingContainer
())
rSh
.
EndAction
();
}
void
SwViewShell
::
ImplApplyViewOptions
(
const
SwViewOption
&
rOpt
)
...
...
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