diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 16:32:48 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-02 16:32:48 +0000 |
commit | 6c1a571e39ac6717a1401cb2a06e01d2fee1ceea (patch) | |
tree | e96b54a0aed10b756352b36df2f164a8b0743cc1 /udm | |
parent | 876dd43f34082feafc9063c9c481e76cc3a8b62d (diff) |
INTEGRATION: CWS adc18 (1.5.2); FILE MERGED
2007/10/18 12:18:34 np 1.5.2.1: #i81775#
Diffstat (limited to 'udm')
-rw-r--r-- | udm/source/inc/precomp.h | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/udm/source/inc/precomp.h b/udm/source/inc/precomp.h index 23aa6f1893e3..65aeaceb89f9 100644 --- a/udm/source/inc/precomp.h +++ b/udm/source/inc/precomp.h @@ -4,9 +4,9 @@ * * $RCSfile: precomp.h,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kz $ $Date: 2007-09-06 14:10:03 $ + * last change: $Author: hr $ $Date: 2007-11-02 17:32:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -32,25 +32,16 @@ * MA 02111-1307 USA * ************************************************************************/ -#ifndef __ADC_PRECOMP_H_06071998__ -#define __ADC_PRECOMP_H_06071998__ - +#ifndef UDM_PRECOMP_H +#define UDM_PRECOMP_H // For en/disabling csv_assertions: -#if OSL_DEBUG_LEVEL == 0 +#ifndef DEBUG #define CSV_NO_ASSERTIONS -#else -#define CSV_USE_CSV_ASSERTIONS #endif -#ifdef NP_LOCALBUILD -#ifdef _MSC_VER -#pragma warning( disable : 4786 ) -#endif -#endif #include <cosv/csv_precomp.h> - #include <vector> #include <map> @@ -60,18 +51,16 @@ using csv::String; using csv::StringVector; using csv::StreamStr; -using csv::ios; -using csv::ostream; using csv::c_str; typedef csv::StreamStrLock StreamLock; -inline ostream & -Cout() { return csv::Cout(); } +inline std::ostream & +Cout() { return std::cout; } -inline ostream & -Cerr() { return csv::Cerr(); } +inline std::ostream & +Cerr() { return std::cerr; } inline csv::F_FLUSHING_FUNC @@ -81,6 +70,5 @@ Flush() { return csv::Flush; } -#endif - +#endif |