[Libreoffice-commits] core.git: embeddedobj/source solenv/clang-format

Philipp Hofer (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 13 07:18:37 UTC 2020


 embeddedobj/source/msole/advisesink.hxx     |   12 ++++++------
 embeddedobj/source/msole/closepreventer.cxx |   10 +++++-----
 solenv/clang-format/excludelist             |    2 --
 3 files changed, 11 insertions(+), 13 deletions(-)

New commits:
commit 2c771b7b79a206987241b595712b9026fdcb5e89
Author:     Philipp Hofer <philipp.hofer at protonmail.com>
AuthorDate: Thu Nov 12 12:55:22 2020 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Fri Nov 13 08:17:42 2020 +0100

    tdf#123936 Formatting files in module embeddedobj with clang-format
    
    Change-Id: If177567a6e5ac934dec11a4b873005f563d77689
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105664
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/embeddedobj/source/msole/advisesink.hxx b/embeddedobj/source/msole/advisesink.hxx
index 1d54c20a14f0..cd1bc3892865 100644
--- a/embeddedobj/source/msole/advisesink.hxx
+++ b/embeddedobj/source/msole/advisesink.hxx
@@ -32,7 +32,7 @@ protected:
     OleComponent* m_pOleComp;
 
 public:
-    OleWrapperAdviseSink( OleComponent* pOleComp );
+    OleWrapperAdviseSink(OleComponent* pOleComp);
     OleWrapperAdviseSink();
     virtual ~OleWrapperAdviseSink();
 
@@ -41,11 +41,11 @@ public:
     STDMETHODIMP_(ULONG) AddRef() override;
     STDMETHODIMP_(ULONG) Release() override;
 
-    STDMETHODIMP_(void)  OnDataChange(FORMATETC *, STGMEDIUM *) override;
-    STDMETHODIMP_(void)  OnViewChange(DWORD, LONG) override;
-    STDMETHODIMP_(void)  OnRename(IMoniker *) override;
-    STDMETHODIMP_(void)  OnSave() override;
-    STDMETHODIMP_(void)  OnClose() override;
+    STDMETHODIMP_(void) OnDataChange(FORMATETC*, STGMEDIUM*) override;
+    STDMETHODIMP_(void) OnViewChange(DWORD, LONG) override;
+    STDMETHODIMP_(void) OnRename(IMoniker*) override;
+    STDMETHODIMP_(void) OnSave() override;
+    STDMETHODIMP_(void) OnClose() override;
 };
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embeddedobj/source/msole/closepreventer.cxx b/embeddedobj/source/msole/closepreventer.cxx
index 00596030ace9..4669758982f8 100644
--- a/embeddedobj/source/msole/closepreventer.cxx
+++ b/embeddedobj/source/msole/closepreventer.cxx
@@ -22,21 +22,21 @@
 #include <com/sun/star/util/CloseVetoException.hpp>
 #include <osl/diagnose.h>
 
-void SAL_CALL OClosePreventer::queryClosing( const css::lang::EventObject&, sal_Bool  )
+void SAL_CALL OClosePreventer::queryClosing(const css::lang::EventObject&, sal_Bool)
 {
     throw css::util::CloseVetoException();
 }
 
-void SAL_CALL OClosePreventer::notifyClosing( const css::lang::EventObject& )
+void SAL_CALL OClosePreventer::notifyClosing(const css::lang::EventObject&)
 {
     // just a disaster
-    OSL_FAIL( "The object can not be prevented from closing!" );
+    OSL_FAIL("The object can not be prevented from closing!");
 }
 
-void SAL_CALL OClosePreventer::disposing( const css::lang::EventObject& )
+void SAL_CALL OClosePreventer::disposing(const css::lang::EventObject&)
 {
     // just a disaster
-    OSL_FAIL( "The object can not be prevented from closing!" );
+    OSL_FAIL("The object can not be prevented from closing!");
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index 18e31bee0169..82f1cb4b4dc2 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -3831,8 +3831,6 @@ embeddedobj/source/inc/specialobject.hxx
 embeddedobj/source/inc/targetstatecontrol.hxx
 embeddedobj/source/inc/xcreator.hxx
 embeddedobj/source/msole/advisesink.cxx
-embeddedobj/source/msole/advisesink.hxx
-embeddedobj/source/msole/closepreventer.cxx
 embeddedobj/source/msole/graphconvert.cxx
 embeddedobj/source/msole/graphconvert.hxx
 embeddedobj/source/msole/mtnotification.hxx


More information about the Libreoffice-commits mailing list