Kaydet (Commit) 73b7c503 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in include/framework/

Change-Id: I04603a3b78b0611fcca4974b00e2da06045308d1
üst 6cd5d5f0
/* -*- 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_EVENTSCONFIGURATION_HXX
#define INCLUDED_FRAMEWORK_EVENTSCONFIGURATION_HXX
#include <framework/fwedllapi.h>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace framework
{
struct FWE_DLLPUBLIC EventsConfig
{
css::uno::Sequence< OUString > aEventNames;
css::uno::Sequence< css::uno::Any > aEventsProperties;
};
} // namespace framework
#endif // INCLUDED_FRAMEWORK_EVENTSCONFIGURATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -65,14 +65,12 @@ private: ...@@ -65,14 +65,12 @@ private:
: refCount(0) : refCount(0)
, aTargetFrame(rFrame) , aTargetFrame(rFrame)
, aImageId(rImageIdStr) , aImageId(rImageIdStr)
, nStyle(0)
{ {
} }
MenuAttributes(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider) MenuAttributes(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider)
: refCount(0) : refCount(0)
, xDispatchProvider(rDispatchProvider) , xDispatchProvider(rDispatchProvider)
, nStyle(0)
{ {
} }
...@@ -82,7 +80,6 @@ public: ...@@ -82,7 +80,6 @@ public:
OUString aTargetFrame; OUString aTargetFrame;
OUString aImageId; OUString aImageId;
css::uno::WeakReference<css::frame::XDispatchProvider> xDispatchProvider; css::uno::WeakReference<css::frame::XDispatchProvider> xDispatchProvider;
sal_Int16 nStyle;
static sal_uIntPtr CreateAttribute(const OUString& rFrame, const OUString& rImageIdStr); static sal_uIntPtr CreateAttribute(const OUString& rFrame, const OUString& rImageIdStr);
static sal_uIntPtr CreateAttribute(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider); static sal_uIntPtr CreateAttribute(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider);
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <rtl/ustring.h> #include <rtl/ustring.h>
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <framework/eventsconfiguration.hxx>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <sfx2/evntconf.hxx> #include <sfx2/evntconf.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment