diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:16:09 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:16:09 +0000 |
commit | 6b9511d14e35378ef3d7d6965f3cf6a228abc81b (patch) | |
tree | d6b9162bbc24663cde95988fff0f92e2586ed2e5 /sal/inc/systools | |
parent | f6fd6792b7deefb9aeb4cd6c2a54f7045ef1b010 (diff) |
INTEGRATION: CWS warnings01 (1.3.12); FILE MERGED
2006/03/09 18:56:45 pl 1.3.12.2: #i59991# removed warnings from system header
2006/03/09 17:24:21 pl 1.3.12.1: #i59991# removed an unused local
Diffstat (limited to 'sal/inc/systools')
-rw-r--r-- | sal/inc/systools/win32/comtools.hxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sal/inc/systools/win32/comtools.hxx b/sal/inc/systools/win32/comtools.hxx index 5e13bb2abc1d..870aed2777b9 100644 --- a/sal/inc/systools/win32/comtools.hxx +++ b/sal/inc/systools/win32/comtools.hxx @@ -4,9 +4,9 @@ * * $RCSfile: comtools.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-08 14:49:53 $ + * last change: $Author: hr $ $Date: 2006-06-20 04:16:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -37,7 +37,13 @@ #include <string> #include <stdexcept> +#if defined _MSC_VER +#pragma warning(push,1) +#endif #include <objbase.h> +#if defined _MSC_VER +#pragma warning(pop) +#endif namespace sal { @@ -112,7 +118,7 @@ namespace systools ~COMReference() { - LONG cnt = release(); + release(); } template<typename InterfaceType> |