summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/numpages.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-03 10:42:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-03 10:55:28 +0100
commitc9e70af2bf6dc9427a9c1dd32d5e8ecccd32c3c2 (patch)
tree9b777764a9b34777b9501d92de161dd0865d50f5 /cui/source/tabpages/numpages.cxx
parent3ac46abde192324fc7e1cbf3f22b7280f15e77df (diff)
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@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/numpages.cxx')
-rw-r--r--cui/source/tabpages/numpages.cxx2
1 files changed, 1 insertions, 1 deletions
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());