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
4c925efc
Kaydet (Commit)
4c925efc
authored
Şub 12, 2018
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce ASCII graphics and pointless comments a bit
Change-Id: Ia5cf6b923a6c6057463171d219af250ddb069bad
üst
6259dfce
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
66 deletions
+8
-66
oleobjw.cxx
extensions/source/ole/oleobjw.cxx
+0
-5
servprov.cxx
extensions/source/ole/servprov.cxx
+0
-33
servprov.hxx
extensions/source/ole/servprov.hxx
+6
-20
unoobjw.hxx
extensions/source/ole/unoobjw.hxx
+2
-8
No files found.
extensions/source/ole/oleobjw.cxx
Dosyayı görüntüle @
4c925efc
...
...
@@ -79,11 +79,6 @@ std::unordered_map<sal_uIntPtr, sal_uIntPtr> AdapterToWrapperMap;
std
::
unordered_map
<
sal_uIntPtr
,
sal_uIntPtr
>
WrapperToAdapterMap
;
std
::
unordered_map
<
sal_uIntPtr
,
WeakReference
<
XInterface
>
>
ComPtrToWrapperMap
;
/*****************************************************************************
class implementation IUnknownWrapper_Impl
*****************************************************************************/
IUnknownWrapper_Impl
::
IUnknownWrapper_Impl
(
Reference
<
XMultiServiceFactory
>
const
&
xFactory
,
sal_uInt8
unoWrapperClass
,
sal_uInt8
comWrapperClass
)
:
...
...
extensions/source/ole/servprov.cxx
Dosyayı görüntüle @
4c925efc
...
...
@@ -47,12 +47,6 @@ namespace ole_adapter
// {82154420-0FBF-11d4-8313-005004526AB4}
DEFINE_GUID
(
OID_ServiceManager
,
0x82154420
,
0xfbf
,
0x11d4
,
0x83
,
0x13
,
0x0
,
0x50
,
0x4
,
0x52
,
0x6a
,
0xb4
);
/*****************************************************************************
class implementation ProviderOleWrapper_Impl
*****************************************************************************/
ProviderOleWrapper_Impl
::
ProviderOleWrapper_Impl
(
const
Reference
<
XMultiServiceFactory
>&
smgr
,
const
Reference
<
XSingleServiceFactory
>&
xSFact
,
GUID
const
*
pGuid
)
:
m_xSingleServiceFactory
(
xSFact
),
...
...
@@ -180,12 +174,6 @@ STDMETHODIMP ProviderOleWrapper_Impl::LockServer(int /*fLock*/)
return
NOERROR
;
}
/*****************************************************************************
class implementation OneInstanceOleWrapper_Impl
*****************************************************************************/
OneInstanceOleWrapper_Impl
::
OneInstanceOleWrapper_Impl
(
const
Reference
<
XMultiServiceFactory
>&
smgr
,
const
Reference
<
XInterface
>&
xInst
,
GUID
const
*
pGuid
)
...
...
@@ -305,13 +293,6 @@ STDMETHODIMP OneInstanceOleWrapper_Impl::LockServer(int /*fLock*/)
return
NOERROR
;
}
/*****************************************************************************
class implementation OleConverter_Impl2
*****************************************************************************/
OleConverter_Impl2
::
OleConverter_Impl2
(
const
Reference
<
XMultiServiceFactory
>
&
smgr
)
:
UnoConversionUtilities
<
OleConverter_Impl2
>
(
smgr
)
...
...
@@ -479,13 +460,6 @@ Reference< XInterface > OleConverter_Impl2::createComWrapperInstance()
return
Reference
<
XInterface
>
(
xWeak
,
UNO_QUERY
);
}
/*****************************************************************************
class implementation OleClient_Impl
*****************************************************************************/
OleClient_Impl
::
OleClient_Impl
(
const
Reference
<
XMultiServiceFactory
>&
smgr
)
:
UnoConversionUtilities
<
OleClient_Impl
>
(
smgr
)
{
...
...
@@ -604,13 +578,6 @@ Reference< XInterface > OleClient_Impl::createComWrapperInstance( )
return
Reference
<
XInterface
>
(
xWeak
,
UNO_QUERY
);
}
/*****************************************************************************
class implementation OleServer_Impl
*****************************************************************************/
OleServer_Impl
::
OleServer_Impl
(
const
Reference
<
XMultiServiceFactory
>&
smgr
)
:
m_smgr
(
smgr
)
{
...
...
extensions/source/ole/servprov.hxx
Dosyayı görüntüle @
4c925efc
...
...
@@ -43,7 +43,7 @@ Reference<XInterface> OleClient_CreateInstance( const Reference<XMultiServiceFac
Reference
<
XInterface
>
OleServer_CreateInstance
(
const
Reference
<
XMultiServiceFactory
>
&
xSMgr
);
/*****************************************************************************
class declaration
IClassFactoryWrapper
IClassFactoryWrapper
Specify abstract helper methods on class factories, which provide
UNO objects. These methods are used by objects of class OleServer_Impl,
...
...
@@ -64,7 +64,7 @@ protected:
/*****************************************************************************
class declaration
ProviderOleWrapper_Impl
ProviderOleWrapper_Impl
Provides an UNO service provider as OLE class factory. Handle the
OLE registration by overriding the abstract methods from
...
...
@@ -108,7 +108,7 @@ protected:
/*****************************************************************************
class declaration
OneInstanceOleWrapper_Impl
OneInstanceOleWrapper_Impl
Provides an single UNO object as OLE object. Handle the
OLE registration by overriding the abstract methods from
...
...
@@ -148,13 +148,7 @@ protected:
Reference
<
XMultiServiceFactory
>
m_smgr
;
};
/*****************************************************************************
class declaration OleConverter_Impl2
Implementation of the UNO service com.sun.star.bridge.OleBridgeSupplier2.
*****************************************************************************/
// Implementation of the UNO service com.sun.star.bridge.OleBridgeSupplier2.
// This class realizes the service com.sun.star.bridge.OleBridgeSupplier2 and
// com.sun.star.bridge.OleBridgeSupplierVar1. The class implements XBridgeSupplier2
...
...
@@ -197,15 +191,7 @@ protected:
};
/*****************************************************************************
class declaration OleClient_Impl
Implementation of the UNO service com.sun.star.bridge.OleObjectFactory.
*****************************************************************************/
// Implementation of the UNO service com.sun.star.bridge.OleObjectFactory.
class
OleClient_Impl
:
public
WeakImplHelper
<
XMultiServiceFactory
,
css
::
lang
::
XServiceInfo
>
,
public
UnoConversionUtilities
<
OleClient_Impl
>
...
...
@@ -235,7 +221,7 @@ protected:
/*****************************************************************************
class declaration
OleServer_Impl
OleServer_Impl
Implementation of the UNO service com.sun.star.bridge.OleApplicationRegistration.
Register the calling application as OLE automation server for
...
...
extensions/source/ole/unoobjw.hxx
Dosyayı görüntüle @
4c925efc
...
...
@@ -93,12 +93,6 @@ typedef std::unordered_map
MemberInfo
>
IdToMemberInfoMap
;
/*****************************************************************************
class declaration: InterfaceOleWrapper_Impl
*****************************************************************************/
class
InterfaceOleWrapper_Impl
:
public
WeakImplHelper
<
XBridgeSupplier2
,
XInitialization
>
,
public
IDispatchEx
,
public
UnoConversionUtilities
<
InterfaceOleWrapper_Impl
>
,
...
...
@@ -221,8 +215,8 @@ protected:
/*****************************************************************************
class declaration: UnoObjectWrapperRemoteOpt
( Uno Object Wrapper Remote Optimized)
UnoObjectWrapperRemoteOpt = Uno Object Wrapper Remote Optimized
This is the UNO wrapper used in the service com.sun.star.bridge.OleBridgeSupplierVar1.
Key features:
DISPIDs are passed out blindly. That is in GetIDsOfNames is no name checking carried out.
...
...
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