summaryrefslogtreecommitdiff
path: root/editeng/source/items
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-16 14:20:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-17 09:27:41 +0100
commitbf939922f0674a62e33bcc8c884db13bca37bb49 (patch)
tree41ae3b6a41ea6cd0f8b737c29d837547cfee5db6 /editeng/source/items
parente748b096633c5ef747f0630d13708d8dd7308a86 (diff)
these can be const
Diffstat (limited to 'editeng/source/items')
-rw-r--r--editeng/source/items/svxfont.cxx2
1 files changed, 1 insertions, 1 deletions
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?