Apache OpenOffice (AOO) Bugzilla – Issue 40168
64bit: SetMaximumNumberOfLines and long vs. sal_Int32
Last modified: 2013-02-24 21:22:08 UTC
Hi, please unify this: Prototype: source/controller/inc/dlg_ChartType.hxx: void SetMaximumNumberOfLines( sal_Int32 nMaxLines ); Definition: source/controller/dialogs/dlg_ChartType.cxx: void SchDiagramTypeDlg::SetMaximumNumberOfLines( long nMaxLines ) long !=sal_Int32 on 64bit platforms.
I will have a look.
I'll commit this change into ooo64bit02: --- dlg_ChartType.cxx 8 Sep 2004 17:01:22 -0000 1.8 +++ dlg_ChartType.cxx 21 Jan 2005 14:52:07 -0000 @@ -1258,7 +1258,7 @@ } } -void SchDiagramTypeDlg::SetMaximumNumberOfLines( long nMaxLines ) +void SchDiagramTypeDlg::SetMaximumNumberOfLines( sal_Int32 nMaxLines ) { aMtrFldNumLines.SetLast( nMaxLines ); aMtrFldNumLines.SetMax( nMaxLines ); if you agree with this change, please mark this as FIXED. Thanks.
The code you changed will vanish completly with the next integration of the major chart2 branch (which is cws_src680_chart2mst3 currently ). So your change will do no harm anyway, only maybe merge conflicts. I think we get them resolved, so I set this to fixed now. If you would like to take the issue back to you I'm fine with that also. Thanks.
->pjanik: Please do not forget to checkin the dialog header changes also to ooo64bit02.
reopen for reassign
->pjanik: I give this back to you, as you did the fix anyway. And again: don't forget to check in the header changes also! :-) Thanks.
iha: no header change is needed. What do you mean by it? With this change, the definition of this function actually matches its declaration. Fixed in ooo64bit02.
->pjanik: Oh yes, you are right, there is nothing needed anymore. My fault - sorry. And thanks again.
Closing.