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
af96695d
Kaydet (Commit)
af96695d
authored
Nis 26, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
UNO bootstrapping requires some more comprehensive type-descriptions
üst
2e6a5683
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
makefile.mk
cppuhelper/source/makefile.mk
+1
-0
primeweak.cxx
cppuhelper/source/primeweak.cxx
+19
-2
No files found.
cppuhelper/source/makefile.mk
Dosyayı görüntüle @
af96695d
...
@@ -64,6 +64,7 @@ UNOTYPES= \
...
@@ -64,6 +64,7 @@ UNOTYPES= \
com.sun.star.container.XEnumerationAccess
\
com.sun.star.container.XEnumerationAccess
\
com.sun.star.container.XHierarchicalNameAccess
\
com.sun.star.container.XHierarchicalNameAccess
\
com.sun.star.container.XNameAccess
\
com.sun.star.container.XNameAccess
\
com.sun.star.container.XNameReplace
\
com.sun.star.container.XNameContainer
\
com.sun.star.container.XNameContainer
\
com.sun.star.container.XSet
\
com.sun.star.container.XSet
\
com.sun.star.io.FilePermission
\
com.sun.star.io.FilePermission
\
...
...
cppuhelper/source/primeweak.cxx
Dosyayı görüntüle @
af96695d
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
// the same symbol by design (!) which is quite... unfortunate
// the same symbol by design (!) which is quite... unfortunate
// and can confuse the heck out of dynamic linkers, debuggers, etc.
// and can confuse the heck out of dynamic linkers, debuggers, etc.
//
//
// For bootstrapping comprehensive descriptions of some UNO types are needed.
// For bootstrapping
the
comprehensive descriptions of some UNO types are needed.
// The mechanism in this file makes sure that these comprehensive type
// The mechanism in this file makes sure that these comprehensive type
// descriptions are used to prime the so-called "WeakMap".
// descriptions are used to prime the so-called "WeakMap".
//
//
...
@@ -42,6 +42,8 @@
...
@@ -42,6 +42,8 @@
#define cppu_detail_getUnoType cppu_full_getUnoType
#define cppu_detail_getUnoType cppu_full_getUnoType
#define InitTypeDesc(T) {(void)cppu_full_getUnoType(static_cast< T * >(NULL));}
#define InitTypeDesc(T) {(void)cppu_full_getUnoType(static_cast< T * >(NULL));}
// NOTE: the cppuhelper part in the include paths below ensures that the type descriptions
// are comprehensive descriptions and not some weak descriptions e.g. from solver
#include "cppuhelper/com/sun/star/lang/XComponent.hpp"
#include "cppuhelper/com/sun/star/lang/XComponent.hpp"
#include "cppuhelper/com/sun/star/lang/XInitialization.hpp"
#include "cppuhelper/com/sun/star/lang/XInitialization.hpp"
#include "cppuhelper/com/sun/star/lang/XSingleServiceFactory.hpp"
#include "cppuhelper/com/sun/star/lang/XSingleServiceFactory.hpp"
...
@@ -52,20 +54,24 @@
...
@@ -52,20 +54,24 @@
#include "cppuhelper/com/sun/star/lang/XEventListener.hpp"
#include "cppuhelper/com/sun/star/lang/XEventListener.hpp"
#include "cppuhelper/com/sun/star/lang/XTypeProvider.hpp"
#include "cppuhelper/com/sun/star/lang/XTypeProvider.hpp"
#include "cppuhelper/com/sun/star/lang/XUnoTunnel.hpp"
#include "cppuhelper/com/sun/star/lang/XUnoTunnel.hpp"
#include "cppuhelper/com/sun/star/lang/DisposedException.hpp"
#include "cppuhelper/com/sun/star/uno/DeploymentException.hpp"
#include "cppuhelper/com/sun/star/uno/DeploymentException.hpp"
#include "cppuhelper/com/sun/star/uno/XWeak.hpp"
#include "cppuhelper/com/sun/star/uno/XWeak.hpp"
#include "cppuhelper/com/sun/star/uno/XCurrentContext.hpp"
#include "cppuhelper/com/sun/star/uno/XCurrentContext.hpp"
#include "cppuhelper/com/sun/star/uno/XComponentContext.hpp"
#include "cppuhelper/com/sun/star/uno/XComponentContext.hpp"
#include "cppuhelper/com/sun/star/uno/RuntimeException.hpp"
#include "cppuhelper/com/sun/star/uno/RuntimeException.hpp"
#include "cppuhelper/com/sun/star/util/XMacroExpander.hpp"
#include "cppuhelper/com/sun/star/beans/PropertyValue.hpp"
#include "cppuhelper/com/sun/star/beans/PropertyValue.hpp"
#include "cppuhelper/com/sun/star/beans/XPropertySet.hpp"
#include "cppuhelper/com/sun/star/beans/XPropertySet.hpp"
#include "cppuhelper/com/sun/star/beans/XMultiPropertySet.hpp"
#include "cppuhelper/com/sun/star/beans/XMultiPropertySet.hpp"
#include "cppuhelper/com/sun/star/container/XEnumerationAccess.hpp"
#include "cppuhelper/com/sun/star/container/XEnumerationAccess.hpp"
#include "cppuhelper/com/sun/star/container/XEnumeration.hpp"
#include "cppuhelper/com/sun/star/container/XEnumeration.hpp"
#include "cppuhelper/com/sun/star/container/XNameAccess.hpp"
#include "cppuhelper/com/sun/star/container/XNameReplace.hpp"
#include "cppuhelper/com/sun/star/container/XNameContainer.hpp"
#include "cppuhelper/com/sun/star/container/XHierarchicalNameAccess.hpp"
#include "cppuhelper/com/sun/star/container/XHierarchicalNameAccess.hpp"
#include "cppuhelper/com/sun/star/container/XSet.hpp"
#include "cppuhelper/com/sun/star/container/XSet.hpp"
#include "cppuhelper/com/sun/star/bridge/XUnoUrlResolver.hpp"
#include "cppuhelper/com/sun/star/bridge/XUnoUrlResolver.hpp"
#include "cppuhelper/com/sun/star/bridge/XUnoUrlResolver.hpp"
#include "cppuhelper/com/sun/star/io/IOException.hpp"
#include "cppuhelper/com/sun/star/io/IOException.hpp"
#include "cppuhelper/com/sun/star/io/FilePermission.hpp"
#include "cppuhelper/com/sun/star/io/FilePermission.hpp"
#include "cppuhelper/com/sun/star/security/RuntimePermission.hpp"
#include "cppuhelper/com/sun/star/security/RuntimePermission.hpp"
...
@@ -80,6 +86,9 @@
...
@@ -80,6 +86,9 @@
#include "cppuhelper/com/sun/star/reflection/XUnionTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XUnionTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XCompoundTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XCompoundTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XIndirectTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XIndirectTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XInterfaceTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XInterfaceMethodTypeDescription.hpp"
#include "cppuhelper/com/sun/star/reflection/XMethodParameter.hpp"
#include "cppuhelper/com/sun/star/reflection/XMethodParameter.hpp"
void
primeWeakMap
(
void
)
void
primeWeakMap
(
void
)
...
@@ -94,11 +103,13 @@ void primeWeakMap( void)
...
@@ -94,11 +103,13 @@ void primeWeakMap( void)
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XEventListener
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XEventListener
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XTypeProvider
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XTypeProvider
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XUnoTunnel
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
XUnoTunnel
);
InitTypeDesc
(
com
::
sun
::
star
::
lang
::
DisposedException
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XWeak
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XWeak
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
DeploymentException
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
DeploymentException
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XCurrentContext
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XCurrentContext
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XComponentContext
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
XComponentContext
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
RuntimeException
);
InitTypeDesc
(
com
::
sun
::
star
::
uno
::
RuntimeException
);
InitTypeDesc
(
com
::
sun
::
star
::
util
::
XMacroExpander
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
PropertyState
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
PropertyState
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
PropertyValue
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
PropertyValue
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
XPropertySet
);
InitTypeDesc
(
com
::
sun
::
star
::
beans
::
XPropertySet
);
...
@@ -107,6 +118,9 @@ void primeWeakMap( void)
...
@@ -107,6 +118,9 @@ void primeWeakMap( void)
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XEnumeration
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XEnumeration
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XEnumerationAccess
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XEnumerationAccess
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XHierarchicalNameAccess
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XHierarchicalNameAccess
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XNameAccess
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XNameReplace
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XNameContainer
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XSet
);
InitTypeDesc
(
com
::
sun
::
star
::
container
::
XSet
);
InitTypeDesc
(
com
::
sun
::
star
::
io
::
IOException
);
InitTypeDesc
(
com
::
sun
::
star
::
io
::
IOException
);
InitTypeDesc
(
com
::
sun
::
star
::
io
::
FilePermission
);
InitTypeDesc
(
com
::
sun
::
star
::
io
::
FilePermission
);
...
@@ -123,6 +137,9 @@ void primeWeakMap( void)
...
@@ -123,6 +137,9 @@ void primeWeakMap( void)
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XUnionTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XUnionTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XCompoundTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XCompoundTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XIndirectTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XIndirectTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XInterfaceTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XInterfaceMemberTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XInterfaceMethodTypeDescription
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XMethodParameter
);
InitTypeDesc
(
com
::
sun
::
star
::
reflection
::
XMethodParameter
);
}
}
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