diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2011-03-21 22:17:40 -0430 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-03-24 10:15:38 +0100 |
commit | 0f42d74c576c6de0352be0d6961aadd031c5a512 (patch) | |
tree | 80335c5e4c5361cfd813179878f9fdf11fa89aff /soldep | |
parent | 710b73a3de05ca8cb6fee069ba23565c78c762d1 (diff) |
Remove unused macro.
Diffstat (limited to 'soldep')
-rw-r--r-- | soldep/inc/soldep/listmacr.hxx | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/soldep/inc/soldep/listmacr.hxx b/soldep/inc/soldep/listmacr.hxx deleted file mode 100644 index a27f51cfdd4c..000000000000 --- a/soldep/inc/soldep/listmacr.hxx +++ /dev/null @@ -1,60 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef _LISTMACR_HXX -#define _LISTMACR_HXX - -#define DECL_DEST_LIST( TmpListType, ListType, PointerType ) \ -DECLARE_LIST(TmpListType, PointerType) \ -class ListType : public TmpListType \ -{ \ -public: \ - void ClearAndDelete() \ - { \ - while ( Count()) { \ - PointerType pTmp = GetObject(( sal_uIntPtr ) 0 ); \ - delete pTmp; \ - Remove(( sal_uIntPtr ) 0 ); \ - } \ - } \ - ~ListType() \ - { \ - ClearAndDelete(); \ - } \ -}; \ - -#endif - - - - - - - - - - |