diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-04 12:55:07 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-05 09:29:24 -0600 |
commit | 66f2c35fac22a235a1e491824126f105e6d3869c (patch) | |
tree | 0d3d10e637346a26cafda20b789d4ad78836cf9e /include/ucbhelper | |
parent | 578bd15399a16b0a32e752e19ae42d989321d731 (diff) |
de-macroize XINTERFACE_DECL
Change-Id: Iaa1cf999189f6b62547c208eadc38150400ca0fe
Reviewed-on: https://gerrit.libreoffice.org/8454
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r-- | include/ucbhelper/activedatasink.hxx | 9 | ||||
-rw-r--r-- | include/ucbhelper/activedatastreamer.hxx | 9 | ||||
-rw-r--r-- | include/ucbhelper/commandenvironment.hxx | 7 | ||||
-rw-r--r-- | include/ucbhelper/contenthelper.hxx | 7 | ||||
-rw-r--r-- | include/ucbhelper/contentinfo.hxx | 14 | ||||
-rw-r--r-- | include/ucbhelper/macros.hxx | 17 | ||||
-rw-r--r-- | include/ucbhelper/propertyvalueset.hxx | 7 | ||||
-rw-r--r-- | include/ucbhelper/providerhelper.hxx | 10 | ||||
-rw-r--r-- | include/ucbhelper/resultset.hxx | 7 | ||||
-rw-r--r-- | include/ucbhelper/resultsethelper.hxx | 7 | ||||
-rw-r--r-- | include/ucbhelper/resultsetmetadata.hxx | 7 |
11 files changed, 68 insertions, 33 deletions
diff --git a/include/ucbhelper/activedatasink.hxx b/include/ucbhelper/activedatasink.hxx index deaf6aca4205..5adf7be58fe0 100644 --- a/include/ucbhelper/activedatasink.hxx +++ b/include/ucbhelper/activedatasink.hxx @@ -45,8 +45,13 @@ class UCBHELPER_DLLPUBLIC ActiveDataSink : public cppu::OWeakObject, com::sun::star::io::XInputStream > m_xStream; public: - // XInterface - XINTERFACE_DECL() + // XInterface + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/activedatastreamer.hxx b/include/ucbhelper/activedatastreamer.hxx index 799f7ee500d8..0c1af6a52056 100644 --- a/include/ucbhelper/activedatastreamer.hxx +++ b/include/ucbhelper/activedatastreamer.hxx @@ -44,8 +44,13 @@ class ActiveDataStreamer : public cppu::OWeakObject, com::sun::star::io::XStream > m_xStream; public: - // XInterface - XINTERFACE_DECL() + // XInterface + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/commandenvironment.hxx b/include/ucbhelper/commandenvironment.hxx index 1c9ce54a4741..9a6ad0b8db3a 100644 --- a/include/ucbhelper/commandenvironment.hxx +++ b/include/ucbhelper/commandenvironment.hxx @@ -70,7 +70,12 @@ public: virtual ~CommandEnvironment(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx index e1318eb6a618..674a49afcc9c 100644 --- a/include/ucbhelper/contenthelper.hxx +++ b/include/ucbhelper/contenthelper.hxx @@ -324,7 +324,12 @@ public: virtual ~ContentImplHelper(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/contentinfo.hxx b/include/ucbhelper/contentinfo.hxx index fbaa877cdb34..212c22e73665 100644 --- a/include/ucbhelper/contentinfo.hxx +++ b/include/ucbhelper/contentinfo.hxx @@ -68,7 +68,12 @@ public: virtual ~PropertySetInfo(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() @@ -126,7 +131,12 @@ public: virtual ~CommandProcessorInfo(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx index e8b8cee3a8f8..c6f31a6b9baf 100644 --- a/include/ucbhelper/macros.hxx +++ b/include/ucbhelper/macros.hxx @@ -37,23 +37,6 @@ -// XInterface decl. - - - -#define XINTERFACE_DECL() \ - virtual com::sun::star::uno::Any SAL_CALL \ - queryInterface( const com::sun::star::uno::Type & rType ) \ - throw( com::sun::star::uno::RuntimeException, std::exception ); \ - virtual void SAL_CALL \ - acquire() \ - throw(); \ - virtual void SAL_CALL \ - release() \ - throw(); - - - // XInterface impl. internals. diff --git a/include/ucbhelper/propertyvalueset.hxx b/include/ucbhelper/propertyvalueset.hxx index 1a65aba46869..e2c6ed5263f8 100644 --- a/include/ucbhelper/propertyvalueset.hxx +++ b/include/ucbhelper/propertyvalueset.hxx @@ -79,7 +79,12 @@ public: virtual ~PropertyValueSet(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/providerhelper.hxx b/include/ucbhelper/providerhelper.hxx index 88c1118d37be..908e91c91ea8 100644 --- a/include/ucbhelper/providerhelper.hxx +++ b/include/ucbhelper/providerhelper.hxx @@ -142,10 +142,12 @@ public: // XInterface - - - XINTERFACE_DECL() - + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx index 67e86b6257b4..4d3a43d1dd3e 100644 --- a/include/ucbhelper/resultset.hxx +++ b/include/ucbhelper/resultset.hxx @@ -108,7 +108,12 @@ public: virtual ~ResultSet(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/resultsethelper.hxx b/include/ucbhelper/resultsethelper.hxx index 60dbbcfc1eed..ed8ae971a0f4 100644 --- a/include/ucbhelper/resultsethelper.hxx +++ b/include/ucbhelper/resultsethelper.hxx @@ -135,7 +135,12 @@ public: virtual ~ResultSetImplHelper(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() diff --git a/include/ucbhelper/resultsetmetadata.hxx b/include/ucbhelper/resultsetmetadata.hxx index d663b3898685..72d4af441f4d 100644 --- a/include/ucbhelper/resultsetmetadata.hxx +++ b/include/ucbhelper/resultsetmetadata.hxx @@ -194,7 +194,12 @@ public: virtual ~ResultSetMetaData(); // XInterface - XINTERFACE_DECL() + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) + throw( css::uno::RuntimeException, std::exception ); + virtual void SAL_CALL acquire() + throw(); + virtual void SAL_CALL release() + throw(); // XTypeProvider XTYPEPROVIDER_DECL() |