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
a5aad2ac
Kaydet (Commit)
a5aad2ac
authored
Mar 04, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
kill XINTERFACE_IMPL_9
Change-Id: I651599cf3ec82a31f3260985907b5b2d56665da3
üst
2ef98b94
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
78 deletions
+104
-78
macros.hxx
include/ucbhelper/macros.hxx
+0
-30
ucb.cxx
ucb/source/core/ucb.cxx
+26
-13
ucbstore.cxx
ucb/source/core/ucbstore.cxx
+26
-13
sortresult.cxx
ucb/source/sorter/sortresult.cxx
+26
-10
resultset.cxx
ucbhelper/source/provider/resultset.cxx
+26
-12
No files found.
include/ucbhelper/macros.hxx
Dosyayı görüntüle @
a5aad2ac
...
...
@@ -89,36 +89,6 @@ com::sun::star::uno::Any SAL_CALL Class::queryInterface( \
}\
// 9 interfaces implemented
#define XINTERFACE_IMPL_9( Class,I1,I2,I3,I4,I5,I6,I7,I8,I9 ) \
void SAL_CALL Class::acquire() \
throw() \
{ \
OWeakObject::acquire(); \
} \
\
void SAL_CALL Class::release() \
throw() \
{ \
OWeakObject::release(); \
} \
com::sun::star::uno::Any SAL_CALL Class::queryInterface( \
const com::sun::star::uno::Type & rType ) \
throw( com::sun::star::uno::RuntimeException, std::exception ) \
{ \
com::sun::star::uno::Any aRet = cppu::queryInterface( rType, \
(static_cast< I1* >(this)), \
(static_cast< I2* >(this)), \
(static_cast< I3* >(this)), \
(static_cast< I4* >(this)), \
(static_cast< I5* >(this)), \
(static_cast< I6* >(this)), \
(static_cast< I7* >(this)), \
(static_cast< I8* >(this)), \
(static_cast< I9* >(this)) \
); \
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); \
}\
// XTypeProvider decl.
...
...
ucb/source/core/ucb.cxx
Dosyayı görüntüle @
a5aad2ac
...
...
@@ -251,21 +251,34 @@ UniversalContentBroker::~UniversalContentBroker()
// XInterface methods.
void
SAL_CALL
UniversalContentBroker
::
acquire
()
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
UniversalContentBroker
::
release
()
throw
()
{
OWeakObject
::
release
();
}
XINTERFACE_IMPL_9
(
UniversalContentBroker
,
XUniversalContentBroker
,
XTypeProvider
,
XComponent
,
XServiceInfo
,
XInitialization
,
XContentProviderManager
,
XContentProvider
,
XContentIdentifierFactory
,
XCommandProcessor
);
css
::
uno
::
Any
SAL_CALL
UniversalContentBroker
::
queryInterface
(
const
css
::
uno
::
Type
&
rType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
css
::
uno
::
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
XUniversalContentBroker
*
>
(
this
)),
(
static_cast
<
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XComponent
*
>
(
this
)),
(
static_cast
<
XServiceInfo
*
>
(
this
)),
(
static_cast
<
XInitialization
*
>
(
this
)),
(
static_cast
<
XContentProviderManager
*
>
(
this
)),
(
static_cast
<
XContentProvider
*
>
(
this
)),
(
static_cast
<
XContentIdentifierFactory
*
>
(
this
)),
(
static_cast
<
XCommandProcessor
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider methods.
...
...
ucb/source/core/ucbstore.cxx
Dosyayı görüntüle @
a5aad2ac
...
...
@@ -1282,21 +1282,34 @@ PersistentPropertySet::~PersistentPropertySet()
// XInterface methods.
void
SAL_CALL
PersistentPropertySet
::
acquire
()
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
PersistentPropertySet
::
release
()
throw
()
{
OWeakObject
::
release
();
}
XINTERFACE_IMPL_9
(
PersistentPropertySet
,
XTypeProvider
,
XServiceInfo
,
XComponent
,
XPropertySet
,
/* base of XPersistentPropertySet */
XNamed
,
XPersistentPropertySet
,
XPropertyContainer
,
XPropertySetInfoChangeNotifier
,
XPropertyAccess
);
css
::
uno
::
Any
SAL_CALL
PersistentPropertySet
::
queryInterface
(
const
css
::
uno
::
Type
&
rType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
css
::
uno
::
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XServiceInfo
*
>
(
this
)),
(
static_cast
<
XComponent
*
>
(
this
)),
(
static_cast
<
XPropertySet
*
>
(
this
)),
(
static_cast
<
XNamed
*
>
(
this
)),
(
static_cast
<
XPersistentPropertySet
*
>
(
this
)),
(
static_cast
<
XPropertyContainer
*
>
(
this
)),
(
static_cast
<
XPropertySetInfoChangeNotifier
*
>
(
this
)),
(
static_cast
<
XPropertyAccess
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider methods.
...
...
ucb/source/sorter/sortresult.cxx
Dosyayı görüntüle @
a5aad2ac
...
...
@@ -210,18 +210,34 @@ SortedResultSet::~SortedResultSet()
// XInterface methods.
void
SAL_CALL
SortedResultSet
::
acquire
()
throw
()
{
OWeakObject
::
acquire
();
}
XINTERFACE_IMPL_9
(
SortedResultSet
,
XTypeProvider
,
XServiceInfo
,
XComponent
,
XContentAccess
,
XResultSet
,
XRow
,
XCloseable
,
XResultSetMetaDataSupplier
,
XPropertySet
);
void
SAL_CALL
SortedResultSet
::
release
()
throw
()
{
OWeakObject
::
release
();
}
css
::
uno
::
Any
SAL_CALL
SortedResultSet
::
queryInterface
(
const
css
::
uno
::
Type
&
rType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
css
::
uno
::
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XServiceInfo
*
>
(
this
)),
(
static_cast
<
XComponent
*
>
(
this
)),
(
static_cast
<
XContentAccess
*
>
(
this
)),
(
static_cast
<
XResultSet
*
>
(
this
)),
(
static_cast
<
XRow
*
>
(
this
)),
(
static_cast
<
XCloseable
*
>
(
this
)),
(
static_cast
<
XResultSetMetaDataSupplier
*
>
(
this
)),
(
static_cast
<
XPropertySet
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider methods.
...
...
ucbhelper/source/provider/resultset.cxx
Dosyayı görüntüle @
a5aad2ac
...
...
@@ -248,20 +248,34 @@ ResultSet::~ResultSet()
// XInterface methods.
void
SAL_CALL
ResultSet
::
acquire
()
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
ResultSet
::
release
()
throw
()
{
OWeakObject
::
release
();
}
XINTERFACE_IMPL_9
(
ResultSet
,
lang
::
XTypeProvider
,
lang
::
XServiceInfo
,
lang
::
XComponent
,
com
::
sun
::
star
::
ucb
::
XContentAccess
,
sdbc
::
XResultSet
,
sdbc
::
XResultSetMetaDataSupplier
,
sdbc
::
XRow
,
sdbc
::
XCloseable
,
beans
::
XPropertySet
);
css
::
uno
::
Any
SAL_CALL
ResultSet
::
queryInterface
(
const
css
::
uno
::
Type
&
rType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
css
::
uno
::
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
lang
::
XTypeProvider
*
>
(
this
)),
(
static_cast
<
lang
::
XServiceInfo
*
>
(
this
)),
(
static_cast
<
lang
::
XComponent
*
>
(
this
)),
(
static_cast
<
css
::
ucb
::
XContentAccess
*
>
(
this
)),
(
static_cast
<
sdbc
::
XResultSet
*
>
(
this
)),
(
static_cast
<
sdbc
::
XResultSetMetaDataSupplier
*
>
(
this
)),
(
static_cast
<
sdbc
::
XRow
*
>
(
this
)),
(
static_cast
<
sdbc
::
XCloseable
*
>
(
this
)),
(
static_cast
<
beans
::
XPropertySet
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider methods.
...
...
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