diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 19:24:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 10:02:49 -0600 |
commit | 99e3bd454bf607c5b561e2dc8e0f7a04f2bc28ed (patch) | |
tree | 929fae9a49326c5c92763fdd7c6e3f0def229e0a /odk/examples/OLE | |
parent | 91ff31b6f7c2fd217518f54396bbca6d4bde98a3 (diff) |
Remove visual noise from odk
Change-Id: I5638e2d37827c2d7322b72bf6ce176ac843639f1
Reviewed-on: https://gerrit.libreoffice.org/8285
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'odk/examples/OLE')
-rw-r--r-- | odk/examples/OLE/activex/SOActiveX.cpp | 6 | ||||
-rw-r--r-- | odk/examples/OLE/activex/SOActiveX.h | 2 | ||||
-rw-r--r-- | odk/examples/OLE/activex/SOComWindowPeer.cpp | 4 | ||||
-rw-r--r-- | odk/examples/OLE/activex/SOComWindowPeer.h | 6 | ||||
-rw-r--r-- | odk/examples/OLE/activex/resource.h | 4 | ||||
-rw-r--r-- | odk/examples/OLE/activex/so_activex.cpp | 10 | ||||
-rw-r--r-- | odk/examples/OLE/activex/so_activex.idl | 2 | ||||
-rw-r--r-- | odk/examples/OLE/activex/so_activex.rc | 50 |
8 files changed, 42 insertions, 42 deletions
diff --git a/odk/examples/OLE/activex/SOActiveX.cpp b/odk/examples/OLE/activex/SOActiveX.cpp index eedc524e1d45..e264290a6db6 100644 --- a/odk/examples/OLE/activex/SOActiveX.cpp +++ b/odk/examples/OLE/activex/SOActiveX.cpp @@ -59,7 +59,7 @@ OLECHAR* pSlotName[BARS_NUMBER] = -///////////////////////////////////////////////////////////////////////////// + HRESULT ExecuteFunc( IDispatch* idispUnoObject, OLECHAR* sFuncName, @@ -121,7 +121,7 @@ HRESULT PutPropertiesToIDisp( IDispatch* pdispObject, return S_OK; } -///////////////////////////////////////////////////////////////////////////// + // CSOActiveX CSOActiveX::CSOActiveX() @@ -640,6 +640,6 @@ STDMETHODIMP CSOActiveX::Invoke(DISPID dispidMember, return S_OK; } -// --------------------------------------------------------------------------- + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/odk/examples/OLE/activex/SOActiveX.h b/odk/examples/OLE/activex/SOActiveX.h index 3e00dd51facd..f36cbe78a993 100644 --- a/odk/examples/OLE/activex/SOActiveX.h +++ b/odk/examples/OLE/activex/SOActiveX.h @@ -46,7 +46,7 @@ #include "so_activex.h" -///////////////////////////////////////////////////////////////////////////// + // CSOActiveX class ATL_NO_VTABLE CSOActiveX : public CComObjectRootEx<CComSingleThreadModel>, diff --git a/odk/examples/OLE/activex/SOComWindowPeer.cpp b/odk/examples/OLE/activex/SOComWindowPeer.cpp index 6e88bdbcd333..0045014fec81 100644 --- a/odk/examples/OLE/activex/SOComWindowPeer.cpp +++ b/odk/examples/OLE/activex/SOComWindowPeer.cpp @@ -40,8 +40,8 @@ #include "SOComWindowPeer.h" #include <sal/macros.h> -///////////////////////////////////////////////////////////////////////////// -// + + STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid) { diff --git a/odk/examples/OLE/activex/SOComWindowPeer.h b/odk/examples/OLE/activex/SOComWindowPeer.h index 29856820bd57..b03b26ca7a61 100644 --- a/odk/examples/OLE/activex/SOComWindowPeer.h +++ b/odk/examples/OLE/activex/SOComWindowPeer.h @@ -34,8 +34,8 @@ *************************************************************************/ // SOComWindowPeer.h: Definition of the SOComWindowPeer class -// -////////////////////////////////////////////////////////////////////// + + #ifndef __SOCOMWINDOWPEER_H_ #define __SOCOMWINDOWPEER_H_ @@ -52,7 +52,7 @@ #include "so_activex.h" -///////////////////////////////////////////////////////////////////////////// + // SOComWindowPeer class SOComWindowPeer : diff --git a/odk/examples/OLE/activex/resource.h b/odk/examples/OLE/activex/resource.h index bf1bf5c7dedc..88480036ff05 100644 --- a/odk/examples/OLE/activex/resource.h +++ b/odk/examples/OLE/activex/resource.h @@ -36,7 +36,7 @@ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by so_activex.rc -// + #define IDS_PROJNAME 100 #define IDB_SOACTIVEX 101 #define IDR_SOACTIVEX 102 @@ -44,7 +44,7 @@ #define IDR_SOCOMWINDOWPEER 104 // Next default values for new objects -// + #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 201 diff --git a/odk/examples/OLE/activex/so_activex.cpp b/odk/examples/OLE/activex/so_activex.cpp index 64349fb34439..e546aeff56ec 100644 --- a/odk/examples/OLE/activex/so_activex.cpp +++ b/odk/examples/OLE/activex/so_activex.cpp @@ -55,7 +55,7 @@ BEGIN_OBJECT_MAP(ObjectMap) OBJECT_ENTRY(CLSID_SOActiveX, CSOActiveX) END_OBJECT_MAP() -///////////////////////////////////////////////////////////////////////////// + // DLL Entry Point extern "C" @@ -71,7 +71,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/) return TRUE; // ok } -///////////////////////////////////////////////////////////////////////////// + // Used to determine whether the DLL can be unloaded by OLE STDAPI DllCanUnloadNow(void) @@ -79,7 +79,7 @@ STDAPI DllCanUnloadNow(void) return (_Module.GetLockCount()==0) ? S_OK : S_FALSE; } -///////////////////////////////////////////////////////////////////////////// + // Returns a class factory to create an object of the requested type STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) @@ -87,7 +87,7 @@ STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) return _Module.GetClassObject(rclsid, riid, ppv); } -///////////////////////////////////////////////////////////////////////////// + // DllRegisterServer - Adds entries to the system registry STDAPI DllRegisterServer(void) @@ -97,7 +97,7 @@ STDAPI DllRegisterServer(void) return aResult; } -///////////////////////////////////////////////////////////////////////////// + // DllUnregisterServer - Removes entries from the system registry STDAPI DllUnregisterServer(void) diff --git a/odk/examples/OLE/activex/so_activex.idl b/odk/examples/OLE/activex/so_activex.idl index 9e4c17563045..6013b7e5521d 100644 --- a/odk/examples/OLE/activex/so_activex.idl +++ b/odk/examples/OLE/activex/so_activex.idl @@ -34,7 +34,7 @@ *************************************************************************/ // so_activex.idl : IDL source for so_activex.dll -// + // This file will be processed by the MIDL tool to // produce the type library (so_activex.tlb) and marshalling code. diff --git a/odk/examples/OLE/activex/so_activex.rc b/odk/examples/OLE/activex/so_activex.rc index 72ca32e1a72c..1141e104422d 100644 --- a/odk/examples/OLE/activex/so_activex.rc +++ b/odk/examples/OLE/activex/so_activex.rc @@ -33,20 +33,20 @@ *************************************************************************/ //Microsoft Developer Studio generated resource script. -// + #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// + + // Generated from the TEXTINCLUDE 2 resource. -// + #include "winres.h" -///////////////////////////////////////////////////////////////////////////// + #undef APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// + // Russian resources //#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) @@ -55,26 +55,26 @@ //#pragma code_page(1251) //#endif //_WIN32 -///////////////////////////////////////////////////////////////////////////// -// + + // Bitmap -// + //IDB_SOACTIVEX BITMAP DISCARDABLE "soacti.bmp" -///////////////////////////////////////////////////////////////////////////// -// + + // REGISTRY -// + IDR_SOACTIVEX REGISTRY DISCARDABLE "SOActiveX.rgs" IDR_SOCOMWINDOWPEER REGISTRY DISCARDABLE "SOComWindowPeer.rgs" //#endif // Russian resources -///////////////////////////////////////////////////////////////////////////// -///////////////////////////////////////////////////////////////////////////// + + // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) @@ -84,10 +84,10 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #endif //_WIN32 #ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// + + // TEXTINCLUDE -// + 1 TEXTINCLUDE DISCARDABLE BEGIN @@ -108,10 +108,10 @@ END #endif // APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// + + // String Table -// + STRINGTABLE DISCARDABLE BEGIN @@ -119,18 +119,18 @@ BEGIN END #endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// + #ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// + + // Generated from the TEXTINCLUDE 3 resource. -// + 1 TYPELIB .\..\..\..\WINexample.out\misc\so_activex\so_activex.tlb -///////////////////////////////////////////////////////////////////////////// + #endif // not APSTUDIO_INVOKED |