summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-16 09:21:12 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-04-16 14:01:05 +0200
commitcc34e1c5d6a10d5a7dc315080b26bce848d3aa32 (patch)
treea72898e6bf543017cc78b5122781293205ec6391
parentf03fe2b36ee6f5af68aec948fa2be97bb95281a3 (diff)
Resolves: tdf#116138 insert special char problem in chapter numbering
Change-Id: If79d23d7c5e99a88d0026295db002c25c1b07ff3 Reviewed-on: https://gerrit.libreoffice.org/52944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--cui/source/factory/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/factory/init.cxx b/cui/source/factory/init.cxx
index d11370702024..045333f113d3 100644
--- a/cui/source/factory/init.cxx
+++ b/cui/source/factory/init.cxx
@@ -27,7 +27,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT bool GetSpecialCharsForEdit(vcl::Window* i_pParent, const vcl::Font& i_rFont, OUString& o_rResult)
{
bool bRet = false;
- ScopedVclPtrInstance<SvxCharacterMap> aDlg(i_pParent);
+ ScopedVclPtrInstance<SvxCharacterMap> aDlg(i_pParent, nullptr, false);
aDlg->DisableFontSelection();
aDlg->SetCharFont(i_rFont);
if ( aDlg->Execute() == RET_OK )