summaryrefslogtreecommitdiff
path: root/include/vcl/font
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-19 18:45:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-19 20:41:14 +0200
commite06cb5853f735e523f740dec82954c54cbe47f48 (patch)
tree0e4841cb54766a810fdca5af125ce8c01ecaa384 /include/vcl/font
parent1d3bec99e87c6f1e083f36bc1906839025d640df (diff)
compact namespace: vcl
Change-Id: Ic861003f522e76431fffaadc408d0a153b12d0e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99003 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/font')
-rw-r--r--include/vcl/font/Feature.hxx8
-rw-r--r--include/vcl/font/FeatureParser.hxx7
2 files changed, 4 insertions, 11 deletions
diff --git a/include/vcl/font/Feature.hxx b/include/vcl/font/Feature.hxx
index 0b9124f6f728..13c798fbcf32 100644
--- a/include/vcl/font/Feature.hxx
+++ b/include/vcl/font/Feature.hxx
@@ -14,9 +14,7 @@
#include <rtl/ustring.hxx>
#include <vector>
-namespace vcl
-{
-namespace font
+namespace vcl::font
{
constexpr uint32_t featureCode(const char sFeature[4])
{
@@ -115,9 +113,7 @@ struct FeatureSetting
unsigned int m_nEnd;
};
-} // end font namespace
-
-} // end vcl namespace
+} // namespace vcl::font
#endif // INCLUDED_VCL_FONT_FEATURE_HXX
diff --git a/include/vcl/font/FeatureParser.hxx b/include/vcl/font/FeatureParser.hxx
index 5674e2d3116c..3662c6a20baf 100644
--- a/include/vcl/font/FeatureParser.hxx
+++ b/include/vcl/font/FeatureParser.hxx
@@ -17,9 +17,7 @@
#include <vcl/font/Feature.hxx>
-namespace vcl
-{
-namespace font
+namespace vcl::font
{
// These must not conflict with font name lists which use ; and ,
constexpr const char FeaturePrefix = ':';
@@ -43,8 +41,7 @@ public:
std::unordered_map<uint32_t, uint32_t> getFeaturesMap() const;
};
-} // end font namespace
-} // end vcl namespace
+} // namespace vcl::font
#endif // INCLUDED_VCL_FONT_FEATUREPASER_HXX