Revert "tdf#101629: fix https://addons.mozilla.org/ case"

This reverts commit 454e1ebcfc589ce82c8c2d5585e22bea1ea5fc79.

Change-Id: Id296e622dc8e14bd20549325d890196d8d36b1a5
Reviewed-on: https://gerrit.libreoffice.org/28605
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 29a7ac4..4b2658f 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -160,11 +160,9 @@ IMPL_LINK_TYPED( SelectPersonaDialog, SearchPersonas, Button*, pButton, void )
    // 15 results so that invalid and duplicate search results whose names can't be retrieved can be skipped
    OUString rSearchURL = "https://services.addons.mozilla.org/en-US/firefox/api/1.5/search/" + searchTerm + "/9/15";

    sal_Int32 nIndexOfFirefox = searchTerm.indexOf( "firefox" );

    if ( searchTerm.startsWith( "https://addons.mozilla.org/" ) && nIndexOfFirefox != -1 )
    if ( searchTerm.startsWith( "https://addons.mozilla.org/" ) )
    {
        searchTerm = "https://addons.mozilla.org/en-US/" + searchTerm.copy( nIndexOfFirefox );
        searchTerm = "https://addons.mozilla.org/en-US/" + searchTerm.copy( searchTerm.indexOf( "firefox" ) );
        m_pSearchThread = new SearchAndParseThread( this, searchTerm, true );
    }
    else