Kaydet (Commit) c83e10cf authored tarafından Julien Nabet's avatar Julien Nabet

Fix conversion

to avoid error messages like:
error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’

Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603
üst cc7f6a58
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment