diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2016-09-09 21:11:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 07:12:49 +0000 |
commit | 9df9949cc484ea0ba109e7d41fd03b15afaedb11 (patch) | |
tree | 3357ed611a511dff871486275b13ef2fd70e116e /include/unotools | |
parent | 4c70a1a6666a079872b8f1966bd398e924dc1d1a (diff) |
Remove NumberFormatCodeWrapper
This class only adds a level of indirection, without any useful functionality.
Change-Id: I806e1b9241caf025c62c12c93aad3101daac874a
Reviewed-on: https://gerrit.libreoffice.org/29134
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/numberformatcodewrapper.hxx | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/include/unotools/numberformatcodewrapper.hxx b/include/unotools/numberformatcodewrapper.hxx deleted file mode 100644 index 08d97fc02097..000000000000 --- a/include/unotools/numberformatcodewrapper.hxx +++ /dev/null @@ -1,61 +0,0 @@ -/* -*- 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/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_UNOTOOLS_NUMBERFORMATCODEWRAPPER_HXX -#define INCLUDED_UNOTOOLS_NUMBERFORMATCODEWRAPPER_HXX - -#include <com/sun/star/i18n/XNumberFormatCode.hpp> -#include <unotools/unotoolsdllapi.h> - -namespace com { namespace sun { namespace star { - namespace uno { - class XComponentContext; - } -}}} - -class UNOTOOLS_DLLPUBLIC NumberFormatCodeWrapper -{ - css::uno::Reference< css::i18n::XNumberFormatCode > xNFC; - css::lang::Locale aLocale; - - NumberFormatCodeWrapper( const NumberFormatCodeWrapper& ) = delete; - NumberFormatCodeWrapper& operator=( const NumberFormatCodeWrapper& ) = delete; - -public: - NumberFormatCodeWrapper( - const css::uno::Reference< css::uno::XComponentContext > & rxContext, - const css::lang::Locale& rLocale - ); - - ~NumberFormatCodeWrapper(); - - /// set a new Locale - void setLocale( const css::lang::Locale& rLocale ); - - // Wrapper implementations of class NumberFormatCodeMapper - - css::i18n::NumberFormatCode getFormatCode( sal_Int16 nFormatIndex ) const; - css::uno::Sequence< css::i18n::NumberFormatCode > getAllFormatCode( sal_Int16 nFormatUsage ) const; - css::uno::Sequence< css::i18n::NumberFormatCode > getAllFormatCodes() const; - -}; - -#endif // INCLUDED_UNOTOOLS_NUMBERFORMATCODEWRAPPER_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |