Kaydet (Commit) b5688eb1 authored tarafından Rachit Gupta's avatar Rachit Gupta Kaydeden (comit) Jan Holesovsky

Replaced %1's with URL's to make the errors more descriptive.

Change-Id: I441085a7704eb3464e13723d8dc2ee1df833bd46
Reviewed-on: https://gerrit.libreoffice.org/10931Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Tested-by: 's avatarJan Holesovsky <kendy@collabora.com>
üst 4f321be8
...@@ -695,6 +695,7 @@ void SearchAndParseThread::execute() ...@@ -695,6 +695,7 @@ void SearchAndParseThread::execute()
catch ( const uno::Exception & ) catch ( const uno::Exception & )
{ {
sProgress = CUI_RES( RID_SVXSTR_SEARCHERROR ); sProgress = CUI_RES( RID_SVXSTR_SEARCHERROR );
sProgress = sProgress.replaceAll("%1", m_aURL);
m_pPersonaDialog->SetProgress( sProgress ); m_pPersonaDialog->SetProgress( sProgress );
return; return;
} }
...@@ -723,6 +724,7 @@ void SearchAndParseThread::getPreviewFile( const OUString& rURL, OUString *pPrev ...@@ -723,6 +724,7 @@ void SearchAndParseThread::getPreviewFile( const OUString& rURL, OUString *pPrev
catch (...) catch (...)
{ {
OUString sProgress( CUI_RES( RID_SVXSTR_SEARCHERROR ) ); OUString sProgress( CUI_RES( RID_SVXSTR_SEARCHERROR ) );
sProgress = sProgress.replaceAll("%1", m_aURL);
m_pPersonaDialog->SetProgress( sProgress ); m_pPersonaDialog->SetProgress( sProgress );
return; return;
} }
......
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