diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 20:36:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 07:55:24 -0600 |
commit | d18a2753d5a6e29312e08365f7d9a512a92b998e (patch) | |
tree | af5e93f3bbd08c187ce264b2154d42df180f0696 | |
parent | 7d99ec7f7ec095dfa0d203f5eb43bab0e69256be (diff) |
Remove visual noise from shell
Change-Id: I1857fd7a9aeda38cb8ef2a0eda7783203b7658ed
Reviewed-on: https://gerrit.libreoffice.org/8311
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
26 files changed, 140 insertions, 140 deletions
diff --git a/shell/inc/internal/columninfo.hxx b/shell/inc/internal/columninfo.hxx index 4f67b05c539f..68328777e1ac 100644 --- a/shell/inc/internal/columninfo.hxx +++ b/shell/inc/internal/columninfo.hxx @@ -36,9 +36,9 @@ public: CColumnInfo(long RefCnt = 1); virtual ~CColumnInfo(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, @@ -48,9 +48,9 @@ public: virtual ULONG STDMETHODCALLTYPE Release( void); - //----------------------------- + // IColumnProvider - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE Initialize(LPCSHCOLUMNINIT psci); diff --git a/shell/inc/internal/fileextensions.hxx b/shell/inc/internal/fileextensions.hxx index f1c82833cad1..119c626da881 100644 --- a/shell/inc/internal/fileextensions.hxx +++ b/shell/inc/internal/fileextensions.hxx @@ -43,13 +43,13 @@ extern FileExtensionEntry OOFileExtensionTable[]; extern size_t OOFileExtensionTableSize; -//--------------------------------- + /** Return the extension of a file name without the '.' */ std::string get_file_name_extension(const std::string& file_name); -//--------------------------------- + /** Return the type of a file */ diff --git a/shell/inc/internal/infotips.hxx b/shell/inc/internal/infotips.hxx index 99eb76013933..ec6615acace8 100644 --- a/shell/inc/internal/infotips.hxx +++ b/shell/inc/internal/infotips.hxx @@ -37,9 +37,9 @@ public: CInfoTip(long RefCnt = 1); virtual ~CInfoTip(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, @@ -49,23 +49,23 @@ public: virtual ULONG STDMETHODCALLTYPE Release( void); - //---------------------------- + // IQueryInfo methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE GetInfoTip(DWORD dwFlags, wchar_t** ppwszTip); virtual HRESULT STDMETHODCALLTYPE GetInfoFlags(DWORD *pdwFlags); - //---------------------------- + // IPersist methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE GetClassID(CLSID* pClassID); - //---------------------------- + // IPersistFile methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE IsDirty(void); diff --git a/shell/inc/internal/iso8601_converter.hxx b/shell/inc/internal/iso8601_converter.hxx index 37be0edd20e0..ee682823cf4f 100644 --- a/shell/inc/internal/iso8601_converter.hxx +++ b/shell/inc/internal/iso8601_converter.hxx @@ -22,14 +22,14 @@ #include <string> -//----------------------------------- + /* Converts ISO 8601 conform date/time represenation to the representation conforming to the current locale */ std::wstring iso8601_date_to_local_date(const std::wstring& iso8601date); -//------------------------------------ + /* Converts ISO 8601 conform duration representation to the representation conforming to the current locale diff --git a/shell/inc/internal/propertyhdl.hxx b/shell/inc/internal/propertyhdl.hxx index 9d1b980e9218..e3ec5bf78ee2 100644 --- a/shell/inc/internal/propertyhdl.hxx +++ b/shell/inc/internal/propertyhdl.hxx @@ -43,32 +43,32 @@ public: CPropertyHdl(long RefCnt = 1); virtual ~CPropertyHdl(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject ); virtual ULONG STDMETHODCALLTYPE AddRef( void ); virtual ULONG STDMETHODCALLTYPE Release( void ); - //----------------------------- + // IPropertyStore - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE GetCount( DWORD *pcProps ); virtual HRESULT STDMETHODCALLTYPE GetAt( DWORD iProp, PROPERTYKEY *pkey ); virtual HRESULT STDMETHODCALLTYPE GetValue( REFPROPERTYKEY key, PROPVARIANT *pPropVar ); virtual HRESULT STDMETHODCALLTYPE SetValue( REFPROPERTYKEY key, REFPROPVARIANT propVar ); virtual HRESULT STDMETHODCALLTYPE Commit(); - //----------------------------- + // IPropertyStoreCapabilities - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE IsPropertyWritable( REFPROPERTYKEY key ); - //----------------------------- + // IInitializeWithStream - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE Initialize(IStream *pStream, DWORD grfMode); private: @@ -86,18 +86,18 @@ public: CClassFactory( const CLSID& clsid ); virtual ~CClassFactory(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); virtual ULONG STDMETHODCALLTYPE AddRef( void ); virtual ULONG STDMETHODCALLTYPE Release( void ); - //----------------------------- + // IClassFactory methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE CreateInstance( IUnknown __RPC_FAR *pUnkOuter, REFIID riid, diff --git a/shell/inc/internal/propsheets.hxx b/shell/inc/internal/propsheets.hxx index b01df9e0ad1a..16c887eb2429 100644 --- a/shell/inc/internal/propsheets.hxx +++ b/shell/inc/internal/propsheets.hxx @@ -39,9 +39,9 @@ public: virtual ~CPropertySheet(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, @@ -51,16 +51,16 @@ public: virtual ULONG STDMETHODCALLTYPE Release( void); - //----------------------------- + // IShellExtInit - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE Initialize( LPCITEMIDLIST pidlFolder, LPDATAOBJECT lpdobj, HKEY hkeyProgID); - //----------------------------- + // IShellPropSheetExt - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE AddPages(LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam); diff --git a/shell/inc/internal/registry.hxx b/shell/inc/internal/registry.hxx index bd9ff7816d63..5738064658e8 100644 --- a/shell/inc/internal/registry.hxx +++ b/shell/inc/internal/registry.hxx @@ -20,9 +20,9 @@ #ifndef INCLUDED_SHELL_INC_INTERNAL_REGISTRY_HXX #define INCLUDED_SHELL_INC_INTERNAL_REGISTRY_HXX -//----------------------------- + // registry helper functions -//----------------------------- + #if defined _MSC_VER #pragma warning(push, 1) diff --git a/shell/inc/internal/thumbviewer.hxx b/shell/inc/internal/thumbviewer.hxx index 4d8ab686e570..b6f9ea4b0916 100644 --- a/shell/inc/internal/thumbviewer.hxx +++ b/shell/inc/internal/thumbviewer.hxx @@ -45,9 +45,9 @@ public: CThumbviewer(long RefCnt = 1); virtual ~CThumbviewer(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, @@ -57,9 +57,9 @@ public: virtual ULONG STDMETHODCALLTYPE Release( void); - //---------------------------- + // IExtractImage methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE Extract(HBITMAP *phBmpImage); @@ -71,15 +71,15 @@ public: DWORD dwRecClrDepth, DWORD *pdwFlags); - //---------------------------- + // IPersist methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE GetClassID(CLSID* pClassID); - //---------------------------- + // IPersistFile methods - //---------------------------- + virtual HRESULT STDMETHODCALLTYPE IsDirty(); diff --git a/shell/inc/internal/types.hxx b/shell/inc/internal/types.hxx index b65fb9215dfd..d1470048fa62 100644 --- a/shell/inc/internal/types.hxx +++ b/shell/inc/internal/types.hxx @@ -32,7 +32,7 @@ typedef std::vector<std::wstring> StringList_t; // XmlTag_t, xml tag including content and attributes. // XmlTags_t, tags defined with tag name and xml tag. // Contents: Definitions of xml tag used in parser. -//-------------------------------------------------------------------------- + typedef std::wstring Name_t; typedef std::wstring Value_t; typedef std::wstring Characters_t; @@ -48,7 +48,7 @@ const XmlTag_t EMPTY_XML_TAG = std::make_pair(std::wstring(), XmlTagAttributes_t // Country_t, country of the Local pair // LocaleSet_t, Local pair // Contents: Definitions of Chunk properties. -//-------------------------------------------------------------------------- + typedef ::std::wstring Language_t; typedef ::std::wstring Country_t; typedef ::std::pair<Language_t, Country_t > LocaleSet_t; @@ -64,7 +64,7 @@ const Chunk_t EMPTY_CHUNK = ::std::make_pair( EMPTY_LOCALE, ::std::wstring()); // Declare: StyleName_t, style name of a style-locale pair. // StyleLocaleMap, the map of Styple-Locale pair. // Contents: Definitions of Style Names. -//-------------------------------------------------------------------------- + typedef ::std::wstring StyleName_t; typedef ::std::pair <StyleName_t, LocaleSet_t> StyleLocalePair_t; typedef ::std::map<StyleName_t, LocaleSet_t> StyleLocaleMap_t; diff --git a/shell/inc/internal/utilities.hxx b/shell/inc/internal/utilities.hxx index 4d423e211134..b11c9aa7d313 100644 --- a/shell/inc/internal/utilities.hxx +++ b/shell/inc/internal/utilities.hxx @@ -60,37 +60,37 @@ extern "C" { #endif -//--------------------------------- + /** Convert a string to a wstring using CP_ACP */ std::wstring StringToWString(const std::string& String); -//--------------------------------- + /** Convert a wstring to a string using CP_ACP */ std::string WStringToString(const std::wstring& String); -//--------------------------------- + /** Convert a string to a wstring using CP_UTF8 */ std::wstring UTF8ToWString(const std::string& String); -//--------------------------------- + /** Retrieve a string from the resources of this module */ std::wstring GetResString(int ResId); -//--------------------------------- + /** Returns whether we are running on Windows XP or not */ bool is_windows_xp_or_above(); -//--------------------------------- + /** helper function to judge if the string is only has spaces. @returns <TRUE>if the provided string contains only but at least one space @@ -103,7 +103,7 @@ bool HasOnlySpaces(const std::wstring& String); Windows Locale Identifier corresponding to input LocaleSet. */ -//--------------------------------- + /** Convert a long path name using Windows api call GetShortPathName */ std::wstring getShortPathName( const std::wstring& aLongName ); @@ -111,7 +111,7 @@ std::wstring getShortPathName( const std::wstring& aLongName ); LCID LocaleSetToLCID( const LocaleSet_t & Locale ); -//---------------------------------------------------------- + #ifdef DEBUG inline void OutputDebugStringFormat( LPCSTR pFormat, ... ) { @@ -127,7 +127,7 @@ static inline void OutputDebugStringFormat( LPCSTR, ... ) { } #endif -//---------------------------------------------------------- + #endif diff --git a/shell/inc/internal/xml_parser.hxx b/shell/inc/internal/xml_parser.hxx index 2d18ecadeb77..80083b105843 100644 --- a/shell/inc/internal/xml_parser.hxx +++ b/shell/inc/internal/xml_parser.hxx @@ -23,7 +23,7 @@ #include <expat.h> #include <stdexcept> -//----------------------------------------------------- + class xml_parser_exception : public std::runtime_error { public: @@ -48,10 +48,10 @@ public: }; -//----------------------------------------------------- + // Simple wrapper around expat, the xml parser library // created by James Clark -//----------------------------------------------------- + class i_xml_parser_event_handler; class xml_parser diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm index 4a095ff75996..25bbe8d506bc 100644 --- a/shell/source/backends/macbe/macbackend.mm +++ b/shell/source/backends/macbe/macbackend.mm @@ -48,9 +48,9 @@ typedef enum { sFTP } ServiceType; -//------------------------------------------------------------------------ + // helper functions -//------------------------------------------------------------------------ + namespace // private { @@ -150,26 +150,26 @@ bool GetProxySetting(ServiceType sType, char *host, size_t hostSize, UInt16 *por } // end private namespace -//------------------------------------------------------------------------------ + MacOSXBackend::MacOSXBackend() { } -//------------------------------------------------------------------------------ + MacOSXBackend::~MacOSXBackend(void) { } -//------------------------------------------------------------------------------ + MacOSXBackend* MacOSXBackend::createInstance() { return new MacOSXBackend; } -// --------------------------------------------------------------------------------------- + rtl::OUString CFStringToOUString(const CFStringRef sOrig) { CFRetain(sOrig); @@ -433,14 +433,14 @@ css::uno::Any MacOSXBackend::getPropertyValue( } } -//------------------------------------------------------------------------------ + rtl::OUString SAL_CALL MacOSXBackend::getBackendName(void) { return rtl::OUString("com.sun.star.comp.configuration.backend.MacOSXBackend"); } -//------------------------------------------------------------------------------ + rtl::OUString SAL_CALL MacOSXBackend::getImplementationName(void) throw (uno::RuntimeException) diff --git a/shell/source/cmdmail/cmdmailmsg.hxx b/shell/source/cmdmail/cmdmailmsg.hxx index f2257fd86144..bc8af9b69f3e 100644 --- a/shell/source/cmdmail/cmdmailmsg.hxx +++ b/shell/source/cmdmail/cmdmailmsg.hxx @@ -28,9 +28,9 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/Reference.hxx> -//---------------------------------------------------------- + // class declaration -//---------------------------------------------------------- + class CmdMailMsg : public cppu::WeakImplHelper2< @@ -51,9 +51,9 @@ public: CmdMailMsg() {}; - //------------------------------------------------ + // XSimpleMailMessage - //------------------------------------------------ + virtual void SAL_CALL setBody( const OUString& aBody ) throw (::com::sun::star::uno::RuntimeException); @@ -97,9 +97,9 @@ public: virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAttachement( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XNameAccess - //------------------------------------------------ + virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); @@ -110,9 +110,9 @@ public: virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XElementAccess - //------------------------------------------------ + virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException); diff --git a/shell/source/cmdmail/cmdmailsuppl.hxx b/shell/source/cmdmail/cmdmailsuppl.hxx index 8c95ea099cd3..593772806161 100644 --- a/shell/source/cmdmail/cmdmailsuppl.hxx +++ b/shell/source/cmdmail/cmdmailsuppl.hxx @@ -29,9 +29,9 @@ #include <com/sun/star/system/XSimpleMailClientSupplier.hpp> -//---------------------------------------------------------- + // class declaration -//---------------------------------------------------------- + class CmdMailSuppl : public cppu::WeakImplHelper3< @@ -45,16 +45,16 @@ class CmdMailSuppl : public: CmdMailSuppl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ); - //------------------------------------------------ + // XSimpleMailClientSupplier - //------------------------------------------------ + virtual ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailClient > SAL_CALL querySimpleMailClient( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XSimpleMailClient - //------------------------------------------------ + virtual ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailMessage > SAL_CALL createSimpleMailMessage( ) throw (::com::sun::star::uno::RuntimeException); @@ -62,9 +62,9 @@ public: virtual void SAL_CALL sendSimpleMailMessage( const ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailMessage >& xSimpleMailMessage, sal_Int32 aFlag ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XServiceInfo - //------------------------------------------------ + virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); diff --git a/shell/source/tools/lngconvex/cmdline.hxx b/shell/source/tools/lngconvex/cmdline.hxx index 2e907903c556..9de7ef307b77 100644 --- a/shell/source/tools/lngconvex/cmdline.hxx +++ b/shell/source/tools/lngconvex/cmdline.hxx @@ -22,7 +22,7 @@ #include "defs.hxx" -//--------------------------------- + /** Simple command line abstraction */ diff --git a/shell/source/unix/exec/shellexec.hxx b/shell/source/unix/exec/shellexec.hxx index 37fe3e2cc481..da8f793b2672 100644 --- a/shell/source/unix/exec/shellexec.hxx +++ b/shell/source/unix/exec/shellexec.hxx @@ -28,9 +28,9 @@ #include <com/sun/star/system/XSystemShellExecute.hpp> -//---------------------------------------------------------- + // class declaration -//---------------------------------------------------------- + class ShellExec : public ::cppu::WeakImplHelper2< com::sun::star::system::XSystemShellExecute, com::sun::star::lang::XServiceInfo > { @@ -41,16 +41,16 @@ class ShellExec : public ::cppu::WeakImplHelper2< com::sun::star::system::XSyste public: ShellExec(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext); - //------------------------------------------------ + // XSystemShellExecute - //------------------------------------------------ + virtual void SAL_CALL execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XServiceInfo - //------------------------------------------------ + virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); diff --git a/shell/source/unix/sysshell/recently_used_file.hxx b/shell/source/unix/sysshell/recently_used_file.hxx index 32bdc05b84f8..335361b0233d 100644 --- a/shell/source/unix/sysshell/recently_used_file.hxx +++ b/shell/source/unix/sysshell/recently_used_file.hxx @@ -28,28 +28,28 @@ class recently_used_file { public: - //---------------------------- + recently_used_file(); - //---------------------------- + ~recently_used_file(); - //---------------------------- + // set file pointer to the start of file void reset() const; - //---------------------------- + void truncate(off_t length = 0); - //---------------------------- + size_t read( char* buffer, size_t size) const; - //---------------------------- + void write(const char* buffer, size_t size) const; - //---------------------------- + bool eof() const; private: diff --git a/shell/source/win32/SysShExec.hxx b/shell/source/win32/SysShExec.hxx index aa01fe863c40..e17b78860f11 100644 --- a/shell/source/win32/SysShExec.hxx +++ b/shell/source/win32/SysShExec.hxx @@ -27,9 +27,9 @@ #include <com/sun/star/system/XSystemShellExecute.hpp> -//---------------------------------------------------------- + // class declaration -//---------------------------------------------------------- + class CSysShExecBase { @@ -49,16 +49,16 @@ class CSysShExec : public: CSysShExec(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext); - //------------------------------------------------ + // XSystemShellExecute - //------------------------------------------------ + virtual void SAL_CALL execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + // XServiceInfo - //------------------------------------------------ + virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); diff --git a/shell/source/win32/shlxthandler/classfactory.hxx b/shell/source/win32/shlxthandler/classfactory.hxx index 37b7146d2a5f..075a2381171a 100644 --- a/shell/source/win32/shlxthandler/classfactory.hxx +++ b/shell/source/win32/shlxthandler/classfactory.hxx @@ -34,9 +34,9 @@ public: CClassFactory(const CLSID& clsid); virtual ~CClassFactory(); - //----------------------------- + // IUnknown methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, @@ -46,9 +46,9 @@ public: virtual ULONG STDMETHODCALLTYPE Release(void); - //----------------------------- + // IClassFactory methods - //----------------------------- + virtual HRESULT STDMETHODCALLTYPE CreateInstance( IUnknown __RPC_FAR *pUnkOuter, diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx index 7f26e1259137..c4a768dedf0f 100644 --- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx +++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx @@ -26,7 +26,7 @@ // the extension .sxw .sxi, etc) and ODF files and extract // their content, author, keywords,subject,comments and title // to be filtered. -// + // Platform: Windows 2000, Windows XP #include "internal/contentreader.hxx" diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx index 6fd350b8ec93..7c3d58e19a3c 100644 --- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx +++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx @@ -22,20 +22,20 @@ //+------------------------------------------------------------------------- // Contents: LibreOffice filter declarations // Platform: Windows 2000, Windows XP -//-------------------------------------------------------------------------- + #pragma once //+------------------------------------------------------------------------- // forward declaration -//-------------------------------------------------------------------------- + class CContentReader; class CMetaInfoReader; class CFullPropSpec; //+------------------------------------------------------------------------- // Global definitions -//-------------------------------------------------------------------------- + long g_lInstances = 0; // Global count of COooFilter and COooFilterCF instances GUID const guidStorage = PSGUID_STORAGE; // GUID for storage property set @@ -43,7 +43,7 @@ GUID const guidStorage = PSGUID_STORAGE; // GUID for storage property set //C------------------------------------------------------------------------- // Class: COooFilter // Purpose: Implements interfaces of LibreOffice filter -//-------------------------------------------------------------------------- + // OooFilter Class ID // {7BC0E710-5703-45be-A29D-5D46D8B39262} @@ -163,7 +163,7 @@ private: //C------------------------------------------------------------------------- // Class: COooFilterCF // Purpose: Implements class factory for LibreOffice filter -//-------------------------------------------------------------------------- + class COooFilterCF : public IClassFactory { diff --git a/shell/source/win32/shlxthandler/ooofilt/propspec.hxx b/shell/source/win32/shlxthandler/ooofilt/propspec.hxx index 5ea11c9064f1..b9606ddd800f 100644 --- a/shell/source/win32/shlxthandler/ooofilt/propspec.hxx +++ b/shell/source/win32/shlxthandler/ooofilt/propspec.hxx @@ -19,7 +19,7 @@ //+------------------------------------------------------------------------- // File: propspec.hxx // Contents: C++ wrapper(s) for FULLPROPSPEC -//------------------------------------------------------------------------- + #pragma once #if defined _MSC_VER #pragma warning(push, 1) @@ -34,12 +34,12 @@ // Declare: CLSID_SummaryInforation, GUID // CLSID_Storage, GUID // Contents: Definitions of OpenOffice.org Document properties -//-------------------------------------------------------------------------- + //+------------------------------------------------------------------------- // Class: CFullPropertySpec // Purpose: Describes full (PropertySet\Property) name of a property. -//-------------------------------------------------------------------------- + class CFullPropSpec { diff --git a/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx b/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx index 5fa6ed52ab51..1216f4af2a79 100644 --- a/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx +++ b/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx @@ -26,7 +26,7 @@ #include "internal/metainforeader.hxx" -//------------------------------------ + struct statistic_item { @@ -46,20 +46,20 @@ struct statistic_item bool editable_; }; -//------------------------------------ + typedef std::vector<statistic_item> statistic_item_list_t; typedef std::pair<std::wstring, statistic_item_list_t> statistic_group_t; typedef std::vector<statistic_group_t> statistic_group_list_t; -//------------------------------------ + class document_statistic_reader; typedef std::auto_ptr<document_statistic_reader> document_statistic_reader_ptr; document_statistic_reader_ptr create_document_statistic_reader(const std::string& document_name, CMetaInfoReader* meta_info_accessor); -//------------------------------------ + class document_statistic_reader { @@ -85,7 +85,7 @@ private: const std::string& document_name, CMetaInfoReader* meta_info_accessor); }; -//------------------------------------ + class writer_document_statistic_reader : public document_statistic_reader { @@ -98,7 +98,7 @@ protected: const std::string& document_name, CMetaInfoReader* meta_info_accessor); }; -//------------------------------------ + class calc_document_statistic_reader : public document_statistic_reader { @@ -111,7 +111,7 @@ protected: const std::string& document_name, CMetaInfoReader* meta_info_accessor); }; -//------------------------------------ + class draw_impress_math_document_statistic_reader : public document_statistic_reader { diff --git a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.hxx b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.hxx index 420a657413ed..68078f048e9c 100644 --- a/shell/source/win32/shlxthandler/propsheets/listviewbuilder.hxx +++ b/shell/source/win32/shlxthandler/propsheets/listviewbuilder.hxx @@ -32,7 +32,7 @@ #include <memory> #include "document_statistic.hxx" -//------------------------------------ + class list_view_builder; typedef std::auto_ptr<list_view_builder> list_view_builder_ptr; @@ -41,7 +41,7 @@ typedef std::auto_ptr<list_view_builder> list_view_builder_ptr; list_view_builder_ptr create_list_view_builder( HWND hwnd_lv, const std::wstring& col1, const std::wstring& col2); -//------------------------------------ + class list_view_builder { @@ -73,7 +73,7 @@ private: friend list_view_builder_ptr create_list_view_builder(HWND hwnd_lv, const std::wstring& col1, const std::wstring& col2); }; -//------------------------------------ + class winxp_list_view_builder : public list_view_builder { diff --git a/shell/source/win32/simplemail/smplmailmsg.hxx b/shell/source/win32/simplemail/smplmailmsg.hxx index fb3929f7e0b1..9cf2c384a9fe 100644 --- a/shell/source/win32/simplemail/smplmailmsg.hxx +++ b/shell/source/win32/simplemail/smplmailmsg.hxx @@ -25,9 +25,9 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/system/XSimpleMailMessage2.hpp> -//---------------------------------------------------------- + // class declaration -//---------------------------------------------------------- + class CSmplMailMsg : public cppu::WeakImplHelper1< com::sun::star::system::XSimpleMailMessage2 > @@ -41,7 +41,7 @@ public: virtual ::rtl::OUString SAL_CALL getBody( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setRecipient( const OUString& aRecipient ) throw (::com::sun::star::uno::RuntimeException); @@ -49,7 +49,7 @@ public: virtual OUString SAL_CALL getRecipient( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setCcRecipient( const ::com::sun::star::uno::Sequence< OUString >& aCcRecipient ) throw (::com::sun::star::uno::RuntimeException); @@ -57,7 +57,7 @@ public: virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getCcRecipient( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setBccRecipient( const ::com::sun::star::uno::Sequence< OUString >& aBccRecipient ) throw (::com::sun::star::uno::RuntimeException); @@ -65,7 +65,7 @@ public: virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getBccRecipient( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setOriginator( const OUString& aOriginator ) throw (::com::sun::star::uno::RuntimeException); @@ -73,7 +73,7 @@ public: virtual OUString SAL_CALL getOriginator( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setSubject( const OUString& aSubject ) throw (::com::sun::star::uno::RuntimeException); @@ -81,7 +81,7 @@ public: virtual OUString SAL_CALL getSubject( ) throw (::com::sun::star::uno::RuntimeException); - //------------------------------------------------ + virtual void SAL_CALL setAttachement( const ::com::sun::star::uno::Sequence< OUString >& aAttachement ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); diff --git a/shell/source/win32/zipfile/zipexcptn.hxx b/shell/source/win32/zipfile/zipexcptn.hxx index 52cfc51c18aa..53159ff15929 100644 --- a/shell/source/win32/zipfile/zipexcptn.hxx +++ b/shell/source/win32/zipfile/zipexcptn.hxx @@ -24,7 +24,7 @@ #include <stdexcept> -//------------------------------------------ + /** */ class RuntimeException : public std::exception @@ -39,7 +39,7 @@ private: int m_Error; }; -//------------------------------------------ + /** */ class ZipException : public RuntimeException @@ -50,7 +50,7 @@ public: virtual const char* what() const throw(); }; -//------------------------------------------ + /** */ class Win32Exception : public RuntimeException @@ -65,7 +65,7 @@ private: void* m_MsgBuff; }; -//------------------------------------------ + /** */ class ZipContentMissException : public ZipException @@ -74,7 +74,7 @@ public: ZipContentMissException(int Error); }; -//------------------------------------------ + /** */ class AccessViolationException : public Win32Exception @@ -83,7 +83,7 @@ public: AccessViolationException(int Error); }; -//------------------------------------------ + /** */ class IOException : public Win32Exception |