Kaydet (Commit) e0ccbe72 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix use of variable before its lifetime begins

This has been broken with 48314f25 "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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 6ba15ac9
......@@ -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"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment