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

Philipp Hofer (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 18 11:15:38 UTC 2020


 solenv/clang-format/excludelist                |    3 ---
 ucbhelper/source/client/activedatasink.cxx     |    9 ++-------
 ucbhelper/source/client/activedatastreamer.cxx |    8 ++------
 ucbhelper/source/client/activedatastreamer.hxx |   11 ++++-------
 4 files changed, 8 insertions(+), 23 deletions(-)

New commits:
commit 8e7f1188899023de3be07c99f146196b39dfd584
Author:     Philipp Hofer <philipp.hofer at protonmail.com>
AuthorDate: Thu Nov 12 13:23:57 2020 +0100
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Nov 18 12:14:56 2020 +0100

    tdf#123936 Formatting files in module ucbhelper with clang-format
    
    Change-Id: Ic18cb095646f060046f83663f7b369533ffb481a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105723
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index ce665e06989d..04317cf9cd4a 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -15593,9 +15593,6 @@ ucb/source/ucp/webdav/webdavresponseparser.hxx
 ucb/source/ucp/webdav/webdavresultset.cxx
 ucb/source/ucp/webdav/webdavresultset.hxx
 ucb/source/ucp/webdav/webdavservices.cxx
-ucbhelper/source/client/activedatasink.cxx
-ucbhelper/source/client/activedatastreamer.cxx
-ucbhelper/source/client/activedatastreamer.hxx
 ucbhelper/source/client/commandenvironment.cxx
 ucbhelper/source/client/content.cxx
 ucbhelper/source/client/interceptedinteraction.cxx
diff --git a/ucbhelper/source/client/activedatasink.cxx b/ucbhelper/source/client/activedatasink.cxx
index bf92699de69b..fdbcbdccb977 100644
--- a/ucbhelper/source/client/activedatasink.cxx
+++ b/ucbhelper/source/client/activedatasink.cxx
@@ -17,7 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-
 /**************************************************************************
                                 TODO
  **************************************************************************
@@ -33,17 +32,13 @@ namespace ucbhelper
 // XActiveDataSink methods.
 
 // virtual
-void SAL_CALL ActiveDataSink::setInputStream( const uno::Reference< io::XInputStream >& aStream )
+void SAL_CALL ActiveDataSink::setInputStream(const uno::Reference<io::XInputStream>& aStream)
 {
     m_xStream = aStream;
 }
 
-
 // virtual
-uno::Reference< io::XInputStream > SAL_CALL ActiveDataSink::getInputStream()
-{
-    return m_xStream;
-}
+uno::Reference<io::XInputStream> SAL_CALL ActiveDataSink::getInputStream() { return m_xStream; }
 
 } // namespace ucbhelper
 
diff --git a/ucbhelper/source/client/activedatastreamer.cxx b/ucbhelper/source/client/activedatastreamer.cxx
index aab9cef0df29..8438cae49f53 100644
--- a/ucbhelper/source/client/activedatastreamer.cxx
+++ b/ucbhelper/source/client/activedatastreamer.cxx
@@ -17,7 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-
 /**************************************************************************
                                 TODO
  **************************************************************************
@@ -34,16 +33,13 @@ namespace ucbhelper
 // XActiveDataStreamer methods.
 
 // virtual
-void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >& xStream )
+void SAL_CALL ActiveDataStreamer::setStream(const uno::Reference<io::XStream>& xStream)
 {
     m_xStream = xStream;
 }
 
 // virtual
-uno::Reference< io::XStream > SAL_CALL ActiveDataStreamer::getStream()
-{
-    return m_xStream;
-}
+uno::Reference<io::XStream> SAL_CALL ActiveDataStreamer::getStream() { return m_xStream; }
 
 } // namespace ucbhelper
 
diff --git a/ucbhelper/source/client/activedatastreamer.hxx b/ucbhelper/source/client/activedatastreamer.hxx
index ae4f53736913..84ee10ac96df 100644
--- a/ucbhelper/source/client/activedatastreamer.hxx
+++ b/ucbhelper/source/client/activedatastreamer.hxx
@@ -25,23 +25,20 @@
 
 namespace ucbhelper
 {
-
-
 /**
   * This class implements the interface css::io::XActiveDataStreamer.
   * Instances of this class can be passed with the parameters of an
   * "open" command.
   */
 
-class ActiveDataStreamer final :
-        public cppu::WeakImplHelper< css::io::XActiveDataStreamer >
+class ActiveDataStreamer final : public cppu::WeakImplHelper<css::io::XActiveDataStreamer>
 {
-    css::uno::Reference< css::io::XStream > m_xStream;
+    css::uno::Reference<css::io::XStream> m_xStream;
 
 public:
     // XActiveDataStreamer methods.
-    virtual void SAL_CALL setStream( const css::uno::Reference< css::io::XStream >& xStream ) override;
-    virtual css::uno::Reference< css::io::XStream > SAL_CALL getStream() override;
+    virtual void SAL_CALL setStream(const css::uno::Reference<css::io::XStream>& xStream) override;
+    virtual css::uno::Reference<css::io::XStream> SAL_CALL getStream() override;
 };
 
 } /* namespace ucbhelper */


More information about the Libreoffice-commits mailing list