[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 07:07:10 UTC 2018


 cui/source/tabpages/numpages.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 253af4f2cfb93a7f8c223661c0c1b7845c1644f0
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Dec 3 10:42:01 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 5 08:06:44 2018 +0100

    tdf#121620 Opening Image tab of Bullets and Numbering dialog resets selection
    
    regression from
            commit 39e6bae2c4be24a3aad5ef8cd37d3d83c41a4abe
            loplugin:useuniqueptr in cui numpages
    
    Change-Id: I77e16880d0590793545da38b7a3c8c5d2626d8f5
    Reviewed-on: https://gerrit.libreoffice.org/64441
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit c9e70af2bf6dc9427a9c1dd32d5e8ecccd32c3c2)
    Reviewed-on: https://gerrit.libreoffice.org/64536

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 4b8f278b93b4..a6ea4899f3dd 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -845,7 +845,7 @@ void  SvxBitmapPickTabPage::ActivatePage(const SfxItemSet& rSet)
     }
 
     if(!aGrfNames.empty() &&
-        (pActNum && (lcl_IsNumFmtSet(pActNum.get(), nActNumLvl) || bIsPreset)))
+        (pActNum && (!lcl_IsNumFmtSet(pActNum.get(), nActNumLvl) || bIsPreset)))
     {
         m_xExamplesVS->SelectItem(1);
         NumSelectHdl_Impl(m_xExamplesVS.get());


More information about the Libreoffice-commits mailing list