diff --git a/editors/openoffice-4/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx b/editors/openoffice-4/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx new file mode 100644 index 000000000000..ca7a35f3d1e8 --- /dev/null +++ b/editors/openoffice-4/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx @@ -0,0 +1,24 @@ +--- writerfilter/source/ooxml/RefAndPointer.hxx.orig 2021-04-02 12:58:23 UTC ++++ writerfilter/source/ooxml/RefAndPointer.hxx +@@ -98,13 +98,14 @@ class RefAndPointer (public) + ChildClass * getPointer() const { return mpHandler; } + const uno::Reference getRef() const { return mRef; } + +- RefAndPointer & operator= +- (const RefAndPointer & rSrc) +- { +- set(rSrc.getHandler()); +- +- return *this; +- } ++// ...RefAndPointer.hxx:104:18: error: no member named 'getHandler' in 'RefAndPointer'; did you mean 'mpHandler'? ++// RefAndPointer & operator= ++// (const RefAndPointer & rSrc) ++// { ++// set(rSrc.getHandler()); ++// ++// return *this; ++// } + + bool is() { return getRef().is(); } + diff --git a/editors/openoffice-devel/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx b/editors/openoffice-devel/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx new file mode 100644 index 000000000000..4222cbefefbe --- /dev/null +++ b/editors/openoffice-devel/files/patch-writerfilter_source_ooxml_RefAndPointer.hxx @@ -0,0 +1,24 @@ +--- writerfilter/source/ooxml/RefAndPointer.hxx.orig 2019-09-17 22:55:25 UTC ++++ writerfilter/source/ooxml/RefAndPointer.hxx +@@ -75,13 +75,14 @@ class RefAndPointer (public) + ChildClass * getPointer() const { return mpHandler; } + const uno::Reference getRef() const { return mRef; } + +- RefAndPointer & operator= +- (const RefAndPointer & rSrc) +- { +- set(rSrc.getHandler()); +- +- return *this; +- } ++// ...RefAndPointer.hxx:104:18: error: no member named 'getHandler' in 'RefAndPointer'; did you mean 'mpHandler'? ++// RefAndPointer & operator= ++// (const RefAndPointer & rSrc) ++// { ++// set(rSrc.getHandler()); ++// ++// return *this; ++// } + + bool is() { return getRef().is(); } +