summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTextView.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /sdext/source/presenter/PresenterTextView.hxx
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.hxx')
-rw-r--r--sdext/source/presenter/PresenterTextView.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTextView.hxx b/sdext/source/presenter/PresenterTextView.hxx
index 3d404216f9f0..4f67b5724a25 100644
--- a/sdext/source/presenter/PresenterTextView.hxx
+++ b/sdext/source/presenter/PresenterTextView.hxx
@@ -52,13 +52,13 @@ public:
void ShowCaret (void);
void HideCaret (void);
- sal_Int32 GetParagraphIndex (void) const;
- sal_Int32 GetCharacterIndex (void) const;
+ sal_Int32 GetParagraphIndex (void) const { return mnParagraphIndex;}
+ sal_Int32 GetCharacterIndex (void) const { return mnCharacterIndex;}
void SetPosition (
const sal_Int32 nParagraphIndex,
const sal_Int32 nCharacterIndex);
- bool IsVisible (void) const;
+ bool IsVisible (void) const { return mbIsCaretVisible;}
/** Set a (possibly empty) functor that broadcasts changes of the caret
position. This is used when a PresenterTextView object is set at