summaryrefslogtreecommitdiff
path: root/mysqlc
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
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')
-rw-r--r--mysqlc/source/mysqlc_connection.cxx3
-rw-r--r--mysqlc/source/mysqlc_driver.cxx3
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx3
-rw-r--r--mysqlc/source/mysqlc_statement.cxx3
4 files changed, 8 insertions, 4 deletions
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx
index 44cee42733dc..5c3fd7c2cb59 100644
--- a/mysqlc/source/mysqlc_connection.cxx
+++ b/mysqlc/source/mysqlc_connection.cxx
@@ -219,7 +219,8 @@ rtl::OUString OConnection::getImplementationName() throw (css::uno::RuntimeExcep
css::uno::Sequence<rtl::OUString> OConnection::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence<OUString> s { "com.sun.star.sdbc.Connection" };
+ css::uno::Sequence<rtl::OUString> s(1);
+ s[0] = "com.sun.star.sdbc.Connection";
return s;
}
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;
}
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index cfc304233e8b..96d756f3ef4d 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -66,7 +66,8 @@ rtl::OUString OPreparedStatement::getImplementationName()
css::uno::Sequence<rtl::OUString> OPreparedStatement::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence<OUString> s { "com.sun.star.sdbc.PreparedStatement" };
+ css::uno::Sequence<rtl::OUString> s(1);
+ s[0] = "com.sun.star.sdbc.PreparedStatement";
return s;
}
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;
}