Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / inc / calcmacros.hxx
blobebe96654804aa92254ea51a09f3c22ccb71b7584
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #define DEBUG_COLUMN_STORAGE 0
13 #define DEBUG_PIVOT_TABLE 0
14 #define DEBUG_FORMULA_COMPILER 0
16 #define DUMP_COLUMN_STORAGE 0
17 #define DUMP_PIVOT_TABLE 0
19 #ifdef DBG_UTIL
20 #undef DUMP_COLUMN_STORAGE
21 #define DUMP_COLUMN_STORAGE 1
22 #undef DUMP_PIVOT_TABLE
23 #define DUMP_PIVOT_TABLE 1
24 #endif
26 #if DUMP_PIVOT_TABLE || DEBUG_PIVOT_TABLE || \
27 DUMP_COLUMN_STORAGE || DEBUG_COLUMN_STORAGE || \
28 DEBUG_FORMULA_COMPILER
29 #include <iostream>
30 using std::cout;
31 using std::cerr;
32 using std::endl;
33 #endif
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */