summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorRachit Gupta <rachitgupta1792@gmail.com>2014-08-15 14:24:43 +0530
committerJan Holesovsky <kendy@collabora.com>2014-08-15 04:08:40 -0500
commitb5688eb1523754f94aaa5af6d372174cab1a4bd7 (patch)
tree69aac71a0d692f835c8dc100e59101b3f3d88f6f /cui
parent4f321be89316be07da81794098833dd09377b5f0 (diff)
Replaced %1's with URL's to make the errors more descriptive.
Change-Id: I441085a7704eb3464e13723d8dc2ee1df833bd46 Reviewed-on: https://gerrit.libreoffice.org/10931 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/personalization.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 16def717d816..9500026f4354 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -695,6 +695,7 @@ void SearchAndParseThread::execute()
catch ( const uno::Exception & )
{
sProgress = CUI_RES( RID_SVXSTR_SEARCHERROR );
+ sProgress = sProgress.replaceAll("%1", m_aURL);
m_pPersonaDialog->SetProgress( sProgress );
return;
}
@@ -723,6 +724,7 @@ void SearchAndParseThread::getPreviewFile( const OUString& rURL, OUString *pPrev
catch (...)
{
OUString sProgress( CUI_RES( RID_SVXSTR_SEARCHERROR ) );
+ sProgress = sProgress.replaceAll("%1", m_aURL);
m_pPersonaDialog->SetProgress( sProgress );
return;
}