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
8ad48d88
Kaydet (Commit)
8ad48d88
authored
Ock 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Variadic cppu::ImplInheritanceHelper
Change-Id: I7d958fdf328e44a0d299b29a3a165425731ccf7c
üst
7a091b24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
2 deletions
+45
-2
brwctrlr.hxx
dbaccess/source/ui/inc/brwctrlr.hxx
+2
-2
implbase.hxx
include/cppuhelper/implbase.hxx
+43
-0
No files found.
dbaccess/source/ui/inc/brwctrlr.hxx
Dosyayı görüntüle @
8ad48d88
...
...
@@ -43,7 +43,7 @@
#include <svtools/transfer.hxx>
#include <osl/mutex.hxx>
#include <osl/thread.hxx>
#include <cppuhelper/implbase
9
.hxx>
#include <cppuhelper/implbase.hxx>
#include <svtools/cliplistener.hxx>
struct
FmFoundRecordInformation
;
...
...
@@ -57,7 +57,7 @@ namespace dbtools
namespace
dbaui
{
typedef
::
cppu
::
ImplInheritanceHelper
9
<
OGenericUnoController
typedef
::
cppu
::
ImplInheritanceHelper
<
OGenericUnoController
,
::
com
::
sun
::
star
::
sdb
::
XSQLErrorListener
,
::
com
::
sun
::
star
::
form
::
XDatabaseParameterListener
,
::
com
::
sun
::
star
::
form
::
XConfirmDeleteListener
...
...
include/cppuhelper/implbase.hxx
Dosyayı görüntüle @
8ad48d88
...
...
@@ -24,6 +24,7 @@
#include <cstddef>
#include <exception>
#include <utility>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/uno/Any.hxx>
...
...
@@ -89,6 +90,11 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakImplHelper:
class_data
,
detail
::
ImplClassData
<
WeakImplHelper
,
Ifc
...
>>
{};
protected
:
WeakImplHelper
()
{}
virtual
~
WeakImplHelper
()
{}
public
:
css
::
uno
::
Any
SAL_CALL
queryInterface
(
css
::
uno
::
Type
const
&
aType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
...
...
@@ -107,6 +113,43 @@ public:
{
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
};
template
<
typename
BaseClass
,
typename
...
Ifc
>
class
SAL_NO_VTABLE
SAL_DLLPUBLIC_TEMPLATE
ImplInheritanceHelper
:
public
BaseClass
,
public
Ifc
...
{
struct
cd
:
rtl
::
StaticAggregate
<
class_data
,
detail
::
ImplClassData
<
ImplInheritanceHelper
,
Ifc
...
>>
{};
protected
:
template
<
typename
...
Arg
>
ImplInheritanceHelper
(
Arg
&&
...
arg
)
:
BaseClass
(
std
::
forward
<
Arg
>
(
arg
)...)
{}
virtual
~
ImplInheritanceHelper
()
{}
public
:
css
::
uno
::
Any
SAL_CALL
queryInterface
(
css
::
uno
::
Type
const
&
aType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
css
::
uno
::
Any
ret
(
ImplHelper_queryNoXInterface
(
aType
,
cd
::
get
(),
this
));
return
ret
.
hasValue
()
?
ret
:
BaseClass
::
queryInterface
(
aType
);
}
void
SAL_CALL
acquire
()
throw
()
SAL_OVERRIDE
{
BaseClass
::
acquire
();
}
void
SAL_CALL
release
()
throw
()
SAL_OVERRIDE
{
BaseClass
::
release
();
}
css
::
uno
::
Sequence
<
css
::
uno
::
Type
>
SAL_CALL
getTypes
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
return
ImplInhHelper_getTypes
(
cd
::
get
(),
BaseClass
::
getTypes
());
}
css
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
{
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
};
}
#endif
...
...
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