It appears from previous commit log entries that GCC 3.3 and below had problems handling instantiated objects as parameters e.g. Draw(Point(), parameter2). This is no longer a problem, and in fact there is code all over the place that already doesn't bother with the workaround, which was to declare a temporary variable, instantiate into this and then use this variable. We should get rid of this workaround code.
Commit 52f296ac1a77cded6d4318a5f5d13bbf1c4f6877 submitted to fix this in VCL: http://cgit.freedesktop.org/libreoffice/core/commit/vcl?id=52f296ac1a77cded6d4318a5f5d13bbf1c4f6877
Thomas Arnold has committed a change to fix this also: http://cgit.freedesktop.org/libreoffice/core/commit/?id=3176bfdc3a872114d290e2de3cc19f30d9e70b88
Chris Sherlock committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=896526dec395e679f4145428328b690b0c81df52 fdo#77667 Remove gcc3 workaround The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.