diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-14 22:01:08 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-15 20:28:52 +0100 |
commit | c83e10cf0a8fd3a27bff8907d0c6715e8e3cd070 (patch) | |
tree | 752e8fefebbd2045b40bd03126f32819c48a62ca /extensions/source | |
parent | cc7f6a58c7d8d1cd3d2534b307dbf05b98561752 (diff) |
Fix conversion
to avoid error messages like:
error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’
Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |