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
3503873c
Kaydet (Commit)
3503873c
authored
Kas 11, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: I04b15122e73c527fbc695687079f6093ebcb5a5f
üst
1bea36dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
SlideTransitionPane.cxx
sd/source/ui/animations/SlideTransitionPane.cxx
+17
-17
SlideTransitionPane.hxx
sd/source/ui/animations/SlideTransitionPane.hxx
+0
-1
No files found.
sd/source/ui/animations/SlideTransitionPane.cxx
Dosyayı görüntüle @
3503873c
...
...
@@ -356,6 +356,23 @@ void lcl_FillSoundListBox(
lcl_AppendSoundToListBox
(
rOutListBox
));
}
/// Returns an offset into the list of transition presets
size_t
getPresetOffset
(
const
sd
::
impl
::
TransitionEffect
&
rEffect
)
{
const
sd
::
TransitionPresetList
&
rPresetList
=
sd
::
TransitionPreset
::
getTransitionPresetList
();
sd
::
TransitionPresetPtr
pFound
;
size_t
nIdx
=
0
;
for
(
auto
aIt
:
rPresetList
)
{
if
(
rEffect
.
operator
==
(
*
aIt
))
break
;
nIdx
++
;
}
return
nIdx
;
}
}
// anonymous namespace
namespace
sd
...
...
@@ -997,23 +1014,6 @@ IMPL_LINK_NOARG_TYPED(SlideTransitionPane, TransitionSelected, ValueSet *, void)
applyToSelectedPages
();
}
/// Returns an offset into the list of transition presets
size_t
SlideTransitionPane
::
getPresetOffset
(
const
impl
::
TransitionEffect
&
rEffect
)
{
const
sd
::
TransitionPresetList
&
rPresetList
=
sd
::
TransitionPreset
::
getTransitionPresetList
();
sd
::
TransitionPresetPtr
pFound
;
size_t
nIdx
=
0
;
for
(
auto
aIt
:
rPresetList
)
{
if
(
rEffect
.
operator
==
(
*
aIt
))
break
;
nIdx
++
;
}
return
nIdx
;
}
/// we use an integer offset into the list of transition presets
void
SlideTransitionPane
::
updateVariants
(
size_t
nPresetOffset
)
{
...
...
sd/source/ui/animations/SlideTransitionPane.hxx
Dosyayı görüntüle @
3503873c
...
...
@@ -71,7 +71,6 @@ private:
void
updateControls
();
void
updateControlState
();
void
updateVariants
(
size_t
nPresetOffset
);
size_t
getPresetOffset
(
const
impl
::
TransitionEffect
&
rEffect
);
void
updateSoundList
();
void
openSoundFileDialog
();
...
...
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