diff options
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/Theme.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx index 151cfed648e2..701a09474082 100644 --- a/sfx2/source/sidebar/Theme.cxx +++ b/sfx2/source/sidebar/Theme.cxx @@ -904,22 +904,22 @@ cssu::Type Theme::GetCppuType (const PropertyType eType) switch(eType) { case PT_Image: - return getCppuType((rtl::OUString*)NULL); + return cppu::UnoType<rtl::OUString>::get(); case PT_Color: - return getCppuType((sal_uInt32*)NULL); + return cppu::UnoType<sal_uInt32>::get(); case PT_Paint: return getCppuVoidType(); case PT_Integer: - return getCppuType((sal_Int32*)NULL); + return cppu::UnoType<sal_Int32>::get(); case PT_Boolean: - return getCppuType((sal_Bool*)NULL); + return cppu::UnoType<sal_Bool>::get(); case PT_Rectangle: - return getCppuType((awt::Rectangle*)NULL); + return cppu::UnoType<awt::Rectangle>::get(); case PT_Invalid: default: |