From c9e70af2bf6dc9427a9c1dd32d5e8ecccd32c3c2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Dec 2018 10:42:01 +0200 Subject: 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 --- cui/source/tabpages/numpages.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit