summaryrefslogtreecommitdiff
path: root/vcl/source/control/ctrl.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 16:58:56 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 16:58:56 +0000
commiteb78b70b175a46ad33127054b3c87b55d8ff9661 (patch)
tree9175e652dc88e80ad651003e2e60714b7a9d4303 /vcl/source/control/ctrl.cxx
parentdf09afe8497d32ca9d59b424c1a04ffe7c25d9a1 (diff)
INTEGRATION: CWS vclcompact (1.17.42); FILE MERGED
2004/12/14 16:32:36 ssa 1.17.42.1: hide Window members (pImpl)
Diffstat (limited to 'vcl/source/control/ctrl.cxx')
-rw-r--r--vcl/source/control/ctrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 946895942540..0053d3e8f9b3 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ctrl.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: pjunck $ $Date: 2004-10-22 12:12:52 $
+ * last change: $Author: kz $ $Date: 2005-01-13 17:58:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -176,7 +176,7 @@ void Control::SetText( const String& rStr )
Rectangle ControlLayoutData::GetCharacterBounds( long nIndex ) const
{
- return (nIndex >= 0 && nIndex < m_aUnicodeBoundRects.size()) ? m_aUnicodeBoundRects[ nIndex ] : Rectangle();
+ return (nIndex >= 0 && nIndex < (long) m_aUnicodeBoundRects.size()) ? m_aUnicodeBoundRects[ nIndex ] : Rectangle();
}