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
557c0893
Kaydet (Commit)
557c0893
authored
Mar 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
animations: simplify deprecated XTypeProvider.getImplementationId
Change-Id: If677c147011799872cf5da2d148aacceebf5df42
üst
acca15f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
animcore.cxx
animations/source/animcore/animcore.cxx
+1
-10
No files found.
animations/source/animcore/animcore.cxx
Dosyayı görüntüle @
557c0893
...
...
@@ -51,7 +51,6 @@
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/implbase1.hxx>
#include <rtl/uuid.h>
#include <osl/mutex.hxx>
#include <list>
...
...
@@ -295,7 +294,6 @@ private:
// for XTypeProvider
static
Sequence
<
Type
>*
mpTypes
[
12
];
static
Sequence
<
sal_Int8
>*
mpId
[
12
];
// attributes for the XAnimationNode interface implementation
Any
maBegin
,
maDuration
,
maEnd
,
maEndSync
,
maRepeatCount
,
maRepeatDuration
;
...
...
@@ -405,7 +403,6 @@ Any SAL_CALL TimeContainerEnumeration::nextElement()
Sequence
<
Type
>*
AnimationNode
::
mpTypes
[]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
Sequence
<
sal_Int8
>*
AnimationNode
::
mpId
[]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
AnimationNode
::
AnimationNode
(
sal_Int16
nNodeType
)
:
maChangeListener
(
maMutex
),
...
...
@@ -643,10 +640,6 @@ void AnimationNode::initTypeProvider( sal_Int16 nNodeType ) throw()
if
(
!
mpTypes
[
nNodeType
]
)
{
// create id
mpId
[
nNodeType
]
=
new
Sequence
<
sal_Int8
>
(
16
);
rtl_createUuid
(
(
sal_uInt8
*
)
mpId
[
nNodeType
]
->
getArray
(),
0
,
sal_True
);
static
const
sal_Int32
type_numbers
[]
=
{
7
,
// CUSTOM
...
...
@@ -728,9 +721,7 @@ Sequence< Type > AnimationNode::getTypes() throw (RuntimeException, std::excepti
Sequence
<
sal_Int8
>
AnimationNode
::
getImplementationId
()
throw
(
RuntimeException
,
std
::
exception
)
{
if
(
!
mpId
[
mnNodeType
])
initTypeProvider
(
mnNodeType
);
return
*
mpId
[
mnNodeType
];
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
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