summaryrefslogtreecommitdiffstats
path: root/vcl/source/gdi/pdfwriter_impl2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl2.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 4dbc13bc6079..8556d4c570d8 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -1665,6 +1665,8 @@ void PDFWriterImpl::putG4Bits( sal_uInt32 i_nLength, sal_uInt32 i_nCode, BitStre
}
}
+namespace {
+
struct PixelCode
{
sal_uInt32 const mnEncodedPixels;
@@ -1672,6 +1674,8 @@ struct PixelCode
sal_uInt32 const mnCode;
};
+}
+
static const PixelCode WhitePixelCodes[] =
{
{ 0, 8, 0x35 }, // 0011 0101