diff options
Diffstat (limited to 'vcl/inc/font/PhysicalFontCollection.hxx')
-rw-r--r-- | vcl/inc/font/PhysicalFontCollection.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/font/PhysicalFontCollection.hxx b/vcl/inc/font/PhysicalFontCollection.hxx index 5cad84ca15f7..c73be7075ca5 100644 --- a/vcl/inc/font/PhysicalFontCollection.hxx +++ b/vcl/inc/font/PhysicalFontCollection.hxx @@ -28,6 +28,7 @@ #include "PhysicalFontFamily.hxx" #include <array> +#include <string_view> #define MAX_GLYPHFALLBACK 16 @@ -55,7 +56,7 @@ public: int Count() const { return maPhysicalFontFamilies.size(); } // find the device font family - vcl::font::PhysicalFontFamily* FindFontFamily( const OUString& rFontName ) const; + vcl::font::PhysicalFontFamily* FindFontFamily( std::u16string_view rFontName ) const; vcl::font::PhysicalFontFamily* FindOrCreateFontFamily( const OUString &rFamilyName ); vcl::font::PhysicalFontFamily* FindFontFamily( vcl::font::FontSelectPattern& ) const; vcl::font::PhysicalFontFamily* FindFontFamilyByTokenNames(const OUString& rTokenStr) const; |