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

loplugin:unusedfields

Change-Id: I1400ca0af2c357dff06e5f733ec62b13d6a96461
Reviewed-on: https://gerrit.libreoffice.org/30861Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 6b4eaa7e
......@@ -42,9 +42,9 @@
namespace binaryurp {
css::uno::Reference< css::uno::XInterface > BridgeFactory::static_create(
css::uno::Reference< css::uno::XComponentContext > const & xContext)
css::uno::Reference< css::uno::XComponentContext > const & /*xContext*/)
{
return static_cast< cppu::OWeakObject * >(new BridgeFactory(xContext));
return static_cast< cppu::OWeakObject * >(new BridgeFactory);
}
OUString BridgeFactory::static_getImplementationName() {
......@@ -76,11 +76,9 @@ void BridgeFactory::removeBridge(
}
}
BridgeFactory::BridgeFactory(
css::uno::Reference< css::uno::XComponentContext > const & context):
BridgeFactoryBase(m_aMutex), context_(context)
BridgeFactory::BridgeFactory():
BridgeFactoryBase(m_aMutex)
{
assert(context.is());
}
BridgeFactory::~BridgeFactory() {}
......
......@@ -78,9 +78,7 @@ private:
BridgeFactory(const BridgeFactory&) = delete;
BridgeFactory& operator=(const BridgeFactory&) = delete;
explicit BridgeFactory(
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
const & context);
BridgeFactory();
virtual ~BridgeFactory() override;
......@@ -129,8 +127,6 @@ private:
com::sun::star::uno::Reference< com::sun::star::bridge::XBridge > >
BridgeMap;
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >
context_;
BridgeList unnamed_;
BridgeMap named_;
};
......
......@@ -50,8 +50,6 @@ struct MaterialParameters
bool twoSidesLighting;
float shininess;
float pad;
float pad1;
};
struct LightSource
......
......@@ -123,7 +123,6 @@ public:
RscString aStringLiteral;
RscLangEnum aLangType;
RscLangArray aLangString;
RscLangArray aLangShort;
RscError* pEH; // error handler
RscNameTable aNmTb; // name table
......
......@@ -58,7 +58,6 @@ RscTypCont::RscTypCont( RscError * pErrHdl,
, aStringLiteral( pHS->getID( "Chars" ), RSC_NOTYPE )
, aLangType()
, aLangString( pHS->getID( "Lang_Chars" ), RSC_NOTYPE, &aString, &aLangType )
, aLangShort( pHS->getID( "Lang_short" ), RSC_NOTYPE, &aShort, &aLangType )
, pEH(pErrHdl)
, nFlags( nFlagsP )
{
......
......@@ -52,7 +52,6 @@ struct ImplImageList
ImageAryDataNameHash maNameHash;
OUString maPrefix;
Size maImageSize;
sal_uIntPtr mnRefCount;
ImplImageList();
ImplImageList( const ImplImageList &aSrc );
......@@ -65,8 +64,6 @@ struct ImplImageList
struct ImplImage
{
sal_uIntPtr mnRefCount;
BitmapChecksum maBitmapChecksum;
std::unique_ptr<BitmapEx> mpBitmapEx;
......
......@@ -30,8 +30,7 @@
#include <memory>
ImplImage::ImplImage()
: mnRefCount(1)
, maBitmapChecksum(0)
: maBitmapChecksum(0)
, mpBitmapEx()
, maDisabledBitmapEx()
{
......
......@@ -30,14 +30,12 @@
#include <memory>
ImplImageList::ImplImageList()
: mnRefCount(1)
{
}
ImplImageList::ImplImageList( const ImplImageList &aSrc )
: maPrefix(aSrc.maPrefix)
, maImageSize(aSrc.maImageSize)
, mnRefCount(1)
{
maImages.reserve( aSrc.maImages.size() );
for ( std::vector<ImageAryData *>::const_iterator aIt = aSrc.maImages.begin(), aEnd = aSrc.maImages.end(); aIt != aEnd; ++aIt )
......
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