LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / sc / inc / calcmacros.hxx
blobc0c68d4487cff53092adbeafccd8fce43ad7f7ed
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
15 #define DEBUG_AREA_BROADCASTER 0
17 #define DUMP_COLUMN_STORAGE 0
18 #define DUMP_PIVOT_TABLE 0
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
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
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */