From c83e10cf0a8fd3a27bff8907d0c6715e8e3cd070 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 14 Feb 2013 22:01:08 +0100 Subject: Fix conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to avoid error messages like: error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’ Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603 --- extensions/source/update/check/updatecheckconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/source') diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index 344fc873ce7c..f72b02242bbf 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -371,7 +371,7 @@ void UpdateCheckConfig::storeLocalFileName(const rtl::OUString& rLocalFileName, sal_Int64 nFileSize) { const sal_uInt8 nItems = 2; - const OUString aNameList[nItems] = { LOCAL_FILE, DOWNLOAD_SIZE }; + const OUString aNameList[nItems] = { OUString(LOCAL_FILE), OUString(DOWNLOAD_SIZE) }; const uno::Any aValueList[nItems] = { uno::makeAny(rLocalFileName), uno::makeAny(nFileSize) }; for( sal_uInt8 i=0; i < nItems; ++i ) @@ -391,7 +391,7 @@ void UpdateCheckConfig::clearLocalFileName() { const sal_uInt8 nItems = 2; - const OUString aNameList[nItems] = { LOCAL_FILE, DOWNLOAD_SIZE }; + const OUString aNameList[nItems] = { OUString(LOCAL_FILE), OUString(DOWNLOAD_SIZE) }; for( sal_uInt8 i=0; i < nItems; ++i ) { -- cgit