Re: [dba-dev] DEV300_m39 breaks in evoab2 NResultSetMetaData.cxx

2009-01-19 Thread Frank Schönheit - Sun Microsystems Germany
Hi Ariel,

> DEV300_m39 breaks in connectivity/source/drivers/evoab2
> ...

if you're not aware of an issue for this - please submit one. This could
be fixed as master fix (i.e. directly for m40, not in a CWS).

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer frank.schoenh...@sun.com -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Base   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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



[dba-dev] DEV300_m39 breaks in evoab2 NResultSetMetaData.cxx

2009-01-17 Thread Ariel Constenla-Haile
Hello there,

DEV300_m39 breaks in connectivity/source/drivers/evoab2

**
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:
 
In member function 'void 
connectivity::evoab::OEvoabResultSetMetaData::setEvoabFields(const 
vos::ORef
 
> >&)':
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:58:
 
error: 'const_iterator' is not a member of 'connectivity::OSQLColumns'
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:58:
 
error: expected `;' before 'aIter'
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:61:
 
error: 'aIter' was not declared in this scope
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:61:
 
error: 'class 
connectivity::ORefVector
 
>' has no member named 'begin'
/build/openoffice/DEV300_m39/connectivity/source/drivers/evoab2/NResultSetMetaData.cxx:61:
 
error: 'class 
connectivity::ORefVector
 
>' has no member named 'end'
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 &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);
}
}

Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


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