diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:23:57 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-11-18 12:14:56 +0100 |
commit | 8e7f1188899023de3be07c99f146196b39dfd584 (patch) | |
tree | 8254aece17ab3a78893a8511af8e6e0f02f6f3d8 /ucbhelper/source | |
parent | 1582d9a2c5ef9f28bc97a74e25c3948a7611fac1 (diff) |
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@googlemail.com>
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/client/activedatasink.cxx | 9 | ||||
-rw-r--r-- | ucbhelper/source/client/activedatastreamer.cxx | 8 | ||||
-rw-r--r-- | ucbhelper/source/client/activedatastreamer.hxx | 11 |
3 files changed, 8 insertions, 20 deletions
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 */ |