summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-05 20:25:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-08 18:01:27 +0100
commita31267be1bb42e8a5f80a3b660bbf969eeb5b647 (patch)
tree87cfce9b6570c2ec347c3727416eded53a7b01e4 /dbaccess
parentbde22bd6da4568e3a1fd35b5f822d6de06e477a4 (diff)
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.hxx2
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 ) );
}