extensions/source/update/check/updatecheckconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c83e10cf0a8fd3a27bff8907d0c6715e8e3cd070 Author: Julien Nabet <serval2...@yahoo.fr> Date: Thu Feb 14 22:01:08 2013 +0100 Fix conversion to avoid error messages like: error: could not convert â(const char*)"LocalFile"â from âconst char*â to âconst rtl::OUStringâ Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603 diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index 344fc87..f72b022 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 ) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits