Kaydet (Commit) 4c925efc authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Reduce ASCII graphics and pointless comments a bit

Change-Id: Ia5cf6b923a6c6057463171d219af250ddb069bad
üst 6259dfce
...@@ -79,11 +79,6 @@ std::unordered_map<sal_uIntPtr, sal_uIntPtr> AdapterToWrapperMap; ...@@ -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,sal_uIntPtr> WrapperToAdapterMap;
std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > ComPtrToWrapperMap; std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > ComPtrToWrapperMap;
/*****************************************************************************
class implementation IUnknownWrapper_Impl
*****************************************************************************/
IUnknownWrapper_Impl::IUnknownWrapper_Impl( Reference<XMultiServiceFactory> const & xFactory, IUnknownWrapper_Impl::IUnknownWrapper_Impl( Reference<XMultiServiceFactory> const & xFactory,
sal_uInt8 unoWrapperClass, sal_uInt8 comWrapperClass): sal_uInt8 unoWrapperClass, sal_uInt8 comWrapperClass):
......
...@@ -47,12 +47,6 @@ namespace ole_adapter ...@@ -47,12 +47,6 @@ namespace ole_adapter
// {82154420-0FBF-11d4-8313-005004526AB4} // {82154420-0FBF-11d4-8313-005004526AB4}
DEFINE_GUID(OID_ServiceManager, 0x82154420, 0xfbf, 0x11d4, 0x83, 0x13, 0x0, 0x50, 0x4, 0x52, 0x6a, 0xb4); 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, ProviderOleWrapper_Impl::ProviderOleWrapper_Impl(const Reference<XMultiServiceFactory>& smgr,
const Reference<XSingleServiceFactory>& xSFact, GUID const * pGuid) const Reference<XSingleServiceFactory>& xSFact, GUID const * pGuid)
: m_xSingleServiceFactory(xSFact), : m_xSingleServiceFactory(xSFact),
...@@ -180,12 +174,6 @@ STDMETHODIMP ProviderOleWrapper_Impl::LockServer(int /*fLock*/) ...@@ -180,12 +174,6 @@ STDMETHODIMP ProviderOleWrapper_Impl::LockServer(int /*fLock*/)
return NOERROR; return NOERROR;
} }
/*****************************************************************************
class implementation OneInstanceOleWrapper_Impl
*****************************************************************************/
OneInstanceOleWrapper_Impl::OneInstanceOleWrapper_Impl( const Reference<XMultiServiceFactory>& smgr, OneInstanceOleWrapper_Impl::OneInstanceOleWrapper_Impl( const Reference<XMultiServiceFactory>& smgr,
const Reference<XInterface>& xInst, const Reference<XInterface>& xInst,
GUID const * pGuid ) GUID const * pGuid )
...@@ -305,13 +293,6 @@ STDMETHODIMP OneInstanceOleWrapper_Impl::LockServer(int /*fLock*/) ...@@ -305,13 +293,6 @@ STDMETHODIMP OneInstanceOleWrapper_Impl::LockServer(int /*fLock*/)
return NOERROR; return NOERROR;
} }
/*****************************************************************************
class implementation OleConverter_Impl2
*****************************************************************************/
OleConverter_Impl2::OleConverter_Impl2( const Reference<XMultiServiceFactory> &smgr): OleConverter_Impl2::OleConverter_Impl2( const Reference<XMultiServiceFactory> &smgr):
UnoConversionUtilities<OleConverter_Impl2>( smgr) UnoConversionUtilities<OleConverter_Impl2>( smgr)
...@@ -479,13 +460,6 @@ Reference< XInterface > OleConverter_Impl2::createComWrapperInstance() ...@@ -479,13 +460,6 @@ Reference< XInterface > OleConverter_Impl2::createComWrapperInstance()
return Reference<XInterface>( xWeak, UNO_QUERY); return Reference<XInterface>( xWeak, UNO_QUERY);
} }
/*****************************************************************************
class implementation OleClient_Impl
*****************************************************************************/
OleClient_Impl::OleClient_Impl( const Reference<XMultiServiceFactory>& smgr): OleClient_Impl::OleClient_Impl( const Reference<XMultiServiceFactory>& smgr):
UnoConversionUtilities<OleClient_Impl>( smgr) UnoConversionUtilities<OleClient_Impl>( smgr)
{ {
...@@ -604,13 +578,6 @@ Reference< XInterface > OleClient_Impl::createComWrapperInstance( ) ...@@ -604,13 +578,6 @@ Reference< XInterface > OleClient_Impl::createComWrapperInstance( )
return Reference<XInterface>( xWeak, UNO_QUERY); return Reference<XInterface>( xWeak, UNO_QUERY);
} }
/*****************************************************************************
class implementation OleServer_Impl
*****************************************************************************/
OleServer_Impl::OleServer_Impl( const Reference<XMultiServiceFactory>& smgr): OleServer_Impl::OleServer_Impl( const Reference<XMultiServiceFactory>& smgr):
m_smgr( smgr) m_smgr( smgr)
{ {
......
...@@ -43,7 +43,7 @@ Reference<XInterface> OleClient_CreateInstance( const Reference<XMultiServiceFac ...@@ -43,7 +43,7 @@ Reference<XInterface> OleClient_CreateInstance( const Reference<XMultiServiceFac
Reference<XInterface> OleServer_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr); Reference<XInterface> OleServer_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr);
/***************************************************************************** /*****************************************************************************
class declaration IClassFactoryWrapper IClassFactoryWrapper
Specify abstract helper methods on class factories, which provide Specify abstract helper methods on class factories, which provide
UNO objects. These methods are used by objects of class OleServer_Impl, UNO objects. These methods are used by objects of class OleServer_Impl,
...@@ -64,7 +64,7 @@ protected: ...@@ -64,7 +64,7 @@ protected:
/***************************************************************************** /*****************************************************************************
class declaration ProviderOleWrapper_Impl ProviderOleWrapper_Impl
Provides an UNO service provider as OLE class factory. Handle the Provides an UNO service provider as OLE class factory. Handle the
OLE registration by overriding the abstract methods from OLE registration by overriding the abstract methods from
...@@ -108,7 +108,7 @@ protected: ...@@ -108,7 +108,7 @@ protected:
/***************************************************************************** /*****************************************************************************
class declaration OneInstanceOleWrapper_Impl OneInstanceOleWrapper_Impl
Provides an single UNO object as OLE object. Handle the Provides an single UNO object as OLE object. Handle the
OLE registration by overriding the abstract methods from OLE registration by overriding the abstract methods from
...@@ -148,13 +148,7 @@ protected: ...@@ -148,13 +148,7 @@ protected:
Reference<XMultiServiceFactory> m_smgr; Reference<XMultiServiceFactory> m_smgr;
}; };
/***************************************************************************** // Implementation of the UNO service com.sun.star.bridge.OleBridgeSupplier2.
class declaration OleConverter_Impl2
Implementation of the UNO service com.sun.star.bridge.OleBridgeSupplier2.
*****************************************************************************/
// This class realizes the service com.sun.star.bridge.OleBridgeSupplier2 and // This class realizes the service com.sun.star.bridge.OleBridgeSupplier2 and
// com.sun.star.bridge.OleBridgeSupplierVar1. The class implements XBridgeSupplier2 // com.sun.star.bridge.OleBridgeSupplierVar1. The class implements XBridgeSupplier2
...@@ -197,15 +191,7 @@ protected: ...@@ -197,15 +191,7 @@ protected:
}; };
// Implementation of the UNO service com.sun.star.bridge.OleObjectFactory.
/*****************************************************************************
class declaration OleClient_Impl
Implementation of the UNO service com.sun.star.bridge.OleObjectFactory.
*****************************************************************************/
class OleClient_Impl : public WeakImplHelper<XMultiServiceFactory, css::lang::XServiceInfo>, class OleClient_Impl : public WeakImplHelper<XMultiServiceFactory, css::lang::XServiceInfo>,
public UnoConversionUtilities<OleClient_Impl> public UnoConversionUtilities<OleClient_Impl>
...@@ -235,7 +221,7 @@ protected: ...@@ -235,7 +221,7 @@ protected:
/***************************************************************************** /*****************************************************************************
class declaration OleServer_Impl OleServer_Impl
Implementation of the UNO service com.sun.star.bridge.OleApplicationRegistration. Implementation of the UNO service com.sun.star.bridge.OleApplicationRegistration.
Register the calling application as OLE automation server for Register the calling application as OLE automation server for
......
...@@ -93,12 +93,6 @@ typedef std::unordered_map ...@@ -93,12 +93,6 @@ typedef std::unordered_map
MemberInfo MemberInfo
> IdToMemberInfoMap; > IdToMemberInfoMap;
/*****************************************************************************
class declaration: InterfaceOleWrapper_Impl
*****************************************************************************/
class InterfaceOleWrapper_Impl : public WeakImplHelper<XBridgeSupplier2, XInitialization>, class InterfaceOleWrapper_Impl : public WeakImplHelper<XBridgeSupplier2, XInitialization>,
public IDispatchEx, public IDispatchEx,
public UnoConversionUtilities<InterfaceOleWrapper_Impl>, public UnoConversionUtilities<InterfaceOleWrapper_Impl>,
...@@ -221,8 +215,8 @@ protected: ...@@ -221,8 +215,8 @@ protected:
/***************************************************************************** /*****************************************************************************
class declaration: UnoObjectWrapperRemoteOpt UnoObjectWrapperRemoteOpt = Uno Object Wrapper Remote Optimized
( Uno Object Wrapper Remote Optimized)
This is the UNO wrapper used in the service com.sun.star.bridge.OleBridgeSupplierVar1. This is the UNO wrapper used in the service com.sun.star.bridge.OleBridgeSupplierVar1.
Key features: Key features:
DISPIDs are passed out blindly. That is in GetIDsOfNames is no name checking carried out. DISPIDs are passed out blindly. That is in GetIDsOfNames is no name checking carried out.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment