[Libreoffice] [PATCH] sax build -vs- svn gcc

Tom Tromey tromey at redhat.com
Wed Aug 10 12:30:40 PDT 2011


>>>>> "Tom" == Tom Tromey <tromey at redhat.com> writes:

Tom> I tried building LibreOffice with svn trunk gcc.
Tom> It dies in sax with:
[...]
Tom> The appended patch fixes this problem by adding a 'this->' qualifier.

Oops, I appended the wrong patch to this message.  Here is the correct
patch.

I am not really sure where this file comes from.  From what I can tell
it isn't in git.

Tom


--- sequenceasvector.hxx.~1~	2011-08-10 08:25:19.179720480 -0600
+++ sequenceasvector.hxx	2011-08-10 11:48:05.404703517 -0600
@@ -147,7 +147,7 @@
             const TElementType* pSource = lSource.getConstArray();
 
             for (sal_Int32 i=0; i<c; ++i)
-                push_back(pSource[i]);
+                this->push_back(pSource[i]);
         }
 
         //---------------------------------------


More information about the LibreOffice mailing list