summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/num.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-13 12:40:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-13 18:05:03 +0200
commit88f7ac5ccd358069e356c544888386b745c82732 (patch)
treee3afbbfcc537f14dd9b409be8ab71106e7bbded3 /sw/source/ui/misc/num.cxx
parent74edbc474975266a1cee36d47cb0443808f9c19a (diff)
add GetDialogExampleSet rather than guess at it
Change-Id: I8d7fc780c77e7f410ce78eb07bcb92dcd71f6c13 Reviewed-on: https://gerrit.libreoffice.org/60434 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/misc/num.cxx')
-rw-r--r--sw/source/ui/misc/num.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx
index 5b8d8b066e95..997ba0f5a4ad 100644
--- a/sw/source/ui/misc/num.cxx
+++ b/sw/source/ui/misc/num.cxx
@@ -348,7 +348,7 @@ void SwNumPositionTabPage::ActivatePage(const SfxItemSet& )
const SfxPoolItem* pItem;
sal_uInt16 nTmpNumLvl =
pOutlineDlg ? SwOutlineTabDialog::GetActNumLevel() : 0;
- const SfxItemSet* pExampleSet = GetDialogController()->GetExampleSet();
+ const SfxItemSet* pExampleSet = GetDialogExampleSet();
if(pExampleSet && pExampleSet->GetItemState(FN_PARAM_NUM_PRESET, false, &pItem) != SfxItemState::UNKNOWN)
{
bPreset = static_cast<const SfxBoolItem*>(pItem)->GetValue();