diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-23 16:07:18 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-23 19:17:18 -0200 |
commit | 558112542348bcbd754853847c968e2203abf269 (patch) | |
tree | 26e31cff04d6c8612921b2c469702d59efb90057 /connectivity | |
parent | 4a0af6a0581fc7ac2b6544e996529405276d06bf (diff) |
Fix for fdo43460 Part XLIV getLength() to isEmpty()
Part XLIV
many modules(inc's)
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/connectivity/sqliterator.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/OColumn.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx index 71299b857cda..eb316a80950d 100644 --- a/connectivity/inc/connectivity/sqliterator.hxx +++ b/connectivity/inc/connectivity/sqliterator.hxx @@ -175,7 +175,7 @@ namespace connectivity The returned object contains a chain (via SQLException::NextException) of SQLExceptions. */ inline const ::com::sun::star::sdbc::SQLException& getErrors() const { return m_aErrors; } - inline bool hasErrors() const { return m_aErrors.Message.getLength() > 0; } + inline bool hasErrors() const { return !m_aErrors.Message.isEmpty(); } // statement type (already set in setParseTree): OSQLStatementType getStatementType() const { return m_eStatementType; } diff --git a/connectivity/source/inc/OColumn.hxx b/connectivity/source/inc/OColumn.hxx index baa54737f482..7efae973384f 100644 --- a/connectivity/source/inc/OColumn.hxx +++ b/connectivity/source/inc/OColumn.hxx @@ -104,7 +104,7 @@ namespace connectivity m_Writable(_aWritable), m_DefinitelyWritable(_aDefinitelyWritable) { - if(!m_ColumnLabel.getLength()) + if(m_ColumnLabel.isEmpty()) m_ColumnLabel = _aColumnName; } |