From 07f4263cdec47be554da18cc37d2078d170c5ec3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Aug 2012 12:34:20 +0200 Subject: [PATCH] Move definition of LIST_APPEND to contnr.hxx This definition is used everywhere as a flag value, even where the List class itself is not used. Move it as part of stripping away usage of the List class. Change-Id: I064dc25368bd04b038f4e07a337bf8adf0b8d0eb --- tools/inc/tools/contnr.hxx | 2 ++ tools/inc/tools/list.hxx | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/inc/tools/contnr.hxx b/tools/inc/tools/contnr.hxx index 72b98fd56593..cfd140d9eb73 100644 --- a/tools/inc/tools/contnr.hxx +++ b/tools/inc/tools/contnr.hxx @@ -35,6 +35,8 @@ class CBlock; #define CONTAINER_APPEND ULONG_MAX #define CONTAINER_ENTRY_NOTFOUND ULONG_MAX +#define LIST_APPEND CONTAINER_APPEND + class TOOLS_DLLPUBLIC Container { private: diff --git a/tools/inc/tools/list.hxx b/tools/inc/tools/list.hxx index d7a4e0e02d59..b462d5526c07 100644 --- a/tools/inc/tools/list.hxx +++ b/tools/inc/tools/list.hxx @@ -27,7 +27,6 @@ // - List - // -------- -#define LIST_APPEND CONTAINER_APPEND #define LIST_ENTRY_NOTFOUND CONTAINER_ENTRY_NOTFOUND class List : private Container