summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-12-30 19:56:37 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-12-31 00:08:41 +0100
commit45f208207be6ad23fa6fc22faebfaf676346da80 (patch)
treedbfeaccb4a96ad7e0349effdb8b722bf78e49141 /vcl
parent33bec7973ecb626ff5e2b40a6bf695e00adec6a7 (diff)
pdf: move GraphicsStateUpdateFlags to vcl::pdf namespace
Change-Id: I328943f0f928a739759f984db0a6bfea3a65b015 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86034 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 4ce4d7d9aea8..0b155145e250 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -70,6 +70,9 @@ constexpr sal_Int32 SECUR_128BIT_KEY = 16;
// PDF spec ver. 1.4: see there for details
constexpr sal_Int32 MAXIMUM_RC4_KEY_LENGTH = SECUR_128BIT_KEY + 3 + 2;
+namespace vcl::pdf
+{
+
enum class GraphicsStateUpdateFlags {
Font = 0x0001,
MapMode = 0x0002,
@@ -81,8 +84,11 @@ enum class GraphicsStateUpdateFlags {
DigitLanguage = 0x0400,
All = 0x077f
};
+
+} // end vcl::pdf
+
namespace o3tl {
- template<> struct typed_flags<GraphicsStateUpdateFlags> : is_typed_flags<GraphicsStateUpdateFlags, 0x077f> {};
+ template<> struct typed_flags<vcl::pdf::GraphicsStateUpdateFlags> : is_typed_flags<vcl::pdf::GraphicsStateUpdateFlags, 0x077f> {};
}
namespace vcl