diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-10-25 18:15:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-10-25 20:59:38 +0200 |
commit | d306f889d16c9ff90d29859a959dff70d5e31e10 (patch) | |
tree | 75d5beb38bff1326847ffc171b466df048cb5f16 /vcl/unx/gtk3 | |
parent | 61cf196631a2a846e0d3b8b83c0805cf4d1d14b2 (diff) |
Fix build in vcl
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx: In function ‘AtkObject* atk_object_wrapper_new(const com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible>&, AtkObject*, AtkObject*)’:
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:866:53: error: ‘XAccessibleContext2’ is not a member of ‘com::sun::star::accessibility’; did you mean ‘XAccessibleContext’?
866 | css::uno::Reference<css::accessibility::XAccessibleContext2> xContext2(xContext, css::uno::UNO_QUERY);
| ^~~~~~~~~~~~~~~~~~~
| XAccessibleContext
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:866:72: error: template argument 1 is invalid
866 | css::uno::Reference<css::accessibility::XAccessibleContext2> xContext2(xContext, css::uno::UNO_QUERY);
| ^
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:866:113: error: expression list treated as compound expression in initializer [-fpermissive]
866 | css::uno::Reference<css::accessibility::XAccessibleContext2> xContext2(xContext, css::uno::UNO_QUERY);
| ^
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:866:84: error: left operand of comma operator has no effect [-Werror=unused-value]
866 | css::uno::Reference<css::accessibility::XAccessibleContext2> xContext2(xContext, css::uno::UNO_QUERY);
| ^~~~~~~~
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:867:27: error: request for member ‘is’ in ‘xContext2’, which is of non-class type ‘int’
867 | if( xContext2.is() )
| ^~
/home/julien/lo/libreoffice/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx:869:59: error: base operand of ‘->’ is not a pointer
869 | OString aId = OUStringToOString( xContext2->getAccessibleId(), RTL_TEXTENCODING_UTF8);
Due to https://cgit.freedesktop.org/libreoffice/core/commit/?id=07359ea21cf27e29d3e642d6ff1851155888a875
Change-Id: I61967a41f43a31199369e5c25e008259ca3786dc
Reviewed-on: https://gerrit.libreoffice.org/81514
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r-- | vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx b/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx index a4eb72add4b4..15e2b2af08a9 100644 --- a/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx +++ b/vcl/unx/gtk3/a11y/gtk3atkwrapper.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/accessibility/XAccessibleValue.hpp> #include <com/sun/star/accessibility/XAccessibleAction.hpp> #include <com/sun/star/accessibility/XAccessibleContext.hpp> +#include <com/sun/star/accessibility/XAccessibleContext2.hpp> #include <com/sun/star/accessibility/XAccessibleComponent.hpp> #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp> #include <com/sun/star/accessibility/XAccessibleStateSet.hpp> |