From 074436829840763eaf0c3d150b606aedca4e3ef0 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 12 Mar 2018 22:55:22 +1100 Subject: vcl: prefix BitmapEx member variables with an 'm' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I39c52cd670e6148fca1f65c35a5ff411bfda7137 Reviewed-on: https://gerrit.libreoffice.org/51143 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/vcl/bitmapex.hxx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index c596a71a17a3..9ab88686df36 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -56,7 +56,7 @@ public: BitmapEx& operator=( const BitmapEx& rBitmapEx ); bool operator==( const BitmapEx& rBitmapEx ) const; bool operator!=( const BitmapEx& rBitmapEx ) const { return !(*this==rBitmapEx); } - bool operator!() const { return !aBitmap; } + bool operator!() const { return !maBitmap; } bool IsEmpty() const; void SetEmpty(); @@ -68,7 +68,7 @@ public: const Point& rDestPt, const Size& rDestSize ) const; bool IsTransparent() const; - TransparentType GetTransparentType() const { return eTransparent; } + TransparentType GetTransparentType() const { return meTransparent; } Bitmap GetBitmap( const Color* pTransReplaceColor = nullptr ) const; /// Gives direct access to the contained bitmap. @@ -78,18 +78,18 @@ public: bool IsAlpha() const; AlphaMask GetAlpha() const; - const Size& GetSizePixel() const { return aBitmapSize; } + const Size& GetSizePixel() const { return maBitmapSize; } void SetSizePixel( const Size& rNewSize, BmpScaleFlag nScaleFlag = BmpScaleFlag::Default ); - const Size& GetPrefSize() const { return aBitmap.GetPrefSize(); } - void SetPrefSize( const Size& rPrefSize ) { aBitmap.SetPrefSize( rPrefSize ); } + const Size& GetPrefSize() const { return maBitmap.GetPrefSize(); } + void SetPrefSize( const Size& rPrefSize ) { maBitmap.SetPrefSize( rPrefSize ); } - const MapMode& GetPrefMapMode() const { return aBitmap.GetPrefMapMode(); } - void SetPrefMapMode( const MapMode& rPrefMapMode ) { aBitmap.SetPrefMapMode( rPrefMapMode ); } + const MapMode& GetPrefMapMode() const { return maBitmap.GetPrefMapMode(); } + void SetPrefMapMode( const MapMode& rPrefMapMode ) { maBitmap.SetPrefMapMode( rPrefMapMode ); } - const Color& GetTransparentColor() const { return aTransparentColor; } + const Color& GetTransparentColor() const { return maTransparentColor; } - sal_uInt16 GetBitCount() const { return aBitmap.GetBitCount(); } + sal_uInt16 GetBitCount() const { return maBitmap.GetBitCount(); } sal_uLong GetSizeBytes() const; BitmapChecksum GetChecksum() const; @@ -445,8 +445,8 @@ public: public: - SAL_DLLPRIVATE std::shared_ptr const & ImplGetBitmapImpBitmap() const { return aBitmap.ImplGetImpBitmap(); } - SAL_DLLPRIVATE std::shared_ptr const & ImplGetMaskImpBitmap() const { return aMask.ImplGetImpBitmap(); } + SAL_DLLPRIVATE std::shared_ptr const & ImplGetBitmapImpBitmap() const { return maBitmap.ImplGetImpBitmap(); } + SAL_DLLPRIVATE std::shared_ptr const & ImplGetMaskImpBitmap() const { return maMask.ImplGetImpBitmap(); } private: @@ -454,12 +454,12 @@ private: friend bool VCL_DLLPUBLIC WriteDIBBitmapEx(const BitmapEx& rSource, SvStream& rOStm); void loadFromIconTheme( const OUString& rIconName ); - Bitmap aBitmap; - Bitmap aMask; - Size aBitmapSize; - Color aTransparentColor; - TransparentType eTransparent; - bool bAlpha; + Bitmap maBitmap; + Bitmap maMask; + Size maBitmapSize; + Color maTransparentColor; + TransparentType meTransparent; + bool mbAlpha; }; -- cgit