diff options
Diffstat (limited to 'sc/source/ui/vba/vbawindows.cxx')
-rw-r--r-- | sc/source/ui/vba/vbawindows.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbawindows.cxx b/sc/source/ui/vba/vbawindows.cxx index f50c0104f36d..f812d11b15db 100644 --- a/sc/source/ui/vba/vbawindows.cxx +++ b/sc/source/ui/vba/vbawindows.cxx @@ -159,7 +159,7 @@ public: //XElementAccess virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException) { - return sheet::XSpreadsheetDocument::static_type(0); + return cppu::UnoType<sheet::XSpreadsheetDocument>::get(); } virtual ::sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException) @@ -214,7 +214,7 @@ ScVbaWindows::createCollectionObject( const css::uno::Any& aSource ) uno::Type ScVbaWindows::getElementType() throw (uno::RuntimeException) { - return excel::XWindows::static_type(0); + return cppu::UnoType<excel::XWindows>::get(); } |