office-gobmx/writerfilter
Stephan Bergmann d1faa8f626 Add some missing member operator== const qualifiers
...that were only detected now by GCC 13 trunk after
<https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=431be04b8b6e31d950ddab340ed866d197d23d4d>
"c++: implement P2468R2, the equality operator you are looking for",

> sc/source/core/tool/interpr4.cxx: In member function ‘void ScInterpreter::ScTableOp()’:
> sc/source/core/tool/interpr4.cxx:3608:58: error: C++20 says that these are ambiguous, even though the second is reversed: [-Werror]
>  3608 |     bool bReuseLastParams = (mrDoc.aLastTableOpParams == aTableOp);
>       |                                                          ^~~~~~~~
> In file included from sc/inc/document.hxx:32,
>                  from sc/inc/externalrefmgr.hxx:23,
>                  from sc/source/core/inc/interpre.hxx:28,
>                  from sc/source/core/tool/interpr4.cxx:22:
> sc/inc/tabopparams.hxx:76:10: note: candidate 1: ‘bool ScInterpreterTableOpParams::operator==(const ScInterpreterTableOpParams&)’
>    76 |     bool operator ==( const ScInterpreterTableOpParams& r )
>       |          ^~~~~~~~
> sc/inc/tabopparams.hxx:76:10: note: candidate 2: ‘bool ScInterpreterTableOpParams::operator==(const ScInterpreterTableOpParams&)’ (reversed)
> sc/inc/tabopparams.hxx:76:10: note: try making the operator a ‘const’ member function

etc.

Change-Id: I0c55daabbce61aefd762862f3b0e2e5d235c34b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142698
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-11-14 13:33:25 +01:00
..
documentation
inc use more string_view in writerfilter 2022-09-29 10:08:42 +02:00
qa CppunitTest_writerfilter_dmapper: inherit from UnoApiTest 2022-11-01 14:56:54 +01:00
source Add some missing member operator== const qualifiers 2022-11-14 13:33:25 +01:00
util
CppunitTest_writerfilter_dmapper.mk move password handling from SwModelTestBase to UnoApiTest 2022-11-11 20:09:41 +01:00
CppunitTest_writerfilter_filters_test.mk
CppunitTest_writerfilter_misc.mk
CppunitTest_writerfilter_rtftok.mk move password handling from SwModelTestBase to UnoApiTest 2022-11-11 20:09:41 +01:00
CustomTarget_source.mk
IwyuFilter_writerfilter.yaml
Library_writerfilter.mk
Makefile
Module_writerfilter.mk
README.md

Import Filters for LibreOffice Writer

The writerfilter module contains import filters for Writer, using its UNO API.

Import filter for DOCX and RTF.

  • Module contents

    • documentation: RNG schema for the OOXML tokenizer, etc.
    • inc: module-global headers (can be included by any files under source)
    • qa: cppunit tests
    • source: the filters themselves
    • util: UNO passive registration config
  • Source contents

    • dmapper: the domain mapper, hiding UNO from the tokenizers, used by DOCX and RTF import
      • The incoming traffic of dmapper can be dumped into an XML file in /tmp in dbgutil builds, start soffice with the SW_DEBUG_WRITERFILTER=1 environment variable if you want that.
    • filter: the UNO filter service implementations, invoked by UNO and calling the dmapper + one of the tokenizers
    • ooxml: the docx tokenizer
    • rtftok: the rtf tokenizer