summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-14 15:08:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-14 17:34:47 +0100
commit2863247598b8d85e9a284575e9b657f360d21c4d (patch)
treeac606a35d1329017e3f59c7351dd6985298fc772 /sfx2
parent5c093e7e1505e787a5781446aed8add83bf7f55d (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 'sfx2')
-rw-r--r--sfx2/source/appl/appinit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index 5ae244d8e049..472a72e56223 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -36,7 +36,7 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <vcl/edit.hxx>
+#include <vcl/specialchars.hxx>
#include <vcl/help.hxx>
#include <vcl/svapp.hxx>
@@ -238,7 +238,7 @@ void SfxApplication::Initialize_Impl()
{
SolarMutexGuard aGuard;
// Set special characters callback on vcl edit control
- Edit::SetGetSpecialCharsFunction(&SfxGetSpecialCharsForEdit);
+ vcl::SetGetSpecialCharsFunction(&SfxGetSpecialCharsForEdit);
}
}