summaryrefslogtreecommitdiff
path: root/vcl/inc/textlayout.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 /vcl/inc/textlayout.hxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
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 'vcl/inc/textlayout.hxx')
-rw-r--r--vcl/inc/textlayout.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/textlayout.hxx b/vcl/inc/textlayout.hxx
index dee69c690161..dd5de8b03539 100644
--- a/vcl/inc/textlayout.hxx
+++ b/vcl/inc/textlayout.hxx
@@ -59,7 +59,7 @@ namespace vcl
const OUString& _rText,
sal_Int32 _nStartIndex,
sal_Int32 _nLength
- ) const;
+ ) const SAL_OVERRIDE;
virtual void DrawText(
const Point& _rStartPoint,
const OUString& _rText,
@@ -67,20 +67,20 @@ namespace vcl
sal_Int32 _nLength,
MetricVector* _pVector,
OUString* _pDisplayText
- );
+ ) SAL_OVERRIDE;
virtual bool GetCaretPositions(
const OUString& _rText,
sal_Int32* _pCaretXArray,
sal_Int32 _nStartIndex,
sal_Int32 _nLength
- ) const;
+ ) const SAL_OVERRIDE;
virtual sal_Int32 GetTextBreak(
const OUString& _rText,
long _nMaxTextWidth,
sal_Int32 _nStartIndex,
sal_Int32 _nLength
) const SAL_OVERRIDE;
- virtual bool DecomposeTextRectAction() const;
+ virtual bool DecomposeTextRectAction() const SAL_OVERRIDE;
private:
OutputDevice& m_rTargetDevice;