diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-04-17 14:04:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-04-17 15:26:09 +0200 |
commit | e0ccbe72ed6eb0d309ed272a78fd67a512acff5d (patch) | |
tree | 4afa37974ac52ad0b59a9fbd78c7fc393cddc1ff /connectivity | |
parent | 6ba15ac96bf143bdc7ab480fd0273060862e8662 (diff) |
Fix use of variable before its lifetime begins
This has been broken with 48314f25241e014a634dd5371543b90137ffd2bc "improve
function-local statics in basic..cui" (and has been found with a new plugin to
be commited).
Change-Id: I518360e3273af9db4a8560a89bc8a789410c8033
Reviewed-on: https://gerrit.libreoffice.org/70875
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index f9bd2a2546df..28c2e71a9d1b 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -976,7 +976,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo() aRow[12] = new ORowSetValueDecorator(false); // Autoincrement aRow[14] = ODatabaseMetaDataResultSet::get0Value(); // Minimum scale aRow[15] = ODatabaseMetaDataResultSet::get0Value(); // Max scale - aResults.push_back(aRow); + tmp.push_back(aRow); // SQL_TYPE_DATE aRow[1] = new ORowSetValueDecorator(OUString("DATE")); |