summaryrefslogtreecommitdiffstats
path: root/include/vcl/virdev.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /include/vcl/virdev.hxx
parentcp#1000044 DOC import: fProtEnabled means document is not totally read-only (diff)
downloadcore-70cc2b191b95fbc210bc1f0f6a7159f341894f0f.tar.gz
core-70cc2b191b95fbc210bc1f0f6a7159f341894f0f.zip
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'include/vcl/virdev.hxx')
-rw-r--r--include/vcl/virdev.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index f413e4852323..2713567b0608 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -61,8 +61,8 @@ private:
SAL_DLLPRIVATE bool ForceZeroExtleadBug() const
{ return ((meRefDevMode & REFDEV_FORCE_ZERO_EXTLEAD) != 0); }
public:
- bool ImplInitGraphics() const;
- void ImplReleaseGraphics( bool bRelease = true );
+ bool ImplInitGraphics() const SAL_OVERRIDE;
+ void ImplReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE;
public:
/** Create a virtual device of size 1x1
@@ -113,7 +113,7 @@ public:
virtual ~VirtualDevice();
- virtual void EnableRTL( bool bEnable = true );
+ virtual void EnableRTL( bool bEnable = true ) SAL_OVERRIDE;
bool SetOutputSizePixel( const Size& rNewSize, bool bErase = true );
bool SetOutputSizePixelScaleOffsetAndBuffer( const Size& rNewSize, const Fraction& rScale, const Point& rNewOffset, const basebmp::RawMemorySharedArray &pBuffer );
@@ -134,8 +134,8 @@ public:
void SetReferenceDevice( sal_Int32 i_nDPIX, sal_Int32 i_nDPIY );
- sal_uInt16 GetBitCount() const;
- sal_uInt16 GetAlphaBitCount() const;
+ sal_uInt16 GetBitCount() const SAL_OVERRIDE;
+ sal_uInt16 GetAlphaBitCount() const SAL_OVERRIDE;
private:
SAL_DLLPRIVATE void ImplSetReferenceDevice( RefDevMode, sal_Int32 i_nDPIX, sal_Int32 i_nDPIY );