summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-10-18 13:17:07 +0000
committerOliver Specht <os@openoffice.org>2000-10-18 13:17:07 +0000
commitfee37df3e1b647755eb7ffac147bcf896c652ceb (patch)
treeadcfd46acacd0e066300eab21149538c62f60091
parent39258bbf5830b176c2bdc22ac9b12214f0efe745 (diff)
#79555# export bookmark text portions: array operator must check for more than the index
-rw-r--r--sw/source/core/unocore/unoobj.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index a47d62f15236..cec75c1b6caa 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoobj.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: os $ $Date: 2000-10-18 09:04:46 $
+ * last change: $Author: os $ $Date: 2000-10-18 14:17:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -5535,7 +5535,9 @@ struct SwXBookmarkPortion_Impl
};
BOOL SwXBookmarkPortion_Impl::operator ==(const SwXBookmarkPortion_Impl &rCmp) const
{
- return nIndex == rCmp.nIndex;
+ return nIndex == rCmp.nIndex &&
+ pBookmark == rCmp.pBookmark &&
+ nBkmType == rCmp.nBkmType;
}
BOOL SwXBookmarkPortion_Impl::operator < (const SwXBookmarkPortion_Impl &rCmp) const