summaryrefslogtreecommitdiff
path: root/include/vcl/filter/pdfdocument.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-13 13:08:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-14 11:40:32 +0200
commit59887868da3499c68d5f259cfa48178354397448 (patch)
treefea3595f08d0a2ff07070c34bc2b94bbb7a446e1 /include/vcl/filter/pdfdocument.hxx
parentafb0dfc41ebb0a6a96ae31c122c7f97743dc7486 (diff)
loplugin:constfields in vcl
Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610 Reviewed-on: https://gerrit.libreoffice.org/60430 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/filter/pdfdocument.hxx')
-rw-r--r--include/vcl/filter/pdfdocument.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 03180fd0597f..7735a52591bd 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -141,7 +141,7 @@ class VCL_DLLPUBLIC PDFArrayElement : public PDFElement
{
std::vector<PDFElement*> m_aElements;
/// The object that contains this array.
- PDFObjectElement* m_pObject;
+ PDFObjectElement* const m_pObject;
public:
PDFArrayElement(PDFObjectElement* pObject);
@@ -178,7 +178,7 @@ public:
/// Stream object: a byte array with a known length.
class VCL_DLLPUBLIC PDFStreamElement : public PDFElement
{
- size_t m_nLength;
+ size_t const m_nLength;
sal_uInt64 m_nOffset;
/// The byte array itself.
SvMemoryStream m_aMemory;
@@ -197,7 +197,7 @@ class VCL_DLLPUBLIC PDFNameElement : public PDFElement
/// Offset after the '/' token.
sal_uInt64 m_nLocation = 0;
/// Length till the next token start.
- sal_uInt64 m_nLength = 0;
+ sal_uInt64 const m_nLength = 0;
public:
PDFNameElement();