To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98242
                 Issue #|98242
                 Summary|DEV300_m39: build breaks in connectivity/source/driver
                        |s/evoab2/NResultSetMetaData.cxx
               Component|Database access
                 Version|DEV300m38
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|dbaneedsconfirm
             Reported by|arielch





------- Additional comments from arie...@openoffice.org Mon Jan 19 13:33:15 
+0000 2009 -------
[Note that correct version is DEV300m_39, but this isn't in the listbox yet]

/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
In member function 'void
connectivity::evoab::OEvoabResultSetMetaData::setEvoabFields(const 
vos::ORef<connectivity::ORefVector<com::sun::star::uno::Reference<com::sun::star
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
error: 'const_iterator' is not a member of 'connectivity::OSQLColumns'
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
error: expected `;' before 'aIter'
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
error: 'aIter' was not declared in this scope
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
error: 'class 
connectivity::ORefVector<com::sun::star::uno::Reference<com::sun::star::beans::X
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaDa
error: 'class 
connectivity::ORefVector<com::sun::star::uno::Reference<com::sun::star::beans::X
dmake:  Error code 1, while making 
'../../../unxlngi6.pro/slo/NResultSetMetaData.obj'
******************************************************************************

Seems changes in connectivity/inc/connectivity/CommonTools.hxx didn't make it 
into OEvoabResultSetMetaData::setEvoabFields() 
(connectivity/source/drivers/evoab2/NResultSetMetaData.cxx):

void OEvoabResultSetMetaData::setEvoabFields(const 
::vos::ORef<connectivity::OSQLColumns> &xColumns) throw(SQLException)
{
        OSQLColumns::Vector::const_iterator aIter;
        static const ::rtl::OUString 
aName(::rtl::OUString::createFromAscii("Name"));

        for (aIter = xColumns->get().begin(); aIter != xColumns->get().end(); 
++aIter)
        {
                ::rtl::OUString aFieldName;

                (*aIter)->getPropertyValue(aName) >>= aFieldName;
                guint nFieldNumber = findEvoabField(aFieldName);
                        if (nFieldNumber == (guint)-1)
                {
                    connectivity::SharedResources aResource;
                    const ::rtl::OUString sError( 
aResource.getResourceStringWithSubstitution(
                            STR_INVALID_COLUMNNAME,
                            "$columnname$", aFieldName
                         ) );
                    ::dbtools::throwGenericSQLException( sError, *this );
                }
                m_aEvoabFields.push_back(nFieldNumber);
        }
}


I'll attach a patch (it's not very serious becuase I didn't have time to test it
works, though it did compile)

---------------------------------------------------------------------
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: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to