diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-16 14:20:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-17 09:27:41 +0100 |
commit | bf939922f0674a62e33bcc8c884db13bca37bb49 (patch) | |
tree | 41ae3b6a41ea6cd0f8b737c29d837547cfee5db6 /editeng | |
parent | e748b096633c5ef747f0630d13708d8dd7308a86 (diff) |
these can be const
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/svxfont.hxx | 2 | ||||
-rw-r--r-- | editeng/source/items/svxfont.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/inc/editeng/svxfont.hxx b/editeng/inc/editeng/svxfont.hxx index d544afdae054..0dc33b630321 100644 --- a/editeng/inc/editeng/svxfont.hxx +++ b/editeng/inc/editeng/svxfont.hxx @@ -104,7 +104,7 @@ public: Size GetPhysTxtSize( const OutputDevice *pOut, const String &rTxt ); Size GetTxtSize( const OutputDevice *pOut, const String &rTxt, - const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ); + const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const; void DrawText( OutputDevice *pOut, const Point &rPos, const String &rTxt, const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const; diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index e7062bfbf5dc..964d67d2a483 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -463,7 +463,7 @@ Size SvxFont::QuickGetTextSize( const OutputDevice *pOut, const XubString &rTxt, Size SvxFont::GetTxtSize( const OutputDevice *pOut, const XubString &rTxt, - const xub_StrLen nIdx, const xub_StrLen nLen ) + const xub_StrLen nIdx, const xub_StrLen nLen ) const { xub_StrLen nTmp = nLen; if ( nTmp == STRING_LEN ) // already initialized? |