To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58949
Issue #:|58949
Summary:|svx: debugging and 64bit issues
Component:|framework
Version:|current
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P3
Subcomponent:|code
Assigned to:|cl
Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Tue Dec 6 03:51:39 -0800
2005 -------
Hi,
if debugging is enabled, new code is revealed. Several issues are there:
1. /data/oo/BuildDir/ooo_SRC680_m143_src/svx/source/dialog/tpline.cxx: In member
function 'virtual void SvxLineTabPage::Reset(const SfxItemSet&)':
/data/oo/BuildDir/ooo_SRC680_m143_src/svx/source/dialog/tpline.cxx:993: error:
cast from 'SvxLineTabPage*' to 'sal_Int32' loses precision
This is SVX_TRACE( 213, aStr );. SVX_TRACE contains:
_aStr.Append( ByteString::CreateFromInt32( (sal_Int32) this ) );
ie. retyping pointer (64bit) to 32bit. Can we change this into
_aStr.Append( ByteString::CreateFromInt64( (sal_IntPtr) this ) );
2. /data/oo/BuildDir/ooo_SRC680_m143_src/svx/source/form/fmtextcontrolshell.cxx:
In member function 'void svx::FmTextControlShell::formActivated(const
com::sun::star::uno::Reference<com::sun::star::form::XFormController>&)':
/data/oo/BuildDir/ooo_SRC680_m143_src/svx/source/form/fmtextcontrolshell.cxx:1150:
error: cast from 'com::sun::star::form::XFormController*' to 'sal_Int32' loses
precision
sTrace += ::rtl::OString::valueOf( (sal_Int32)_rxController.get(), 16 );
should be sal_IntPtr instead. There are more instances of this problem in this
file.
See the attached file for complete patch.
---------------------------------------------------------------------
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]