diff options
author | David Tardon <dtardon@redhat.com> | 2012-12-04 13:48:00 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-12-04 14:26:30 +0100 |
commit | 104a855ade9102d694293c1059f99946752f76d8 (patch) | |
tree | 44d027055e0020c74748b4fbbde76393ef3951f1 /editeng/source/editeng/editdoc.hxx | |
parent | 54107c9b3c0e07d70b9afb7d367dea14bf98e4cd (diff) |
fdo#52640 fix right-aligned tabstops
It is no good to change temporary object...
Change-Id: Ib1178e154341dd0216fd965d3ed6c264de40d634
Diffstat (limited to 'editeng/source/editeng/editdoc.hxx')
-rw-r--r-- | editeng/source/editeng/editdoc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index bdaeb9d4587d..59e7ea11229d 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -407,7 +407,7 @@ public: void SetLen( sal_uInt16 nL ) { nLen = nL; } Size& GetSize() { return aOutSz; } - Size GetSize() const { return aOutSz; } + const Size& GetSize() const { return aOutSz; } sal_uInt8& GetKind() { return nKind; } sal_uInt8 GetKind() const { return nKind; } |