summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/BitmapAlphaClampFilter.hxx2
-rw-r--r--include/vcl/BitmapColorQuantizationFilter.hxx2
-rw-r--r--include/vcl/BitmapDuoToneFilter.hxx4
-rw-r--r--include/vcl/BitmapEmbossGreyFilter.hxx4
-rw-r--r--include/vcl/BitmapGaussianSeparableBlurFilter.hxx2
-rw-r--r--include/vcl/BitmapMonochromeFilter.hxx2
-rw-r--r--include/vcl/BitmapMosaicFilter.hxx4
-rw-r--r--include/vcl/BitmapSeparableUnsharpenFilter.hxx2
-rw-r--r--include/vcl/BitmapSimpleColorQuantizationFilter.hxx2
-rw-r--r--include/vcl/BitmapSmoothenFilter.hxx2
-rw-r--r--include/vcl/BitmapSolarizeFilter.hxx2
-rw-r--r--include/vcl/BitmapTools.hxx4
-rw-r--r--include/vcl/bitmapaccess.hxx2
-rw-r--r--include/vcl/builder.hxx24
-rw-r--r--include/vcl/commandevent.hxx12
-rw-r--r--include/vcl/dockwin.hxx12
-rw-r--r--include/vcl/errinf.hxx8
-rw-r--r--include/vcl/event.hxx10
-rw-r--r--include/vcl/evntpost.hxx2
-rw-r--r--include/vcl/filter/pdfdocument.hxx4
-rw-r--r--include/vcl/font/Feature.hxx2
-rw-r--r--include/vcl/graph.hxx8
-rw-r--r--include/vcl/graphicfilter.hxx4
-rw-r--r--include/vcl/i18nhelp.hxx2
-rw-r--r--include/vcl/metaact.hxx6
-rw-r--r--include/vcl/pdfwriter.hxx2
-rw-r--r--include/vcl/print.hxx6
-rw-r--r--include/vcl/salctype.hxx2
-rw-r--r--include/vcl/salnativewidgets.hxx2
-rw-r--r--include/vcl/svapp.hxx2
-rw-r--r--include/vcl/textdata.hxx4
-rw-r--r--include/vcl/toolkit/dialog.hxx2
-rw-r--r--include/vcl/txtattr.hxx4
-rw-r--r--include/vcl/unohelp2.hxx2
-rw-r--r--include/vcl/vclevent.hxx2
-rw-r--r--include/vcl/vectorgraphicdata.hxx4
-rw-r--r--include/vcl/weld.hxx2
37 files changed, 81 insertions, 81 deletions
diff --git a/include/vcl/BitmapAlphaClampFilter.hxx b/include/vcl/BitmapAlphaClampFilter.hxx
index 100eb6bb0726..c8b111d931d1 100644
--- a/include/vcl/BitmapAlphaClampFilter.hxx
+++ b/include/vcl/BitmapAlphaClampFilter.hxx
@@ -26,7 +26,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt8 const mcThreshold;
+ sal_uInt8 mcThreshold;
};
#endif
diff --git a/include/vcl/BitmapColorQuantizationFilter.hxx b/include/vcl/BitmapColorQuantizationFilter.hxx
index 0c2f9ad7fbf3..266a384a3cf8 100644
--- a/include/vcl/BitmapColorQuantizationFilter.hxx
+++ b/include/vcl/BitmapColorQuantizationFilter.hxx
@@ -29,7 +29,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt16 const mnNewColorCount;
+ sal_uInt16 mnNewColorCount;
struct PopularColorCount
{
diff --git a/include/vcl/BitmapDuoToneFilter.hxx b/include/vcl/BitmapDuoToneFilter.hxx
index 71aabd6ad02e..bb83a121fa52 100644
--- a/include/vcl/BitmapDuoToneFilter.hxx
+++ b/include/vcl/BitmapDuoToneFilter.hxx
@@ -27,8 +27,8 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uLong const mnColorOne;
- sal_uLong const mnColorTwo;
+ sal_uLong mnColorOne;
+ sal_uLong mnColorTwo;
};
#endif
diff --git a/include/vcl/BitmapEmbossGreyFilter.hxx b/include/vcl/BitmapEmbossGreyFilter.hxx
index 96b1173dfb9b..2f1d309e0e59 100644
--- a/include/vcl/BitmapEmbossGreyFilter.hxx
+++ b/include/vcl/BitmapEmbossGreyFilter.hxx
@@ -27,8 +27,8 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt16 const mnAzimuthAngle100;
- sal_uInt16 const mnElevationAngle100;
+ sal_uInt16 mnAzimuthAngle100;
+ sal_uInt16 mnElevationAngle100;
};
#endif
diff --git a/include/vcl/BitmapGaussianSeparableBlurFilter.hxx b/include/vcl/BitmapGaussianSeparableBlurFilter.hxx
index 2de99499253d..72b3fdb81f1d 100644
--- a/include/vcl/BitmapGaussianSeparableBlurFilter.hxx
+++ b/include/vcl/BitmapGaussianSeparableBlurFilter.hxx
@@ -34,7 +34,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- double const mfRadius;
+ double mfRadius;
static bool convolutionPass(const Bitmap& rBitmap, Bitmap& aNewBitmap,
BitmapReadAccess const* pReadAcc, int aNumberOfContributions,
diff --git a/include/vcl/BitmapMonochromeFilter.hxx b/include/vcl/BitmapMonochromeFilter.hxx
index 8d5773d8896f..81a505e1f7b8 100644
--- a/include/vcl/BitmapMonochromeFilter.hxx
+++ b/include/vcl/BitmapMonochromeFilter.hxx
@@ -35,7 +35,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt8 const mcThreshold;
+ sal_uInt8 mcThreshold;
};
#endif
diff --git a/include/vcl/BitmapMosaicFilter.hxx b/include/vcl/BitmapMosaicFilter.hxx
index 9d242eb89c40..6f88b228f1bc 100644
--- a/include/vcl/BitmapMosaicFilter.hxx
+++ b/include/vcl/BitmapMosaicFilter.hxx
@@ -31,8 +31,8 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uLong const mnTileWidth;
- sal_uLong const mnTileHeight;
+ sal_uLong mnTileWidth;
+ sal_uLong mnTileHeight;
};
#endif
diff --git a/include/vcl/BitmapSeparableUnsharpenFilter.hxx b/include/vcl/BitmapSeparableUnsharpenFilter.hxx
index 3d867619167a..69dcfe3bf9cd 100644
--- a/include/vcl/BitmapSeparableUnsharpenFilter.hxx
+++ b/include/vcl/BitmapSeparableUnsharpenFilter.hxx
@@ -29,7 +29,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- double const mfRadius;
+ double mfRadius;
};
#endif
diff --git a/include/vcl/BitmapSimpleColorQuantizationFilter.hxx b/include/vcl/BitmapSimpleColorQuantizationFilter.hxx
index 88d8adfe5ce6..7e306e051cd5 100644
--- a/include/vcl/BitmapSimpleColorQuantizationFilter.hxx
+++ b/include/vcl/BitmapSimpleColorQuantizationFilter.hxx
@@ -29,7 +29,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt16 const mnNewColorCount;
+ sal_uInt16 mnNewColorCount;
};
#endif
diff --git a/include/vcl/BitmapSmoothenFilter.hxx b/include/vcl/BitmapSmoothenFilter.hxx
index 87eccb96b9a8..1a002c960d29 100644
--- a/include/vcl/BitmapSmoothenFilter.hxx
+++ b/include/vcl/BitmapSmoothenFilter.hxx
@@ -26,7 +26,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- double const mfRadius;
+ double mfRadius;
};
#endif
diff --git a/include/vcl/BitmapSolarizeFilter.hxx b/include/vcl/BitmapSolarizeFilter.hxx
index 654a52387401..f3e36e10fac5 100644
--- a/include/vcl/BitmapSolarizeFilter.hxx
+++ b/include/vcl/BitmapSolarizeFilter.hxx
@@ -26,7 +26,7 @@ public:
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
private:
- sal_uInt8 const mcSolarGreyThreshold;
+ sal_uInt8 mcSolarGreyThreshold;
};
#endif
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index 6d7c8c930472..b579b8a982a6 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -43,8 +43,8 @@ class VCL_DLLPUBLIC RawBitmap
{
friend BitmapEx VCL_DLLPUBLIC CreateFromData( RawBitmap&& rawBitmap );
std::unique_ptr<sal_uInt8[]> mpData;
- Size const maSize;
- sal_uInt8 const mnBitCount;
+ Size maSize;
+ sal_uInt8 mnBitCount;
public:
RawBitmap(Size const & rSize, sal_uInt8 nBitCount)
: maSize(rSize),
diff --git a/include/vcl/bitmapaccess.hxx b/include/vcl/bitmapaccess.hxx
index 8e916ea16e79..da29fee9ada0 100644
--- a/include/vcl/bitmapaccess.hxx
+++ b/include/vcl/bitmapaccess.hxx
@@ -145,7 +145,7 @@ protected:
Bitmap maBitmap;
BitmapBuffer* mpBuffer;
ColorMask maColorMask;
- BitmapAccessMode const mnAccessMode;
+ BitmapAccessMode mnAccessMode;
};
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index d9bf965b043d..f98d77c60dc3 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -150,7 +150,7 @@ private:
struct MenuAndId
{
- OString const m_sID;
+ OString m_sID;
VclPtr<Menu> m_pMenu;
MenuAndId(const OString &rId, Menu *pMenu);
};
@@ -158,8 +158,8 @@ private:
struct StringPair
{
- OString const m_sID;
- OString const m_sValue;
+ OString m_sID;
+ OString m_sValue;
StringPair(const OString &rId, const OString &rValue)
: m_sID(rId)
, m_sValue(rValue)
@@ -182,9 +182,9 @@ private:
struct ButtonImageWidgetMap
{
- OString const m_sID;
- OUString const m_sValue;
- bool const m_bRadio;
+ OString m_sID;
+ OUString m_sValue;
+ bool m_bRadio;
ButtonImageWidgetMap(const OString &rId, const OUString &rValue, bool bRadio)
: m_sID(rId)
, m_sValue(rValue)
@@ -200,9 +200,9 @@ private:
struct ComboBoxModelMap
{
- OString const m_sID;
- OUString const m_sValue;
- sal_Int32 const m_nActiveId;
+ OString m_sID;
+ OUString m_sValue;
+ sal_Int32 m_nActiveId;
ComboBoxModelMap(const OString &rId, const OUString &rValue, sal_Int32 nActiveId)
: m_sID(rId)
, m_sValue(rValue)
@@ -302,12 +302,12 @@ private:
OString m_sID;
OString m_sHelpRoot;
- ResHookProc const m_pStringReplace;
+ ResHookProc m_pStringReplace;
VclPtr<vcl::Window> m_pParent;
bool m_bToplevelHasDeferredInit;
bool m_bToplevelHasDeferredProperties;
bool m_bToplevelParentFound;
- bool const m_bLegacy;
+ bool m_bLegacy;
std::unique_ptr<ParserState> m_pParserState;
vcl::Window *get_by_name(const OString& sID);
@@ -322,7 +322,7 @@ private:
bool operator()(const vcl::Window *pA, const vcl::Window *pB) const;
private:
- VclBuilder * const m_pBuilder;
+ VclBuilder *m_pBuilder;
};
/// XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold).
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx
index bf446e7f4f83..fd834bd822ac 100644
--- a/include/vcl/commandevent.hxx
+++ b/include/vcl/commandevent.hxx
@@ -95,7 +95,7 @@ public:
class VCL_DLLPUBLIC CommandExtTextInputData
{
private:
- OUString const maText;
+ OUString maText;
std::unique_ptr<ExtTextInputAttr[]> mpTextAttr;
sal_Int32 mnCursorPos;
sal_uInt16 mnCursorFlags;
@@ -207,7 +207,7 @@ enum class ShowDialogId
class VCL_DLLPUBLIC CommandDialogData
{
- ShowDialogId const m_nDialogId;
+ ShowDialogId m_nDialogId;
public:
CommandDialogData( ShowDialogId nDialogId )
: m_nDialogId( nDialogId )
@@ -243,7 +243,7 @@ enum class MediaCommand
class VCL_DLLPUBLIC CommandMediaData
{
- MediaCommand const m_nMediaId;
+ MediaCommand m_nMediaId;
bool m_bPassThroughToOS;
public:
CommandMediaData(MediaCommand nMediaId)
@@ -271,7 +271,7 @@ public:
class VCL_DLLPUBLIC CommandSwipeData
{
- double const mnVelocityX;
+ double mnVelocityX;
public:
CommandSwipeData()
: mnVelocityX(0)
@@ -287,8 +287,8 @@ public:
class VCL_DLLPUBLIC CommandLongPressData
{
- double const mnX;
- double const mnY;
+ double mnX;
+ double mnY;
public:
CommandLongPressData()
: mnX(0)
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index d5c942e4d984..2b628cf66397 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -30,7 +30,7 @@
// data to be sent with docking events
struct DockingData
{
- Point const maMousePos; // in
+ Point maMousePos; // in
tools::Rectangle maTrackRect; // in/out
bool mbFloating; // out
@@ -41,9 +41,9 @@ struct DockingData
struct EndDockingData
{
- tools::Rectangle const maWindowRect; // in
- bool const mbFloating; // in
- bool const mbCancelled; // in
+ tools::Rectangle maWindowRect; // in
+ bool mbFloating; // in
+ bool mbCancelled; // in
EndDockingData( const tools::Rectangle& rRect, bool b, bool bCancelled ) :
maWindowRect( rRect ), mbFloating( b ), mbCancelled( bCancelled )
@@ -52,8 +52,8 @@ struct EndDockingData
struct EndPopupModeData
{
- Point const maFloatingPos; // in
- bool const mbTearoff; // in
+ Point maFloatingPos; // in
+ bool mbTearoff; // in
EndPopupModeData( const Point& rPos, bool bTearoff ) :
maFloatingPos( rPos ), mbTearoff( bTearoff )
diff --git a/include/vcl/errinf.hxx b/include/vcl/errinf.hxx
index 37805b7f710c..6d57954aff2b 100644
--- a/include/vcl/errinf.hxx
+++ b/include/vcl/errinf.hxx
@@ -141,7 +141,7 @@ public:
static std::unique_ptr<ErrorInfo> GetErrorInfo(ErrCode);
private:
- ErrCode const nUserId;
+ ErrCode nUserId;
};
class SAL_WARN_UNUSED VCL_DLLPUBLIC DynamicErrorInfo : public ErrorInfo
@@ -170,7 +170,7 @@ public:
const OUString& GetErrorString() const { return aString; }
private:
- OUString const aString;
+ OUString aString;
};
@@ -185,8 +185,8 @@ public:
const OUString& GetArg2() const { return aArg2; }
private:
- OUString const aArg1;
- OUString const aArg2;
+ OUString aArg1;
+ OUString aArg2;
};
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx
index 177442cb474b..a4b9df4b0a7b 100644
--- a/include/vcl/event.hxx
+++ b/include/vcl/event.hxx
@@ -194,7 +194,7 @@ namespace o3tl
class VCL_DLLPUBLIC HelpEvent
{
private:
- Point const maPos;
+ Point maPos;
HelpEventMode mnMode;
bool mbKeyboardActivated;
@@ -224,9 +224,9 @@ private:
/// RenderContext to which we should draw - can be a VirtualDevice or anything.
VclPtr<vcl::RenderContext> mpRenderContext;
- tools::Rectangle const maOutRect;
- sal_uInt16 const mnItemId;
- sal_uInt16 const mnStyle;
+ tools::Rectangle maOutRect;
+ sal_uInt16 mnItemId;
+ sal_uInt16 mnStyle;
public:
UserDrawEvent(vcl::Window* pWindow, vcl::RenderContext* pRenderContext,
@@ -253,7 +253,7 @@ inline UserDrawEvent::UserDrawEvent(vcl::Window* pWindow, vcl::RenderContext* pR
class VCL_DLLPUBLIC TrackingEvent
{
private:
- MouseEvent const maMEvt;
+ MouseEvent maMEvt;
TrackingEventFlags mnFlags;
public:
diff --git a/include/vcl/evntpost.hxx b/include/vcl/evntpost.hxx
index 9fdeb16fe8c5..339da3c6105e 100644
--- a/include/vcl/evntpost.hxx
+++ b/include/vcl/evntpost.hxx
@@ -29,7 +29,7 @@ namespace vcl
class VCL_DLLPUBLIC EventPoster
{
ImplSVEvent * m_nId;
- Link<LinkParamNone*,void> const m_aLink;
+ Link<LinkParamNone*,void> m_aLink;
DECL_DLLPRIVATE_LINK( DoEvent_Impl, void*, void );
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 65e84880c789..ebcabce6e404 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -148,7 +148,7 @@ class VCL_DLLPUBLIC PDFArrayElement : public PDFElement
{
std::vector<PDFElement*> m_aElements;
/// The object that contains this array.
- PDFObjectElement* const m_pObject;
+ PDFObjectElement* m_pObject;
public:
PDFArrayElement(PDFObjectElement* pObject);
@@ -185,7 +185,7 @@ public:
/// Stream object: a byte array with a known length.
class VCL_DLLPUBLIC PDFStreamElement : public PDFElement
{
- size_t const m_nLength;
+ size_t m_nLength;
sal_uInt64 m_nOffset;
/// The byte array itself.
SvMemoryStream m_aMemory;
diff --git a/include/vcl/font/Feature.hxx b/include/vcl/font/Feature.hxx
index a6d4587dcbce..0b9124f6f728 100644
--- a/include/vcl/font/Feature.hxx
+++ b/include/vcl/font/Feature.hxx
@@ -99,7 +99,7 @@ struct Feature
Feature(FeatureID const& rID, FeatureType eType);
FeatureID m_aID;
- FeatureType const m_eType;
+ FeatureType m_eType;
FeatureDefinition m_aDefinition;
};
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 6030f3058a76..b159d4bf3797 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -53,11 +53,11 @@ class GraphicReader;
class SAL_WARN_UNUSED VCL_DLLPUBLIC GraphicConversionParameters
{
private:
- Size const maSizePixel; // default is (0,0)
+ Size maSizePixel; // default is (0,0)
- bool const mbUnlimitedSize : 1; // default is false
- bool const mbAntiAliase : 1; // default is false
- bool const mbSnapHorVerLines : 1; // default is false
+ bool mbUnlimitedSize : 1; // default is false
+ bool mbAntiAliase : 1; // default is false
+ bool mbSnapHorVerLines : 1; // default is false
public:
GraphicConversionParameters(
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index 20b8abc935de..040196d70602 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -142,7 +142,7 @@ class VCL_DLLPUBLIC GraphicDescriptor final
sal_uInt16 nBitsPerPixel;
sal_uInt16 nPlanes;
GraphicFileFormat nFormat;
- bool const bOwnStream;
+ bool bOwnStream;
sal_uInt8 mnNumberOfImageComponents;
bool bIsTransparent;
bool bIsAlpha;
@@ -329,7 +329,7 @@ private:
DECL_LINK( FilterCallback, ConvertData&, bool );
std::unique_ptr<FilterErrorEx> pErrorEx;
- bool const bUseConfig;
+ bool bUseConfig;
};
#endif // INCLUDED_VCL_GRAPHICFILTER_HXX
diff --git a/include/vcl/i18nhelp.hxx b/include/vcl/i18nhelp.hxx
index b3657afe7da6..38d0232b20b4 100644
--- a/include/vcl/i18nhelp.hxx
+++ b/include/vcl/i18nhelp.hxx
@@ -47,7 +47,7 @@ namespace vcl
class VCL_DLLPUBLIC I18nHelper
{
::osl::Mutex maMutex;
- LanguageTag const maLanguageTag;
+ LanguageTag maLanguageTag;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
std::unique_ptr<LocaleDataWrapper> mpLocaleDataWrapper;
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 220eedff3406..2679020e2fe7 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -64,7 +64,7 @@ struct ImplMetaWriteData
class VCL_DLLPUBLIC MetaAction : public salhelper::SimpleReferenceObject
{
private:
- MetaActionType const mnType;
+ MetaActionType mnType;
protected:
virtual ~MetaAction() override;
@@ -845,7 +845,7 @@ class SAL_DLLPUBLIC_RTTI MetaMaskAction final : public MetaAction
private:
Bitmap maBmp;
- Color const maColor;
+ Color maColor;
Point maPt;
public:
@@ -879,7 +879,7 @@ class SAL_DLLPUBLIC_RTTI MetaMaskScaleAction final : public MetaAction
private:
Bitmap maBmp;
- Color const maColor;
+ Color maColor;
Point maPt;
Size maSz;
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 6527124ea291..71ab441e5765 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -214,7 +214,7 @@ public:
struct VCL_DLLPUBLIC AnyWidget
{
- WidgetType const Type; // primitive RTTI
+ WidgetType Type; // primitive RTTI
public:
OUString Name; // a distinct name to identify the control
OUString Description;// descriptive text for the control (e.g. for tool tip)
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index eff9c983ff5c..0252b2a68551 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -611,9 +611,9 @@ public:
// helper functions for user to create a single control
struct UIControlOptions
{
- OUString const maDependsOnName;
- sal_Int32 const mnDependsOnEntry;
- bool const mbAttachToDependency;
+ OUString maDependsOnName;
+ sal_Int32 mnDependsOnEntry;
+ bool mbAttachToDependency;
OUString maGroupHint;
bool mbInternalOnly;
bool mbEnabled;
diff --git a/include/vcl/salctype.hxx b/include/vcl/salctype.hxx
index c5c2975b338f..409fc5a79993 100644
--- a/include/vcl/salctype.hxx
+++ b/include/vcl/salctype.hxx
@@ -48,7 +48,7 @@ public:
Graphic maGraphic;
SvStream& mrStm;
- ConvertDataFormat const mnFormat;
+ ConvertDataFormat mnFormat;
ConvertData( const Graphic& rGraphic, SvStream& rStm, ConvertDataFormat nFormat ) :
maGraphic( rGraphic ), mrStm( rStm ), mnFormat( nFormat ) {}
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index f396b94c5f52..b53331484e96 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -249,7 +249,7 @@ class VCL_DLLPUBLIC ImplControlValue
friend class SalFrame;
private:
- ControlType const mType;
+ ControlType mType;
ButtonValue mTristate; // Tristate value: on, off, mixed
long mNumber; // numeric value
protected:
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 27aa29dc7f06..e6ed7a1f46fc 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -210,7 +210,7 @@ public:
}
private:
- Type const aEvent;
+ Type aEvent;
std::vector<OUString> aData;
};
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx
index 339c539597d2..2e595fb8995e 100644
--- a/include/vcl/textdata.hxx
+++ b/include/vcl/textdata.hxx
@@ -115,7 +115,7 @@ inline bool TextSelection::operator != ( const TextSelection& rSel ) const
class VCL_DLLPUBLIC TextHint : public SfxHint
{
private:
- sal_uLong const mnValue;
+ sal_uLong mnValue;
public:
TextHint( SfxHintId nId );
@@ -126,7 +126,7 @@ public:
struct TEIMEInfos
{
- OUString const aOldTextAfterStartPos;
+ OUString aOldTextAfterStartPos;
std::unique_ptr<ExtTextInputAttr[]> pAttribs;
TextPaM aPos;
sal_Int32 nLen;
diff --git a/include/vcl/toolkit/dialog.hxx b/include/vcl/toolkit/dialog.hxx
index 96d843441f57..c16d63e4d7f6 100644
--- a/include/vcl/toolkit/dialog.hxx
+++ b/include/vcl/toolkit/dialog.hxx
@@ -54,7 +54,7 @@ private:
bool mbInSyncExecute;
bool mbInClose;
bool mbModalMode;
- InitFlag const mnInitFlag; // used for deferred init
+ InitFlag mnInitFlag; // used for deferred init
VclPtr<VclButtonBox> mpActionArea;
VclPtr<VclBox> mpContentArea;
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx
index a77ad3c786b6..479cfbe8dccd 100644
--- a/include/vcl/txtattr.hxx
+++ b/include/vcl/txtattr.hxx
@@ -61,7 +61,7 @@ public:
class VCL_DLLPUBLIC TextAttribFontColor final : public TextAttrib
{
private:
- Color const maColor;
+ Color maColor;
public:
TextAttribFontColor( const Color& rColor );
@@ -77,7 +77,7 @@ public:
class VCL_DLLPUBLIC TextAttribFontWeight final : public TextAttrib
{
private:
- FontWeight const meWeight;
+ FontWeight meWeight;
public:
TextAttribFontWeight( FontWeight eWeight );
diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx
index 27ab0973dd37..9f97fd6bd974 100644
--- a/include/vcl/unohelp2.hxx
+++ b/include/vcl/unohelp2.hxx
@@ -37,7 +37,7 @@ namespace vcl { namespace unohelper {
public ::cppu::OWeakObject
{
private:
- OUString const maText;
+ OUString maText;
public:
TextDataObject( const OUString& rText );
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index 22829b7bc4f2..c1f07e835594 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -205,7 +205,7 @@ class VCL_DLLPUBLIC VclMenuEvent final : public VclSimpleEvent
{
private:
VclPtr<Menu> pMenu;
- sal_uInt16 const mnPos;
+ sal_uInt16 mnPos;
VclMenuEvent(VclMenuEvent const &) = delete;
VclMenuEvent& operator =(VclMenuEvent const &) = delete;
diff --git a/include/vcl/vectorgraphicdata.hxx b/include/vcl/vectorgraphicdata.hxx
index b64e79d8d936..b05671852c2c 100644
--- a/include/vcl/vectorgraphicdata.hxx
+++ b/include/vcl/vectorgraphicdata.hxx
@@ -56,7 +56,7 @@ private:
VectorGraphicDataArray maVectorGraphicDataArray;
// The absolute Path if available
- OUString const maPath;
+ OUString maPath;
// on demand created content
bool mbSequenceCreated;
@@ -64,7 +64,7 @@ private:
std::deque< css::uno::Reference< css::graphic::XPrimitive2D > > maSequence;
BitmapEx maReplacement;
size_t mNestedBitmapSize;
- VectorGraphicDataType const meVectorGraphicDataType;
+ VectorGraphicDataType meVectorGraphicDataType;
// extra:
std::unique_ptr<WmfExternal> mpExternalHeader;
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 151333203895..861b7d9b9a69 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1783,7 +1783,7 @@ public:
class VCL_DLLPUBLIC TimeSpinButton final
{
- TimeFieldFormat const m_eFormat;
+ TimeFieldFormat m_eFormat;
std::unique_ptr<weld::SpinButton> m_xSpinButton;
Link<TimeSpinButton&, void> m_aValueChangedHdl;