diff options
author | Andreas Bille <abi@openoffice.org> | 2001-06-18 11:10:12 +0000 |
---|---|---|
committer | Andreas Bille <abi@openoffice.org> | 2001-06-18 11:10:12 +0000 |
commit | 2d04b18766cc488fe1f1a0dc501c86115235d166 (patch) | |
tree | 3af33b8159c14a1029fb0841598fefb7469f3910 /xmlhelp/source/cxxhelp/db/BtreeDict.cxx | |
parent | 3800e373d88909e0c0aa53c33e5ab805597ca63b (diff) |
#87762#
Sorting of keywords now uses XCollator.
New style stl-header includes.
Diffstat (limited to 'xmlhelp/source/cxxhelp/db/BtreeDict.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/db/BtreeDict.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/xmlhelp/source/cxxhelp/db/BtreeDict.cxx b/xmlhelp/source/cxxhelp/db/BtreeDict.cxx index c6e9164d5c7e..4818f48733a9 100644 --- a/xmlhelp/source/cxxhelp/db/BtreeDict.cxx +++ b/xmlhelp/source/cxxhelp/db/BtreeDict.cxx @@ -2,9 +2,9 @@ * * $RCSfile: BtreeDict.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: abi $ $Date: 2001-06-06 14:48:47 $ + * last change: $Author: abi $ $Date: 2001-06-18 12:10:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,12 +58,13 @@ * * ************************************************************************/ +#ifndef INCLUDED_STL_VECTOR +#include <vector> +#define INCLUDED_STL_VECTOR +#endif #ifndef _RTL_USTRING_HXX_ #include <rtl/ustring.hxx> #endif -#ifndef __SGI_STL_VECTOR -#include <stl/vector> -#endif #ifndef _XMLSEARCH_DB_BTREEDICT_HXX_ #include <db/BtreeDict.hxx> #endif @@ -94,8 +95,8 @@ const sal_Int32 xmlsearch::db::BtreeDict::ENTHEADERLEN = 6; const sal_Int32 xmlsearch::db::BtreeDict::BLOCKSIZE = 2048; const sal_Int32 xmlsearch::db::BtreeDict::HEADERLEN = 8; -const sal_Int32 xmlsearch::db::BtreeDict::DATALEN -= xmlsearch::db::BtreeDict::BLOCKSIZE - xmlsearch::db::BtreeDict::HEADERLEN; +const sal_Int32 xmlsearch::db::BtreeDict::DATALEN = +xmlsearch::db::BtreeDict::BLOCKSIZE - xmlsearch::db::BtreeDict::HEADERLEN; const sal_Int32 xmlsearch::db::BtreeDict::nBlocksLimit = 64; const sal_Int32 xmlsearch::db::BtreeDict::MaxKeyLength = 255; |