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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 3 09:55:49 UTC 2018


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

New commits:
commit c9e70af2bf6dc9427a9c1dd32d5e8ecccd32c3c2
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: Mon Dec 3 10:55:28 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>

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 64b96bbfd562..10be5166cb78 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -844,7 +844,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