diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 13:10:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-20 07:40:41 +0100 |
commit | 73139fe600fc1399ae828077981a2498cb0a0b0c (patch) | |
tree | 30ec7a9a978f262439100e27234d42667d6aacb3 /include/editeng | |
parent | d728d5d192e6f100d64ffa2e267055a451e9e403 (diff) |
loplugin:unusedmethods
Change-Id: If00b0e659e1818c29ae39b89f8b4f7ea29d14986
Reviewed-on: https://gerrit.libreoffice.org/48185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/nlbkitem.hxx | 51 | ||||
-rw-r--r-- | include/editeng/prszitem.hxx | 55 |
2 files changed, 0 insertions, 106 deletions
diff --git a/include/editeng/nlbkitem.hxx b/include/editeng/nlbkitem.hxx deleted file mode 100644 index ddaee7b7a501..000000000000 --- a/include/editeng/nlbkitem.hxx +++ /dev/null @@ -1,51 +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_EDITENG_NLBKITEM_HXX -#define INCLUDED_EDITENG_NLBKITEM_HXX - -#include <svl/eitem.hxx> -#include <editeng/editengdllapi.h> - -// class SvxNoLinebreakItem ---------------------------------------------- -class EDITENG_DLLPUBLIC SvxNoLinebreakItem : public SfxBoolItem -{ -public: - SvxNoLinebreakItem( const bool bBreak /*= true*/, - const sal_uInt16 nId ); - - // "pure virtual Methods" from SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - - virtual bool GetPresentation( SfxItemPresentation ePres, - MapUnit eCoreMetric, - MapUnit ePresMetric, - OUString &rText, const IntlWrapper& ) const override; - - SvxNoLinebreakItem& operator=(const SvxNoLinebreakItem& rLB) - { - SetValue( rLB.GetValue() ); - return *this; - } -}; - - -#endif - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/editeng/prszitem.hxx b/include/editeng/prszitem.hxx deleted file mode 100644 index 119f68b93666..000000000000 --- a/include/editeng/prszitem.hxx +++ /dev/null @@ -1,55 +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_EDITENG_PRSZITEM_HXX -#define INCLUDED_EDITENG_PRSZITEM_HXX - -#include <svl/intitem.hxx> -#include <editeng/editengdllapi.h> - -// class SvxPropSizeItem ------------------------------------------------- - -/* [Description] - - This item describes the relative Font Size. -*/ - -class EDITENG_DLLPUBLIC SvxPropSizeItem : public SfxUInt16Item -{ -public: - SvxPropSizeItem( const sal_uInt16 nPercent /*= 100*/, - const sal_uInt16 nID ); - - // "pure virtual Methods" from SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - - virtual bool GetPresentation( SfxItemPresentation ePres, - MapUnit eCoreMetric, - MapUnit ePresMetric, - OUString &rText, const IntlWrapper& ) const override; - - SvxPropSizeItem& operator=(const SvxPropSizeItem& rPropSize) - { - SetValue( rPropSize.GetValue() ); - return *this; - } -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |