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
1e4b29e1
Kaydet (Commit)
1e4b29e1
authored
Agu 12, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Range-based for-loops.
Change-Id: I6fb0d182dfccb3af42f0bbc60969c72df09b6ce6
üst
87130a4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
17 deletions
+8
-17
layermanager.cxx
slideshow/source/engine/slide/layermanager.cxx
+8
-17
No files found.
slideshow/source/engine/slide/layermanager.cxx
Dosyayı görüntüle @
1e4b29e1
...
@@ -142,28 +142,19 @@ namespace slideshow
...
@@ -142,28 +142,19 @@ namespace slideshow
// for all shapes, though.
// for all shapes, though.
const
bool
bMoreThanOneLayer
(
maLayers
.
size
()
>
1
);
const
bool
bMoreThanOneLayer
(
maLayers
.
size
()
>
1
);
if
(
mnActiveSprites
||
bMoreThanOneLayer
)
if
(
mnActiveSprites
||
bMoreThanOneLayer
)
{
{
// clear all viewlayers, dump everything but the
// clear all viewlayers, dump everything but the
// background layer - this will also remove all shape
// background layer - this will also remove all shape
// sprites
// sprites
std
::
for_each
(
maAllShapes
.
begin
(),
for
(
auto
&
rShape
:
maAllShapes
)
maAllShapes
.
end
(),
rShape
.
first
->
clearAllViewLayers
();
[](
const
LayerShapeMap
::
value_type
&
cp
)
{
cp
.
first
->
clearAllViewLayers
();
}
);
for
(
auto
&
rShape
:
maAllShapes
)
rShape
.
second
.
reset
();
for
(
LayerShapeMap
::
iterator
iShape
(
maAllShapes
.
begin
()),
iEnd
(
maAllShapes
.
end
());
iShape
!=
iEnd
;
++
iShape
)
{
iShape
->
second
.
reset
();
}
if
(
bMoreThanOneLayer
)
if
(
bMoreThanOneLayer
)
maLayers
.
erase
(
maLayers
.
begin
()
+
1
,
maLayers
.
erase
(
maLayers
.
begin
()
+
1
,
maLayers
.
end
());
maLayers
.
end
());
mbLayerAssociationDirty
=
true
;
mbLayerAssociationDirty
=
true
;
}
}
...
...
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