summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_statement.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-16 08:34:54 +0200
committerNoel Grandin <noel@peralex.com>2015-11-16 08:34:54 +0200
commit773a07a94ebc9f578b5bb6a90ddd1974d1577351 (patch)
tree3a2ab462ab7758d21bfe518c0380d4732146fc44 /mysqlc/source/mysqlc_statement.cxx
parent1ba6f9ca615f55de30547612d67988218a983318 (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_statement.cxx')
-rw-r--r--mysqlc/source/mysqlc_statement.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index d9e58b0784e9..859f7a929a82 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -392,7 +392,8 @@ rtl::OUString OStatement::getImplementationName() throw (css::uno::RuntimeExcept
css::uno::Sequence<rtl::OUString> OStatement::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence<OUString> s { "com.sun.star.sdbc.Statement" };
+ css::uno::Sequence<rtl::OUString> s(1);
+ s[0] = "com.sun.star.sdbc.Statement";
return s;
}