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

loplugin:mergeclasses

Change-Id: I592eef7503bd0b492f73ea5216f436302ad79ca8
üst 4e2a8b78
......@@ -326,4 +326,4 @@ merge ww8::WW8Struct with ww8::WW8Sttb
merge xmloff::IEventAttacher with xmloff::OElementImport
merge xmloff::IEventAttacherManager with xmloff::ODefaultEventAttacherManager
merge xmloff::IFormsExportContext with xmloff::OFormLayerXMLExport_Impl
merge xmloff::IPropertyHandler with xmloff::PropertyHandlerBase
......@@ -176,7 +176,6 @@ $(eval $(call gb_Library_add_exception_objects,xo,\
xmloff/source/forms/property_meta_data \
xmloff/source/forms/valueproperties \
xmloff/source/forms/handler/form_handler_factory \
xmloff/source/forms/handler/property_handler_base \
xmloff/source/forms/handler/vcl_date_handler \
xmloff/source/forms/handler/vcl_time_handler \
xmloff/source/meta/MetaExportComponent \
......
......@@ -35,8 +35,7 @@ namespace xmloff
typedef ::std::map< PropertyId, ::com::sun::star::uno::Any > PropertyValues;
//= IPropertyHandler
class IPropertyHandler : public ::salhelper::SimpleReferenceObject
class PropertyHandlerBase : public ::salhelper::SimpleReferenceObject
{
public:
/** retrieves the XML attribute value for the given property values
......@@ -54,11 +53,11 @@ namespace xmloff
virtual bool
getPropertyValues( const OUString& i_attributeValue, PropertyValues& o_propertyValues ) const = 0;
virtual ~IPropertyHandler() { }
virtual ~PropertyHandlerBase() {}
};
//= PPropertyHandler
typedef ::rtl::Reference< IPropertyHandler > PPropertyHandler;
typedef rtl::Reference< PropertyHandlerBase > PPropertyHandler;
//= PropertyHandlerFactory
typedef PPropertyHandler (*PropertyHandlerFactory)( const PropertyId i_propertyId );
......
/* -*- 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 .
*/
#include "property_handler_base.hxx"
namespace xmloff
{
//= PropertyHandlerBase
PropertyHandlerBase::~PropertyHandlerBase()
{
}
} // namespace xmloff
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- 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_XMLOFF_SOURCE_FORMS_HANDLER_PROPERTY_HANDLER_BASE_HXX
#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_PROPERTY_HANDLER_BASE_HXX
#include "forms/property_handler.hxx"
namespace xmloff
{
//= PropertyHandlerBase
class PropertyHandlerBase : public IPropertyHandler
{
protected:
PropertyHandlerBase() {}
virtual ~PropertyHandlerBase();
};
} // namespace xmloff
#endif // INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_PROPERTY_HANDLER_BASE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX
#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_DATE_HANDLER_HXX
#include "property_handler_base.hxx"
#include "forms/property_handler.hxx"
namespace xmloff
{
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX
#define INCLUDED_XMLOFF_SOURCE_FORMS_HANDLER_VCL_TIME_HANDLER_HXX
#include "property_handler_base.hxx"
#include "forms/property_handler.hxx"
namespace xmloff
{
......
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