summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-12-19 12:52:48 +0100
committerJan Holesovsky <kendy@collabora.com>2014-12-19 12:53:45 +0100
commit2125868dad4b1e8f9318367b47938ad7e8afeebb (patch)
tree80210d2376aa97387ec5e78b1524f1bf4abcb691 /svx
parenteee97f4bb3cfe1ed88f9d939e213ebb2fc052ea4 (diff)
Fix build.
Change-Id: I27b602e829041f0ce7294e4debcc6669712912f7
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index f3cdb1fb9e46..5fb30f03908b 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -2702,7 +2702,7 @@ Sequence< ::com::sun::star::util::URL>& FmXGridPeer::getSupportedURLs()
static Sequence< ::com::sun::star::util::URL> aSupported;
if (aSupported.getLength() == 0)
{
- static const OUString sSupported[] = {
+ static const char* sSupported[] = {
FMURL_RECORD_MOVEFIRST,
FMURL_RECORD_MOVEPREV,
FMURL_RECORD_MOVENEXT,
@@ -2715,7 +2715,7 @@ Sequence< ::com::sun::star::util::URL>& FmXGridPeer::getSupportedURLs()
sal_uInt16 i;
for ( i = 0; i < aSupported.getLength(); ++i, ++pSupported)
- pSupported->Complete = sSupported[i];
+ pSupported->Complete = OUString::createFromAscii(sSupported[i]);
// let an ::com::sun::star::util::URL-transformer normalize the URLs
Reference< ::com::sun::star::util::XURLTransformer > xTransformer(