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 /shell/source | |
parent | Remove visual noise from starmath (diff) | |
download | core-d18a2753d5a6e29312e08365f7d9a512a92b998e.tar.gz core-d18a2753d5a6e29312e08365f7d9a512a92b998e.zip |
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>
Diffstat (limited to 'shell/source')
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 16 | ||||
-rw-r--r-- | shell/source/cmdmail/cmdmailmsg.hxx | 16 | ||||
-rw-r--r-- | shell/source/cmdmail/cmdmailsuppl.hxx | 16 | ||||
-rw-r--r-- | shell/source/tools/lngconvex/cmdline.hxx | 2 | ||||
-rw-r--r-- | shell/source/unix/exec/shellexec.hxx | 12 | ||||
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file.hxx | 14 | ||||
-rw-r--r-- | shell/source/win32/SysShExec.hxx | 12 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/classfactory.hxx | 8 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/ooofilt.hxx | 10 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/propspec.hxx | 6 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/propsheets/document_statistic.hxx | 14 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/propsheets/listviewbuilder.hxx | 6 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailmsg.hxx | 16 | ||||
-rw-r--r-- | shell/source/win32/zipfile/zipexcptn.hxx | 12 |
15 files changed, 81 insertions, 81 deletions
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 |