Line data Source code
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 : #include <svl/currencytable.hxx>
11 :
12 14964 : NfCurrencyTable::iterator NfCurrencyTable::begin()
13 : {
14 14964 : return maData.begin();
15 : }
16 :
17 0 : NfCurrencyTable::const_iterator NfCurrencyTable::begin() const
18 : {
19 0 : return maData.begin();
20 : }
21 :
22 284660 : NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i )
23 : {
24 284660 : return maData[i];
25 : }
26 :
27 18557 : const NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i ) const
28 : {
29 18557 : return maData[i];
30 : }
31 :
32 2962 : size_t NfCurrencyTable::size() const
33 : {
34 2962 : return maData.size();
35 : }
36 :
37 14964 : void NfCurrencyTable::insert( iterator it, NfCurrencyEntry* p )
38 : {
39 14964 : maData.insert(it, p);
40 14964 : }
41 :
42 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|