summaryrefslogtreecommitdiff
path: root/svx/source/dialog/charmap.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 17:03:55 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 17:03:55 +0000
commitab5cd27ae7302a68e1a42a68506b09fae6ec14d8 (patch)
treec99b34e84f9633791097ca099712acd6bf0a099c /svx/source/dialog/charmap.cxx
parentd756a1598af47ac63d6c49006eaeb6dba91b55c2 (diff)
INTEGRATION: CWS vcl47 (1.34.160); FILE MERGED
2005/11/25 10:49:48 hdu 1.34.160.1: #i51037# fix off by one
Diffstat (limited to 'svx/source/dialog/charmap.cxx')
-rw-r--r--svx/source/dialog/charmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index 28d84c4f362d..3c1c6e9a09fe 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: charmap.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 20:41:13 $
+ * last change: $Author: hr $ $Date: 2006-01-26 18:03:55 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -324,7 +324,7 @@ int SvxShowCharSet::FirstInView( void ) const
int SvxShowCharSet::LastInView( void ) const
{
ULONG nIndex = FirstInView();
- nIndex += ROW_COUNT * COLUMN_COUNT;
+ nIndex += ROW_COUNT * COLUMN_COUNT - 1;
if( nIndex > maFontCharMap.GetCharCount() - 1 )
nIndex = maFontCharMap.GetCharCount() - 1;
return nIndex;