diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-14 15:08:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-14 17:34:47 +0100 |
commit | 2863247598b8d85e9a284575e9b657f360d21c4d (patch) | |
tree | ac606a35d1329017e3f59c7351dd6985298fc772 /cui | |
parent | 5c093e7e1505e787a5781446aed8add83bf7f55d (diff) |
move [G|S]etGetSpecialCharsFunction into its own header
so the whole of edit.hxx doesn't need to be included just to set that
detail
Change-Id: I467add023ca59c1ffdccbafb21843cb153ba6a40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86769
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 44bca8f89a5b..fd47ab92d728 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -40,7 +40,7 @@ #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <sfx2/app.hxx> -#include <vcl/edit.hxx> +#include <vcl/specialchars.hxx> #include <vcl/event.hxx> #include <vcl/svapp.hxx> #include <vcl/texteng.hxx> @@ -1501,9 +1501,9 @@ IMPL_LINK(SentenceEditWindow_Impl, ToolbarHdl, const OString&, rCurItemId, void) } else if (rCurItemId == "insert") { - if (Edit::GetGetSpecialCharsFunction()) + if (vcl::GetGetSpecialCharsFunction()) { - OUString aChars = Edit::GetGetSpecialCharsFunction()(GetDrawingArea(), m_xEditEngine->GetStandardFont(0)); + OUString aChars = vcl::GetGetSpecialCharsFunction()(GetDrawingArea(), m_xEditEngine->GetStandardFont(0)); if (!aChars.isEmpty()) { ESelection aCurrentSelection(m_xEditView->GetSelection()); |