To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79375
Issue #|79375
Summary|to-be-SRC680_m220: dbaccess WaE fix
Component|porting
Version|680m219
Platform|All
URL|
OS/Version|Mac OS X
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P1
Subcomponent|code
Assigned to|rt
Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Mon Jul 9 04:24:52 +0000
2007 -------
Hi,
to prevent warnings like
../../../inc/genericcontroller.hxx: In member function 'virtual
dbaui::FeatureState
dbaui::SbaXDataBrowserController::GetState(sal_uInt16) const':
../../../inc/genericcontroller.hxx:169: warning: 'directValue' may be used
uninitialized in this function
please apply this change:
Index: inc/genericcontroller.hxx
===============================================================
====
RCS file: /cvs/dba/dbaccess/inc/genericcontroller.hxx,v
retrieving revision 1.2
diff -u -r1.2 genericcontroller.hxx
--- inc/genericcontroller.hxx 6 Jul 2007 07:50:17 -0000 1.2
+++ inc/genericcontroller.hxx 9 Jul 2007 04:21:28 -0000
@@ -166,7 +166,7 @@
{
_value.reset(); // de-init the optional value
- T directValue;
+ T directValue = T();
if ( _any >>= directValue )
_value.reset( directValue );
rt: I have other changes in the queue (mainly #include changes in xmloff,
svtools, svx) for to-be-m220.
---------------------------------------------------------------------
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]