diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-12-14 14:39:30 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-12-14 14:39:30 +0000 |
commit | 93a0816ebaeee40c603cdd8bf155c8f69946094d (patch) | |
tree | e2f776a447d3353e0ab75df2de5bb7f6361ed6ab | |
parent | 1b91d5979a3cd6fb547c83831bed7ff30158b57e (diff) |
#i10000# fix bad memory access in autodoc (np)
-rw-r--r-- | autodoc/source/ary/cpp/c_reposypart.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/autodoc/source/ary/cpp/c_reposypart.cxx b/autodoc/source/ary/cpp/c_reposypart.cxx index 1b759b86e2e2..2ec47e18608e 100644 --- a/autodoc/source/ary/cpp/c_reposypart.cxx +++ b/autodoc/source/ary/cpp/c_reposypart.cxx @@ -4,9 +4,9 @@ * * $RCSfile: c_reposypart.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2007-11-05 12:01:03 $ + * last change: $Author: kz $ $Date: 2007-12-14 15:39:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -191,6 +191,10 @@ LesserGlobal::operator()( GlobalId i_1, { return NOT IsDefine(i_2); } + else if (IsDefine(i_1)) + { + return i_1.Class() < i_2.Class(); + } return Ce_GlobalCompare::Lesser_( rCes[i_1.Id()], |