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
2726f2a7
Kaydet (Commit)
2726f2a7
authored
Mar 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
comphelper: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I8da24ffd5eb1ac1fe6a6d2312ddc4ab13828bf07
üst
f7dca812
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
21 deletions
+3
-21
genericpropertyset.cxx
comphelper/source/property/genericpropertyset.cxx
+1
-9
propstate.cxx
comphelper/source/property/propstate.cxx
+1
-7
uno3.hxx
include/comphelper/uno3.hxx
+1
-5
No files found.
comphelper/source/property/genericpropertyset.cxx
Dosyayı görüntüle @
2726f2a7
...
...
@@ -31,9 +31,6 @@
#include <comphelper/genericpropertyset.hxx>
#include <comphelper/propertysetinfo.hxx>
#include <comphelper/servicehelper.hxx>
#include <rtl/uuid.h>
using
namespace
::
rtl
;
using
namespace
::
osl
;
...
...
@@ -242,15 +239,10 @@ uno::Sequence< uno::Type > SAL_CALL GenericPropertySet::getTypes()
return
aTypes
;
}
namespace
{
class
theGenericPropertySetImplmentationId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theGenericPropertySetImplmentationId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
GenericPropertySet
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
theGenericPropertySetImplmentationId
::
get
().
getSeq
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
// XServiceInfo
...
...
comphelper/source/property/propstate.cxx
Dosyayı görüntüle @
2726f2a7
...
...
@@ -21,8 +21,6 @@
#include <com/sun/star/uno/genfunc.h>
#include <cppuhelper/queryinterface.hxx>
#include <comphelper/sequence.hxx>
#include <rtl/instance.hxx>
namespace
comphelper
{
...
...
@@ -203,13 +201,9 @@ namespace comphelper
);
}
namespace
{
struct
lcl_ImplId
:
public
rtl
::
Static
<
::
cppu
::
OImplementationId
,
lcl_ImplId
>
{};
}
Sequence
<
sal_Int8
>
SAL_CALL
OStatefulPropertySet
::
getImplementationId
()
throw
(
RuntimeException
,
std
::
exception
)
{
::
cppu
::
OImplementationId
&
rID
=
lcl_ImplId
::
get
();
return
rID
.
getImplementationId
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
include/comphelper/uno3.hxx
Dosyayı görüntüle @
2726f2a7
...
...
@@ -189,13 +189,9 @@ namespace comphelper
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
#define IMPLEMENT_GET_IMPLEMENTATION_ID( classname ) \
namespace \
{ \
class the##classname##ImplementationId : public rtl::Static< ::cppu::OImplementationId, the##classname##ImplementationId> {}; \
} \
::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL classname::getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception) \
{ \
return
the##classname##ImplementationId::get().getImplementationId
(); \
return
css::uno::Sequence<sal_Int8>
(); \
}
#define IMPLEMENT_FORWARD_XTYPEPROVIDER2( classname, baseclass1, baseclass2 ) \
...
...
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