cui/source/options/personalization.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b5688eb1523754f94aaa5af6d372174cab1a4bd7
Author: Rachit Gupta <rachitgupta1...@gmail.com>
Date:   Fri Aug 15 14:24:43 2014 +0530

    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 <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/cui/source/options/personalization.cxx 
b/cui/source/options/personalization.cxx
index 16def71..9500026 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;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to