nss: upgrade to release 3.73
[LibreOffice.git] / svl / source / numbers / currencytable.cxx
blobfeef71b43b9480a50e446c3b9acaa50a860a937e
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 <memory>
11 #include <svl/currencytable.hxx>
13 NfCurrencyTable::iterator NfCurrencyTable::begin()
15 return maData.begin();
18 NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i )
20 return *maData[i];
23 const NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i ) const
25 return *maData[i];
28 size_t NfCurrencyTable::size() const
30 return maData.size();
33 void NfCurrencyTable::insert(const iterator& it, std::unique_ptr<NfCurrencyEntry> p)
35 maData.insert(it, std::move(p));
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */