diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/Library_svl.mk | 1 | ||||
-rw-r--r-- | svl/source/numbers/currencytable.cxx | 52 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
3 files changed, 56 insertions, 1 deletions
diff --git a/svl/Library_svl.mk b/svl/Library_svl.mk index b75b32a49849..36413857965b 100644 --- a/svl/Library_svl.mk +++ b/svl/Library_svl.mk @@ -127,6 +127,7 @@ $(eval $(call gb_Library_add_exception_objects,svl,\ svl/source/notify/isethint \ svl/source/notify/listener \ svl/source/notify/lstner \ + svl/source/numbers/currencytable \ svl/source/numbers/numfmuno \ svl/source/numbers/numuno \ svl/source/numbers/supservs \ diff --git a/svl/source/numbers/currencytable.cxx b/svl/source/numbers/currencytable.cxx new file mode 100644 index 000000000000..ee65e8ff5c6a --- /dev/null +++ b/svl/source/numbers/currencytable.cxx @@ -0,0 +1,52 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* +* This file is part of the LibreOffice project. +* +* This Source Code Form is subject to the terms of the Mozilla Public +* License, v. 2.0. If a copy of the MPL was not distributed with this +* file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ + +#include <svl/currencytable.hxx> + +NfCurrencyTable::iterator NfCurrencyTable::begin() +{ + return maData.begin(); +} + +NfCurrencyTable::iterator NfCurrencyTable::end() +{ + return maData.end(); +} + +NfCurrencyTable::const_iterator NfCurrencyTable::begin() const +{ + return maData.begin(); +} + +NfCurrencyTable::const_iterator NfCurrencyTable::end() const +{ + return maData.end(); +} + +NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i ) +{ + return maData[i]; +} + +const NfCurrencyEntry& NfCurrencyTable::operator[] ( size_t i ) const +{ + return maData[i]; +} + +size_t NfCurrencyTable::size() const +{ + return maData.size(); +} + +void NfCurrencyTable::insert( iterator it, NfCurrencyEntry* p ) +{ + maData.insert(it, p); +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 51fe328258bb..9b8e562db476 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <svl/zforlist.hxx> +#include <svl/currencytable.hxx> + #include <comphelper/string.hxx> #include <tools/debug.hxx> #include <unotools/charclass.hxx> @@ -31,7 +34,6 @@ #include <osl/mutex.hxx> -#include <svl/zforlist.hxx> #include "zforscan.hxx" #include "zforfind.hxx" |