summaryrefslogtreecommitdiff
path: root/include/vcl/txtattr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/txtattr.hxx')
-rw-r--r--include/vcl/txtattr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx
index 7754c061e413..677d5e0c6a5c 100644
--- a/include/vcl/txtattr.hxx
+++ b/include/vcl/txtattr.hxx
@@ -119,10 +119,10 @@ public:
sal_uInt16 Which() const { return mpAttr->Which(); }
sal_Int32 GetStart() const { return mnStart; }
- sal_Int32& GetStart() { return mnStart; }
+ void SetStart(sal_Int32 n) { mnStart = n; }
sal_Int32 GetEnd() const { return mnEnd; }
- sal_Int32& GetEnd() { return mnEnd; }
+ void SetEnd(sal_Int32 n) { mnEnd = n; }
inline sal_Int32 GetLen() const;