To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=45443
Issue #:|45443
Summary:|vcl: gcc33 build error
Component:|porting
Version:|680m86
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P4
Subcomponent:|code
Assigned to:|pjanik
Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Fri Mar 18 10:49:05 -0800
2005 -------
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window/gtkframe.cxx
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window/gtkframe.cxx: In member
function `virtual void GtkSalFrame::SetIcon(short unsigned int)':
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window/gtkframe.cxx:624:
error: parse error before `+' token
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window/gtkframe.cxx:626:
error: request for member `ImplGetBitmapImpBitmap' in `aIcon(...)', which is of
non-aggregate type `BitmapEx ()(...)'
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window/gtkframe.cxx:627:
error: request for member `ImplGetMaskImpBitmap' in `aIcon(...)', which is of
non-aggregate type `BitmapEx ()(...)'
dmake: Error code 1, while making '../../../unxmacxp.pro/slo/gtkframe.obj'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making
/Users/oo/BuildDir/ooo_SRC680_m87_src/vcl/unx/gtk/window
Fix:
--- gtkframe.cxx 07 bÅe 2005 23:04:17 +0100 1.21
+++ gtkframe.cxx 18 bÅe 2005 19:47:28 +0100
@@ -621,7 +621,7 @@
for( nIndex = 0; nIndex < sizeof(nOffsets)/ sizeof(USHORT); nIndex++ )
{
- BitmapEx aIcon( ResId(nOffsets[nIndex] + nIcon, ImplGetResMgr()));
+ BitmapEx aIcon = BitmapEx( ResId(nOffsets[nIndex] + nIcon,
ImplGetResMgr()));
ImpBitmap *pIconImpBitmap = aIcon.ImplGetBitmapImpBitmap();
ImpBitmap *pIconImpMask = aIcon.ImplGetMaskImpBitmap();
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]