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
9c59cd15
Kaydet (Commit)
9c59cd15
authored
Ock 09, 2012
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use SAL_N_ELEMENTS in slideshow where possible.
üst
8f468159
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
attributemap.cxx
slideshow/source/engine/attributemap.cxx
+1
-1
shapeimporter.cxx
slideshow/source/engine/shapes/shapeimporter.cxx
+2
-2
transitionfactorytab.cxx
slideshow/source/engine/transitions/transitionfactorytab.cxx
+3
-4
No files found.
slideshow/source/engine/attributemap.cxx
Dosyayı görüntüle @
9c59cd15
...
...
@@ -79,7 +79,7 @@ namespace slideshow
};
static
AnimateAttributeMap
aMap
(
lcl_attributeMap
,
sizeof
(
lcl_attributeMap
)
/
sizeof
(
*
lcl_attributeMap
),
SAL_N_ELEMENTS
(
lcl_attributeMap
),
false
);
AttributeType
eAttributeType
=
ATTRIBUTE_INVALID
;
...
...
slideshow/source/engine/shapes/shapeimporter.cxx
Dosyayı görüntüle @
9c59cd15
...
...
@@ -311,7 +311,7 @@ ShapeSharedPtr ShapeImporter::createShape(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.sfx2.PluginObject"
)),
aPropertyValues
,
sizeof
(
aPropertyValues
)
/
sizeof
(
*
aPropertyValues
),
SAL_N_ELEMENTS
(
aPropertyValues
),
mrContext
);
}
else
if
(
shapeType
.
equalsAsciiL
(
...
...
@@ -334,7 +334,7 @@ ShapeSharedPtr ShapeImporter::createShape(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.sfx2.AppletObject"
)),
aPropertyValues
,
sizeof
(
aPropertyValues
)
/
sizeof
(
*
aPropertyValues
),
SAL_N_ELEMENTS
(
aPropertyValues
),
mrContext
);
}
else
if
(
shapeType
.
equalsAsciiL
(
...
...
slideshow/source/engine/transitions/transitionfactorytab.cxx
Dosyayı görüntüle @
9c59cd15
...
...
@@ -2120,9 +2120,8 @@ static const TransitionInfo lcl_transitionInfo[] =
const
TransitionInfo
*
TransitionFactory
::
getTransitionInfo
(
sal_Int16
nTransitionType
,
sal_Int16
nTransitionSubType
)
{
static
const
::
std
::
size_t
lcl_tableSize
(
sizeof
(
lcl_transitionInfo
)
/
sizeof
(
TransitionInfo
)
);
static
const
TransitionInfo
*
pTableEnd
=
lcl_transitionInfo
+
lcl_tableSize
;
static
const
TransitionInfo
*
pTableEnd
=
lcl_transitionInfo
+
SAL_N_ELEMENTS
(
lcl_transitionInfo
);
const
TransitionInfo
*
pRes
=
::
std
::
find_if
(
lcl_transitionInfo
,
pTableEnd
,
...
...
@@ -2137,7 +2136,7 @@ const TransitionInfo* TransitionFactory::getTransitionInfo(
const
TransitionInfo
*
TransitionFactory
::
getRandomTransitionInfo
()
{
return
lcl_transitionInfo
+
getRandomOrdinal
(
sizeof
(
lcl_transitionInfo
)
/
sizeof
(
T
ransitionInfo
)
SAL_N_ELEMENTS
(
lcl_t
ransitionInfo
)
-
1
/* exclude random transition at end of table */
);
}
...
...
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