diff options
Diffstat (limited to 'sc/source/ui/vba/vbawindow.cxx')
-rw-r--r-- | sc/source/ui/vba/vbawindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 9aa8f2311b1a..67b5c3aebb27 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -150,7 +150,7 @@ public: //XElementAccess virtual uno::Type SAL_CALL getElementType( ) throw (uno::RuntimeException) { - return excel::XWorksheet::static_type(0); + return cppu::UnoType<excel::XWorksheet>::get(); } virtual ::sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException) |