aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h')
-rw-r--r--editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h b/editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h
new file mode 100644
index 000000000000..03ba05e9815e
--- /dev/null
+++ b/editors/libreoffice6/files/powerpc64/patch-include_com_sun_star_uno_Reference.h
@@ -0,0 +1,11 @@
+--- include/com/sun/star/uno/Reference.h.orig 2020-11-27 17:16:53 UTC
++++ include/com/sun/star/uno/Reference.h
+@@ -377,7 +377,7 @@ class SAL_DLLPUBLIC_RTTI Reference : public BaseRefere
+
+ @return UNacquired interface pointer
+ */
+- interface_type * SAL_CALL operator -> () const {
++ interface_type * SAL_CALL operator -> () const __attribute__ ((optnone)) {
+ assert(_pInterface != NULL);
+ return castFromXInterface(_pInterface);
+ }