diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-16 08:34:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-16 08:34:54 +0200 |
commit | 773a07a94ebc9f578b5bb6a90ddd1974d1577351 (patch) | |
tree | 3a2ab462ab7758d21bfe518c0380d4732146fc44 /mysqlc/source/mysqlc_driver.cxx | |
parent | 1ba6f9ca615f55de30547612d67988218a983318 (diff) |
fix mysqlc build
after my commit 96c26b0d9d10fa9bac3695222980d7145f0342d7
"use initialiser for Sequence<OUString>"
the mysqlc module is compiled as external code, so it
cannot see the initialiser syntax constructor for Sequence
Change-Id: I072e6271ec33637e28dd8225724296e90967329d
Diffstat (limited to 'mysqlc/source/mysqlc_driver.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index ce2c363fb74a..3a31685d9c2e 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -85,7 +85,8 @@ Sequence< rtl::OUString > MysqlCDriver::getSupportedServiceNames_Static() OSL_TRACE("MysqlCDriver::getSupportedServiceNames_Static"); // which service is supported // for more information @see com.sun.star.sdbc.Driver - Sequence<OUString> aSNS { "com.sun.star.sdbc.Driver" }; + Sequence< rtl::OUString > aSNS(1); + aSNS[0] = "com.sun.star.sdbc.Driver"; return aSNS; } |