vcl/source/gdi/pdfwriter_impl.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
New commits: commit 45f208207be6ad23fa6fc22faebfaf676346da80 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon Dec 30 19:56:37 2019 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Tue Dec 31 00:08:41 2019 +0100 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 <qui...@gmail.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits