fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / core / data / dpnumgroupinfo.cxx
blobbe496da51298e371737713d15046b4a11695b976
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 #include "dpnumgroupinfo.hxx"
12 ScDPNumGroupInfo::ScDPNumGroupInfo() :
13 mbEnable(false),
14 mbDateValues(false),
15 mbAutoStart(false),
16 mbAutoEnd(false),
17 mbIntegerOnly(true),
18 mfStart(0.0), mfEnd(0.0), mfStep(0.0) {}
20 ScDPNumGroupInfo::ScDPNumGroupInfo(const ScDPNumGroupInfo& r) :
21 mbEnable(r.mbEnable),
22 mbDateValues(r.mbDateValues),
23 mbAutoStart(r.mbAutoStart),
24 mbAutoEnd(r.mbAutoEnd),
25 mbIntegerOnly(r.mbIntegerOnly),
26 mfStart(r.mfStart),
27 mfEnd(r.mfEnd), mfStep(r.mfStep) {}
29 #if DEBUG_PIVOT_TABLE
30 using std::cout;
31 using std::endl;
33 void ScDPNumGroupInfo::Dump() const
35 cout << "--- ScDPNumGroupInfo" << endl;
36 cout << " enabled: " << mbEnable << endl;
37 cout << " auto start: " << mbAutoStart << endl;
38 cout << " auto end: " << mbAutoEnd << endl;
39 cout << " start: " << mfStart << endl;
40 cout << " end: " << mfEnd << endl;
41 cout << " step: " << mfStep << endl;
42 cout << "---" << endl;
44 #endif
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */