summaryrefslogtreecommitdiffstats
path: root/editeng/inc
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-03-09 22:02:47 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-03-09 22:03:59 +0400
commitc487fa125ed9fb59ba2507d5f0f947d5e425bc61 (patch)
treeabdb3c95f81268c35bc72c209d289c2bef3a9275 /editeng/inc
parentcoverity#705676: fix memory leak (diff)
downloadcore-c487fa125ed9fb59ba2507d5f0f947d5e425bc61.tar.gz
core-c487fa125ed9fb59ba2507d5f0f947d5e425bc61.zip
const-correctness
Change-Id: I15033051cfa4baafde4736abf366ca8c03778b88
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/editeng.hxx2
-rw-r--r--editeng/inc/editeng/outliner.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx
index 48e236c160e7..6161671457c2 100644
--- a/editeng/inc/editeng/editeng.hxx
+++ b/editeng/inc/editeng/editeng.hxx
@@ -372,7 +372,7 @@ public:
void QuickMarkToBeRepainted( sal_uInt16 nPara );
void SetGlobalCharStretching( sal_uInt16 nX = 100, sal_uInt16 nY = 100 );
- void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY );
+ void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY ) const;
void SetEditTextObjectPool( SfxItemPool* pPool );
SfxItemPool* GetEditTextObjectPool() const;
diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx
index 61e6a411fbe8..70531b0798df 100644
--- a/editeng/inc/editeng/outliner.hxx
+++ b/editeng/inc/editeng/outliner.hxx
@@ -955,7 +955,7 @@ public:
sal_Bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder, sal_Bool* pbBuuletPos );
void SetGlobalCharStretching( sal_uInt16 nX = 100, sal_uInt16 nY = 100 );
- void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY );
+ void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY ) const;
void EraseVirtualDevice();
sal_Bool ShouldCreateBigTextObject() const;