summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/fontmanager/fontsubst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/fontmanager/fontsubst.cxx')
-rw-r--r--vcl/unx/generic/fontmanager/fontsubst.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/generic/fontmanager/fontsubst.cxx b/vcl/unx/generic/fontmanager/fontsubst.cxx
index a8adb6cf89fd..1b8fb5807bee 100644
--- a/vcl/unx/generic/fontmanager/fontsubst.cxx
+++ b/vcl/unx/generic/fontmanager/fontsubst.cxx
@@ -24,6 +24,8 @@
// platform specific font substitution hooks
+namespace {
+
class FcPreMatchSubstitution
: public ImplPreMatchFontSubstitution
{
@@ -43,6 +45,8 @@ public:
bool FindFontSubstitute(FontSelectPattern&, LogicalFontInstance* pLogicalFont, OUString& rMissingCodes) const override;
};
+}
+
void SalGenericInstance::RegisterFontSubstitutors( PhysicalFontCollection* pFontCollection )
{
// register font fallback substitutions