summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-24 13:49:37 +0200
committerNoel Grandin <noel@peralex.com>2015-11-24 14:20:25 +0200
commite78bb6d545e4dc86ebc17fbeb735f32fa5914bd1 (patch)
treeedce7c82d76e6fad3313d3619b06895f9cbe4436 /include/comphelper
parent509907cea798cc74fbc6d91ce41105c52f41ba06 (diff)
loplugin:unusedfields in include/comphelper,include/editeng
Change-Id: I619c2cf1765df97159fc52ee84e0e9e8d16a22fe
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/PropertyInfoHash.hxx1
-rw-r--r--include/comphelper/componentmodule.hxx8
-rw-r--r--include/comphelper/container.hxx3
3 files changed, 0 insertions, 12 deletions
diff --git a/include/comphelper/PropertyInfoHash.hxx b/include/comphelper/PropertyInfoHash.hxx
index 365e2e4c838f..da1dddf7e313 100644
--- a/include/comphelper/PropertyInfoHash.hxx
+++ b/include/comphelper/PropertyInfoHash.hxx
@@ -32,7 +32,6 @@ namespace comphelper
sal_Int32 mnHandle;
css::uno::Type maType;
sal_Int16 mnAttributes;
- sal_uInt8 mnMemberId;
};
struct PropertyData
{
diff --git a/include/comphelper/componentmodule.hxx b/include/comphelper/componentmodule.hxx
index fbd5d6336497..2f6bc6812113 100644
--- a/include/comphelper/componentmodule.hxx
+++ b/include/comphelper/componentmodule.hxx
@@ -55,10 +55,6 @@ namespace comphelper
OUString sImplementationName;
/// the services supported by the component implementation
css::uno::Sequence< OUString > aSupportedServices;
- /** the name under which the component implementation should be registered as singleton,
- or empty if the component does not implement a singleton.
- */
- OUString sSingletonName;
/// the function to create an instance of the component
::cppu::ComponentFactoryFunc pComponentCreationFunc;
/// the function to create a factory for the component (usually <code>::cppu::createSingleComponentFactory</code>)
@@ -67,7 +63,6 @@ namespace comphelper
ComponentDescription()
:sImplementationName()
,aSupportedServices()
- ,sSingletonName()
,pComponentCreationFunc( nullptr )
,pFactoryCreationFunc( nullptr )
{
@@ -76,13 +71,11 @@ namespace comphelper
ComponentDescription(
const OUString& _rImplementationName,
const css::uno::Sequence< OUString >& _rSupportedServices,
- const OUString& _rSingletonName,
::cppu::ComponentFactoryFunc _pComponentCreationFunc,
FactoryInstantiation _pFactoryCreationFunc
)
:sImplementationName( _rImplementationName )
,aSupportedServices( _rSupportedServices )
- ,sSingletonName( _rSingletonName )
,pComponentCreationFunc( _pComponentCreationFunc )
,pFactoryCreationFunc( _pFactoryCreationFunc )
{
@@ -246,7 +239,6 @@ namespace comphelper
_rModule.registerImplementation( ComponentDescription(
TYPE::getImplementationName_static(),
TYPE::getSupportedServiceNames_static(),
- TYPE::getSingletonName_static(),
&TYPE::Create,
&::cppu::createSingleComponentFactory
) );
diff --git a/include/comphelper/container.hxx b/include/comphelper/container.hxx
index ceae9f3c5586..2cba09882991 100644
--- a/include/comphelper/container.hxx
+++ b/include/comphelper/container.hxx
@@ -47,9 +47,6 @@ protected:
// so I have to remember where each child is in relation to its parent.
// That is the path from the root node to m_xCurrentObject
- OUString m_ustrProperty;
- // The Name of the requested property
-
public:
IndexAccessIterator(css::uno::Reference< css::uno::XInterface> xStartingPoint);