[Libreoffice-commits] core.git: cui/source

Rachit Gupta rachitgupta1792 at gmail.com
Fri Aug 15 02:09:01 PDT 2014


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

New commits:
commit b5688eb1523754f94aaa5af6d372174cab1a4bd7
Author: Rachit Gupta <rachitgupta1792 at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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;
     }


More information about the Libreoffice-commits mailing list