Build error: 'GetMap' is a protected member of 'SwAccessibleContext'

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Apr 23 18:48:13 UTC 2017


Hey,

On Sat, Apr 22, 2017 at 9:42 PM, Luke Benes <lukebenes at hotmail.com> wrote:

> With Ubuntu 17.04 x86-64, after commit: https://cgit.
> freedesktop.org/libreoffice/core/commit/sw/source/core/
> access/accmap.cxx?id=c99f72bebdce6d294eb47e070fa1397a98ba2087
>
> sw: fix a11y crash on double Dispose
>
> I'm getting the following build error
>
>
> [CXX] sw/source/core/access/accmap.cxx
> [CXX] sw/source/core/access/accnotextframe.cxx
> [CXX] sw/source/core/access/accnotexthyperlink.cxx
> [CXX] sw/source/core/access/accpage.cxx
> [CXX] sw/source/core/access/accpara.cxx
> /sw/source/core/access/accmap.cxx:2393:31: error: 'GetMap' is a protected
> member of 'SwAccessibleContext'
>                 if (xAccImpl->GetMap()) // not if disposed by FireEvents()
>                     ~~~~~~~~~~^~~~~~
> /sw/source/core/access/acccontext.hxx:115:22: note: declared protected
> here
>     SwAccessibleMap *GetMap() { return m_pMap; }
>                      ^
> 1 error generated.
> /solenv/gbuild/LinkTarget.mk:288: recipe for target
> '/workdir/CxxObject/sw/source/core/access/accmap.o' failed
> make[1]: *** [/workdir/CxxObject/sw/source/core/access/accmap.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Makefile:264: recipe for target 'build' failed
>


This should be fixed with
https://cgit.freedesktop.org/libreoffice/core/commit/?id=42b40ede8c496aad1021e68a72523af4f57e89f6

Best to pull and rebuild.

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170423/aa5edd9e/attachment.html>


More information about the LibreOffice mailing list