diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-03-31 09:22:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-31 13:23:04 +0200 |
commit | 3d7ac24d2f2ffbd2f5919916534601c140aa82e8 (patch) | |
tree | ba030bd45515b1bf5decc91e93ba70f52f1cc9b3 /sw/source/ui/envelp/envfmt.cxx | |
parent | 2cc5877a0cd08560478fe1f4206d7904e61e0557 (diff) |
tdf#84938 convert DLG_CHAR_ constants to scoped enum
Change-Id: Ia58860f3f106d332596d2a682638edae6a270213
Diffstat (limited to 'sw/source/ui/envelp/envfmt.cxx')
-rw-r--r-- | sw/source/ui/envelp/envfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx index 7d3bbb9b0dfd..a7183f1299d0 100644 --- a/sw/source/ui/envelp/envfmt.cxx +++ b/sw/source/ui/envelp/envfmt.cxx @@ -283,7 +283,7 @@ IMPL_LINK_TYPED( SwEnvFormatPage, EditHdl, MenuButton *, pButton, void ) OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); const OUString sFormatStr = pColl->GetName(); - std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateSwCharDlg(GetParentSwEnvDlg(), pSh->GetView(), aTmpSet, DLG_CHAR_ENV, &sFormatStr)); + std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateSwCharDlg(GetParentSwEnvDlg(), pSh->GetView(), aTmpSet, SwCharDlgMode::Env, &sFormatStr)); OSL_ENSURE(pDlg, "Dialog creation failed!"); if (pDlg->Execute() == RET_OK) { |