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.
Adding keywords: difficultyBeginner, easyHack, skillCpp
Removing assigned as it is not.
krishna keshav committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=50094d8f8eb7067009c3e9a86053d82e4c0af739 tdf#77667 Remove gcc3 workaround It will be available in 5.3.0. 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.
Seems solved