diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-12 11:09:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-12 11:10:10 +0100 |
commit | 83e191e25da8a508a2dafad339c0ee58e97c5c8b (patch) | |
tree | 41ffadeda7fcf325b0d0bdd5764fe4bd7282319e /sw/source/ui/vba/vbaheadersfooters.cxx | |
parent | 7bf2f528ef22f50aa167ba57f2e25d4452977060 (diff) |
Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead.
Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
Diffstat (limited to 'sw/source/ui/vba/vbaheadersfooters.cxx')
-rw-r--r-- | sw/source/ui/vba/vbaheadersfooters.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx index 69fa3f942d0f..d5f52910fbdd 100644 --- a/sw/source/ui/vba/vbaheadersfooters.cxx +++ b/sw/source/ui/vba/vbaheadersfooters.cxx @@ -52,7 +52,7 @@ public: } virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException) { - return word::XHeaderFooter::static_type(0); + return cppu::UnoType<word::XHeaderFooter>::get(); } virtual sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException) { @@ -104,7 +104,7 @@ uno::Any SAL_CALL SwVbaHeadersFooters::Item( const uno::Any& Index1, const uno:: uno::Type SwVbaHeadersFooters::getElementType() throw (uno::RuntimeException) { - return word::XHeaderFooter::static_type(0); + return cppu::UnoType<word::XHeaderFooter>::get(); } uno::Reference< container::XEnumeration > |