summaryrefslogtreecommitdiff
path: root/vcl/inc/svdata.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-22 11:13:39 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-22 17:59:36 +0200
commit8b690f22c9deb6d1171328dfe5607d4c673dc993 (patch)
treea7fa3f5c5d4b0b4fd2db338df001c078eb61dbbc /vcl/inc/svdata.hxx
parentc75a3ffd88732f424f8f557c94e580ecc54f551f (diff)
vcl: [loplugin:badstatics] xCharClass
There's even 2 of these; move them to struct ImplSVData which is deleted on shutdown. Change-Id: I8040cd6f9f31c0a1ab48987a490395f316d52220 Reviewed-on: https://gerrit.libreoffice.org/42630 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc/svdata.hxx')
-rw-r--r--vcl/inc/svdata.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index 65e1c1010b36..a1d6fbb5beb1 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -28,6 +28,7 @@
#include <vcl/window.hxx>
#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/i18n/XCharacterClassification.hpp>
#include "vcleventlisteners.hxx"
#include "impfontcache.hxx"
@@ -361,9 +362,13 @@ struct ImplSVData
std::list< vcl::DeleteOnDeinitBase* >* mpDeinitDeleteList = nullptr;
std::unordered_map< int, OUString >* mpPaperNames = nullptr;
+ css::uno::Reference<css::i18n::XCharacterClassification> m_xCharClass;
+
Link<LinkParamNone*,void> maDeInitHook;
};
+css::uno::Reference<css::i18n::XCharacterClassification> const& ImplGetCharClass();
+
void ImplDeInitSVData();
VCL_PLUGIN_PUBLIC vcl::Window* ImplGetDefaultWindow();
VCL_PLUGIN_PUBLIC vcl::Window* ImplGetDefaultContextWindow();