Apache OpenOffice (AOO) Bugzilla – Issue 86812
to-be-DEV300_m2: svtools/source/uno/genericunodialog.cxx
Last modified: 2008-03-11 11:55:29 UTC
ooo_DEV300_m2_src/svtools/source/uno/genericunodialog.cxx:93: error: class 'svt::OGenericUnoDialog' does not have any field named 'm_xContext' This helps diff -urN ooo_DEV300_m2_src.orig/svtools/source/uno/genericunodialog.cxx ooo_DEV300_m2_src/svtools/source/uno/genericunodialog.cxx --- ooo_DEV300_m2_src.orig/svtools/source/uno/genericunodialog.cxx 2008-03-08 17:11:38.000000000 +0100 +++ ooo_DEV300_m2_src/svtools/source/uno/genericunodialog.cxx 2008-03-08 17:12:01.000000000 +0100 @@ -90,7 +90,7 @@ ,m_bInitialized( false ) ,m_bNeedInitialization( false ) ,m_xORB( _rxContext->getServiceManager(), UNO_QUERY_THROW ) - ,m_xContext(_rxContext) +// ,m_xContext(_rxContext) { registerProperty(::rtl::OUString::createFromAscii(UNODIALOG_PROPERTY_TITLE), UNODIALOG_PROPERTY_ID_TITLE, PropertyAttribute::TRANSIENT, &m_sTitle, getCppuType(&m_sTitle));
Another problem: /home/oo/BuildDir/ooo_DEV300_m2_src/extensions/source/propctrlr/MasterDetailLinkDialog.cxx:125: error: 'm_xContext' was not declared in this scope
Similar: /home/oo/BuildDir/ooo_DEV300_m2_src/chart2/source/controller/dialogs/dlg_ChartType_UNO.cxx:125: error: 'm_xContext' was not declared in this scope
Bad conincidence. CWS rptchart01 introduced a member m_xContext in OGenericUnoDialog, CWS odbmacros2 moved the header file to from svtools/inc to svtools/inc/svtools. Isn't it that intgration should have caught this? Be it. The straight-forward solution would be to merge the changes 1.8->1.9 from svtools/inc/genericunodialog.hxx to svtools/inc/svtools/genericunodialog.cxx. Going to attach a patch, and to write an issue which addresses the problem I have with this new member (which is why I said "straight-forward" - there could be another patch which would also address this problem ...)
Created attachment 51992 [details] proper patch
fs->kz: please assign the attached patch, it should fix the problem.
for the record: issze 86850 is for cleaning up the m_xContext thingie.
reassign to mysef
fixed
@
->fs: verify, please
found fix in svtools/inc/svtools/genericunodialog.hxx integrated on HEAD.
yes, closing.
*** Issue 86835 has been marked as a duplicate of this issue. ***
*** Issue 86836 has been marked as a duplicate of this issue. ***