[Libreoffice-commits] core.git: Branch 'feature/gsoc14-personas' - cui/source

Rachit Gupta rachitgupta1792 at gmail.com
Tue Jun 17 05:40:49 PDT 2014


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

New commits:
commit 94099ca3e03af26e9209ca586d0303c16575947b
Author: Rachit Gupta <rachitgupta1792 at gmail.com>
Date:   Tue Jun 17 18:08:55 2014 +0530

    Minor Fixes.
    
    Changed number of search results from 1 (development code) to
    9 (production code).
    
    Change-Id: I9229f1db1df21bde3df60fd9d80e02307286b305

diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index dab1925..4646f1a 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -91,7 +91,7 @@ IMPL_LINK( SelectPersonaDialog, SearchPersonas, PushButton*, /*pButton*/ )
     if( searchTerm.isEmpty( ) )
         return 0;
 
-    OUString rSearchURL = "https://addons.allizom.org/en-US/firefox/api/1.5/search/" + searchTerm + "/9/1";
+    OUString rSearchURL = "https://addons.allizom.org/en-US/firefox/api/1.5/search/" + searchTerm + "/9/9";
     m_rSearchThread = new SearchAndParseThread( this, rSearchURL );
     m_rSearchThread->launch();
     return 0;
@@ -314,7 +314,7 @@ IMPL_LINK( SvxPersonalizationTabPage, SelectPersona, PushButton*, /*pButton*/ )
         OUString aPersonaSetting( aDialog.GetAppliedPersonaSetting() );
         if ( !aPersonaSetting.isEmpty() )
         {
-            m_aPersonaSettings = aPersonaSetting;
+            setPersonaSettings( aPersonaSetting );
         }
 
         break;


More information about the Libreoffice-commits mailing list