diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-10 23:21:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-11 08:57:37 +0100 |
commit | aad6e593f7e856f716de57304e007fec789e37eb (patch) | |
tree | 344200954835695e9176cc4ab6a5a21504699b0f /sw/source | |
parent | e28ed8c0fb2ffcf5d3a282563ee3a1bf5687b875 (diff) |
loplugin:salcall (clang-cl)
Change-Id: I31018af8d992c9496f01a72925e24d9b362e340d
Reviewed-on: https://gerrit.libreoffice.org/46204
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 781abb30f833..5a31f787a55d 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -205,9 +205,9 @@ namespace sw virtual uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override; //XElementAccess - virtual uno::Type SAL_CALL SAL_CALL getElementType( ) override + virtual uno::Type SAL_CALL getElementType( ) override { return cppu::UnoType<style::XStyle>::get(); }; - virtual sal_Bool SAL_CALL SAL_CALL hasElements( ) override + virtual sal_Bool SAL_CALL hasElements( ) override { if(!m_pBasePool) throw uno::RuntimeException(); |