LibreOffice Module sc (master)  1
calcmacros.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #pragma once
11 
12 #define DEBUG_COLUMN_STORAGE 0
13 #define DEBUG_PIVOT_TABLE 0
14 #define DEBUG_FORMULA_COMPILER 0
15 #define DEBUG_AREA_BROADCASTER 0
16 
17 #define DUMP_COLUMN_STORAGE 0
18 #define DUMP_PIVOT_TABLE 0
19 
20 #ifdef DBG_UTIL
21 #undef DUMP_COLUMN_STORAGE
22 #define DUMP_COLUMN_STORAGE 1
23 #undef DUMP_PIVOT_TABLE
24 #define DUMP_PIVOT_TABLE 1
25 #endif
26 
27 #if DUMP_PIVOT_TABLE || DEBUG_PIVOT_TABLE || \
28  DUMP_COLUMN_STORAGE || DEBUG_COLUMN_STORAGE || \
29  DEBUG_FORMULA_COMPILER || \
30  DEBUG_AREA_BROADCASTER
31 #include <iostream>
32 using std::cout;
33 using std::cerr;
34 using std::endl;
35 #endif
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */