diff options
Diffstat (limited to 'sw/source/core/unocore/unostyle.cxx')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 891cb9f45bd6..2f0b67036a09 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -631,16 +631,13 @@ sal_Bool SwXStyleFamily::hasByName(const OUString& rName) throw( uno::RuntimeExc } uno::Type SwXStyleFamily::getElementType() throw( uno::RuntimeException, std::exception ) -{ - return cppu::UnoType<style::XStyle>::get(); - -} + { return cppu::UnoType<style::XStyle>::get(); } sal_Bool SwXStyleFamily::hasElements() throw( uno::RuntimeException, std::exception ) { if(!m_pBasePool) throw uno::RuntimeException(); - return sal_True; + return true; } void SwXStyleFamily::insertByName(const OUString& rName, const uno::Any& rElement) |