From 2125868dad4b1e8f9318367b47938ad7e8afeebb Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 19 Dec 2014 12:52:48 +0100 Subject: Fix build. Change-Id: I27b602e829041f0ce7294e4debcc6669712912f7 --- svx/source/fmcomp/fmgridif.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source') 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( -- cgit