summaryrefslogtreecommitdiff
path: root/vcl/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter')
-rw-r--r--vcl/source/filter/graphicfilter.cxx4
-rw-r--r--vcl/source/filter/igif/decode.hxx6
-rw-r--r--vcl/source/filter/ixbm/xbmread.cxx2
-rw-r--r--vcl/source/filter/ixpm/rgbtable.hxx6
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx2
-rw-r--r--vcl/source/filter/jpeg/Exif.hxx2
-rw-r--r--vcl/source/filter/jpeg/JpegReader.hxx4
7 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 7e51364da608..7aa82f10031b 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -908,8 +908,8 @@ struct ImpFilterLibCacheEntry
#ifndef DISABLE_DYNLOADING
osl::Module maLibrary;
#endif
- OUString maFiltername;
- OUString maFormatName;
+ OUString const maFiltername;
+ OUString const maFormatName;
PFilterCall mpfnImport;
ImpFilterLibCacheEntry(const OUString& rPathname, const OUString& rFiltername, const OUString& rFormatName);
diff --git a/vcl/source/filter/igif/decode.hxx b/vcl/source/filter/igif/decode.hxx
index f1b92475de40..bdf9e64f8c74 100644
--- a/vcl/source/filter/igif/decode.hxx
+++ b/vcl/source/filter/igif/decode.hxx
@@ -36,11 +36,11 @@ class GIFLZWDecompressor
sal_uInt8* pBlockBuf;
sal_uLong nInputBitsBuf;
bool bEOIFound;
- sal_uInt8 nDataSize;
+ sal_uInt8 const nDataSize;
sal_uInt8 nBlockBufSize;
sal_uInt8 nBlockBufPos;
- sal_uInt16 nClearCode;
- sal_uInt16 nEOICode;
+ sal_uInt16 const nClearCode;
+ sal_uInt16 const nEOICode;
sal_uInt16 nTableSize;
sal_uInt16 nCodeSize;
sal_uInt16 nOldCode;
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 9a282a6defe9..7e952968e393 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -47,7 +47,7 @@ class XBMReader : public GraphicReader
pHexTable;
BitmapColor aWhite;
BitmapColor aBlack;
- long nLastPos;
+ long const nLastPos;
long nWidth;
long nHeight;
bool bStatus;
diff --git a/vcl/source/filter/ixpm/rgbtable.hxx b/vcl/source/filter/ixpm/rgbtable.hxx
index 7dcc340938d8..2b2f71542658 100644
--- a/vcl/source/filter/ixpm/rgbtable.hxx
+++ b/vcl/source/filter/ixpm/rgbtable.hxx
@@ -23,9 +23,9 @@
struct XPMRGBTab
{
const char* name;
- sal_uInt8 red;
- sal_uInt8 green;
- sal_uInt8 blue;
+ sal_uInt8 const red;
+ sal_uInt8 const green;
+ sal_uInt8 const blue;
};
static const XPMRGBTab pRGBTable[] = {
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index c774041ad807..c31d83a4a82f 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -61,7 +61,7 @@ private:
BitmapScopedWriteAccess mpAcc;
Bitmap maMaskBmp;
BitmapScopedWriteAccess mpMaskAcc;
- long mnLastPos;
+ long const mnLastPos;
sal_uLong mnWidth;
sal_uLong mnHeight;
diff --git a/vcl/source/filter/jpeg/Exif.hxx b/vcl/source/filter/jpeg/Exif.hxx
index 4cc823dcca27..6b5991c60ee7 100644
--- a/vcl/source/filter/jpeg/Exif.hxx
+++ b/vcl/source/filter/jpeg/Exif.hxx
@@ -59,7 +59,7 @@ private:
};
struct TiffHeader {
- sal_uInt16 byteOrder;
+ sal_uInt16 const byteOrder;
sal_uInt16 tagAlign;
sal_uInt32 offset;
};
diff --git a/vcl/source/filter/jpeg/JpegReader.hxx b/vcl/source/filter/jpeg/JpegReader.hxx
index 420351a092ca..6772e1e3ec30 100644
--- a/vcl/source/filter/jpeg/JpegReader.hxx
+++ b/vcl/source/filter/jpeg/JpegReader.hxx
@@ -53,9 +53,9 @@ class JPEGReader : public GraphicReader
std::unique_ptr<Bitmap> mpBitmap;
std::unique_ptr<Bitmap> mpIncompleteAlpha;
- long mnLastPos;
+ long const mnLastPos;
long mnLastLines;
- bool mbSetLogSize;
+ bool const mbSetLogSize;
Graphic CreateIntermediateGraphic(long nLines);