summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/gluepts.cxx
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2001-05-04 14:49:09 +0000
committerSven Jacobi <sj@openoffice.org>2001-05-04 14:49:09 +0000
commit0255fe004910114f91e5fa52c9c9aa7abfcb8473 (patch)
treec31abd8524bd70e82f7b1b93c24f73df12947e63 /svx/source/unodraw/gluepts.cxx
parentbb82f7e6f28f0ae26deeee593f45a4df97b617dd (diff)
#85379# correced index range checking at SvxUnoGluePointAccess::getByIndex
Diffstat (limited to 'svx/source/unodraw/gluepts.cxx')
-rw-r--r--svx/source/unodraw/gluepts.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index 7dab9563b172..e153bc6f8887 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gluepts.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: sj $ $Date: 2001-05-04 11:34:13 $
+ * last change: $Author: sj $ $Date: 2001-05-04 15:49:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -362,7 +362,7 @@ sal_Int32 SAL_CALL SvxUnoGluePointAccess::getCount()
uno::Any SAL_CALL SvxUnoGluePointAccess::getByIndex( sal_Int32 Index )
throw(lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException)
{
- if( Index > 0 && mpObject && mpObject->IsNode() )
+ if( Index >= 0 && mpObject && mpObject->IsNode() )
{
struct drawing::GluePoint2 aGluePoint;