diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-05 20:25:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-08 18:01:27 +0100 |
commit | a31267be1bb42e8a5f80a3b660bbf969eeb5b647 (patch) | |
tree | 87cfce9b6570c2ec347c3727416eded53a7b01e4 /dbaccess | |
parent | fix for empty paragraphs (diff) | |
download | core-a31267be1bb42e8a5f80a3b660bbf969eeb5b647.tar.gz core-a31267be1bb42e8a5f80a3b660bbf969eeb5b647.zip |
Fix isSalCallFunction so it also works on Windows
...where FunctionDecl::getReturnTypeSourceRange returns an invalid range because
it fails to take AttributedTypeLoc (as caused by SAL_CALL -> __cdecl) into
account.
Change-Id: I7835dfca7b890ba1bfdb99adaad78a627b6e0e17
Reviewed-on: https://gerrit.libreoffice.org/45909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/inc/definitioncontainer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/inc/definitioncontainer.hxx b/dbaccess/source/core/inc/definitioncontainer.hxx index 9b3bb4cb626d..394d95761ebd 100644 --- a/dbaccess/source/core/inc/definitioncontainer.hxx +++ b/dbaccess/source/core/inc/definitioncontainer.hxx @@ -292,7 +292,7 @@ protected: ListenerType _eType ); - SAL_CALL operator css::uno::Reference< css::uno::XInterface > () const + operator css::uno::Reference< css::uno::XInterface > () const { return const_cast< XContainer* >( static_cast< const XContainer* >( this ) ); } |