summaryrefslogtreecommitdiff
path: root/shell/inc
diff options
context:
space:
mode:
authorChristina Rossmanith <ChrRossmanith@web.de>2011-04-13 21:17:34 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-04-19 20:36:12 +0200
commite198be5988cb150de99e9f2e52c64fdc72036042 (patch)
treeabb79d0eddb805593b9b76d44ee439454b87d162 /shell/inc
parentb0b3e5fdf811fa5939366f378a22755fb80e51ab (diff)
Removed dbgmacros.{ch}xx / use OSL_{ENSURE,POSTCOND} instead
Diffstat (limited to 'shell/inc')
-rw-r--r--shell/inc/internal/dbgmacros.hxx46
-rw-r--r--shell/inc/internal/global.hxx1
2 files changed, 0 insertions, 47 deletions
diff --git a/shell/inc/internal/dbgmacros.hxx b/shell/inc/internal/dbgmacros.hxx
deleted file mode 100644
index 0fe72b4aceb2..000000000000
--- a/shell/inc/internal/dbgmacros.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * 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 DBGMACROS_HXX_INCLUDED
-#define DBGMACROS_HXX_INCLUDED
-
-void DbgAssert(bool condition, const char* message);
-
-#if OSL_DEBUG_LEVEL > 0
- #define PRE_CONDITION(x, msg) DbgAssert(x, msg)
- #define POST_CONDITION(x, msg) DbgAssert(x, msg)
- #define ENSURE(x ,msg) DbgAssert(x, msg)
-#else // OSL_DEBUG_LEVEL == 0
- #define PRE_CONDITION(x, msg) ((void)0)
- #define POST_CONDITION(x, msg) ((void)0)
- #define ENSURE(x, msg) ((void)0)
-#endif
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/shell/inc/internal/global.hxx b/shell/inc/internal/global.hxx
index b711c34b8b1d..359435a79192 100644
--- a/shell/inc/internal/global.hxx
+++ b/shell/inc/internal/global.hxx
@@ -38,7 +38,6 @@
#if defined _MSC_VER
#pragma warning(pop)
#endif
-#include "internal/dbgmacros.hxx"
extern long g_DllRefCnt;