summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-22 09:52:13 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 14:34:21 +0200
commitdb8067145f0126402be39042934e11228a1b42e9 (patch)
tree0a9d18faaf0c862cc544e6a991b32a68bbb40e28 /framework/inc
parent14420e83296fd393cba956047370564c3517cdae (diff)
loplugin:write only fields
Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/classes/checkediterator.hxx93
-rw-r--r--framework/inc/classes/filtercachedata.hxx1
-rw-r--r--framework/inc/uielement/uielement.hxx1
3 files changed, 0 insertions, 95 deletions
diff --git a/framework/inc/classes/checkediterator.hxx b/framework/inc/classes/checkediterator.hxx
deleted file mode 100644
index 4674e8bf0e97..000000000000
--- a/framework/inc/classes/checkediterator.hxx
+++ /dev/null
@@ -1,93 +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_FRAMEWORK_INC_CLASSES_CHECKEDITERATOR_HXX
-#define INCLUDED_FRAMEWORK_INC_CLASSES_CHECKEDITERATOR_HXX
-
-#include <sal/config.h>
-
-#include <sal/log.hxx>
-#include <sal/types.h>
-
-#include <iterator>
-
-namespace framework{
-
-/*-************************************************************************************************************
- @short implement a iterator which support 2 end states!
- @descr For our search methods we need a "walking" iterator object with special functionality!
- We must check for 3 different states of an iterator - normal position, exact end, after end.
- It's necessary to detect if we have not found a entry and must return our default or
- default already returned and we must break loop!
- see using in class FilterCache too for further information!
-
- @Attention If your wish to debug this inline code ...
- under windows and msdev you can use "set ENVCFLAGS=/Ob0" to do that!
- @devstatus ready to use
- @threadsafe no
-*//*-*************************************************************************************************************/
-
-template< class TContainer >
-class CheckedIterator
-{
-
- // public methods
-
- public:
-
- // constructor / destructor
-
- /*-****************************************************************************************************
- @short standard constructor
- @descr Set default values on members.
- We set it internal to E_UNKNOWN to detect uninitialized instances of this class.
- If we found one - we know: "We must call initialize first!"
- *//*-*****************************************************************************************************/
-
- inline CheckedIterator()
- : m_eEndState ( E_UNKNOWN )
- , m_pContainer( nullptr )
- {
- }
-
- // interface methods
-
- // private member
-
- private:
-
- // This enum defines our four states for an iterator position in current container.
- enum EEndState
- {
- E_UNKNOWN ,
- E_BEFOREEND ,
- E_END ,
- E_AFTEREND
- };
-
- const TContainer* m_pContainer; // pointer to current container
- EEndState m_eEndState; // "position state" of iterator!
- typename TContainer::const_iterator m_pPosition; // point to actual element in container
-};
-
-} // namespace framework
-
-#endif // INCLUDED_FRAMEWORK_INC_CLASSES_CHECKEDITERATOR_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx
index f41aeb5415eb..19ed2044e1c4 100644
--- a/framework/inc/classes/filtercachedata.hxx
+++ b/framework/inc/classes/filtercachedata.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_FILTERCACHEDATA_HXX
#define INCLUDED_FRAMEWORK_INC_CLASSES_FILTERCACHEDATA_HXX
-#include <classes/checkediterator.hxx>
#include <classes/wildcard.hxx>
#include <classes/converter.hxx>
#include <macros/xinterface.hxx>
diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx
index 105c386b9232..aa94bea415b6 100644
--- a/framework/inc/uielement/uielement.hxx
+++ b/framework/inc/uielement/uielement.hxx
@@ -38,7 +38,6 @@ struct DockedData
m_bLocked( false ) {}
css::awt::Point m_aPos;
- css::awt::Size m_aSize;
sal_Int16 m_nDockedArea;
bool m_bLocked;
};