update unusedmethods plugin to deal with constructors

and fix the operator< implementations in some of the other
plugins too.

Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
Noel Grandin
2016-05-16 10:11:04 +02:00
committed by Noel Grandin
parent 4e59eecc07
commit 2c8fe2e737
185 changed files with 60 additions and 2857 deletions

View File

@@ -107,10 +107,6 @@ public:
,nRepresentation( _nRepresent )
{
}
HtmlSuccessfulObj()
{
}
};
typedef std::vector<HtmlSuccessfulObj> HtmlSuccessfulObjList;

View File

@@ -1104,18 +1104,6 @@ oslInterlockedCount OControlModel::unlockInstance( LockAccess )
return lockCount;
}
void OControlModel::firePropertyChanges( const Sequence< sal_Int32 >& _rHandles, const Sequence< Any >& _rOldValues,
const Sequence< Any >& _rNewValues, LockAccess )
{
OPropertySetHelper::fire(
const_cast< Sequence< sal_Int32 >& >( _rHandles ).getArray(),
_rNewValues.getConstArray(),
_rOldValues.getConstArray(),
_rHandles.getLength(),
false
);
}
void OControlModel::firePropertyChanges( const std::vector< sal_Int32 >& _rHandles, const std::vector< Any >& _rOldValues,
const std::vector< Any >& _rNewValues, LockAccess )
{

View File

@@ -501,12 +501,6 @@ public:
const std::vector< css::uno::Any >& _rNewValues,
LockAccess
);
void firePropertyChanges(
const css::uno::Sequence< sal_Int32 >& _rHandles,
const css::uno::Sequence< css::uno::Any >& _rOldValues,
const css::uno::Sequence< css::uno::Any >& _rNewValues,
LockAccess
);
inline ::osl::Mutex&
getInstanceMutex() { return m_aMutex; }

View File

@@ -35,7 +35,7 @@ namespace frm
static SimpleResMgr* m_pImpl;
private:
// no instantiation allowed
ResourceManager() { }
ResourceManager() = delete;
~ResourceManager() { }
// we'll instantiate one static member of the following class, which, in its dtor,

View File

@@ -50,7 +50,7 @@ class PropertyInfoService
static PropertyMap s_AllKnownProperties;
public:
PropertyInfoService() { }
PropertyInfoService() = delete;
static sal_Int32 getPropertyId(const OUString& _rName);