loplugin:unusedfields in filter
Change-Id: Ic35cff139f5f180ff93fe7b1ecbd15de6c474821
This commit is contained in:
7
filter/source/config/cache/configflush.cxx
vendored
7
filter/source/config/cache/configflush.cxx
vendored
@@ -26,9 +26,8 @@
|
||||
namespace filter{
|
||||
namespace config{
|
||||
|
||||
ConfigFlush::ConfigFlush(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
|
||||
ConfigFlush::ConfigFlush()
|
||||
: BaseLock ( )
|
||||
, m_xSMGR (xSMGR )
|
||||
, m_lListener(m_aLock)
|
||||
{
|
||||
}
|
||||
@@ -122,9 +121,9 @@ css::uno::Sequence< OUString > ConfigFlush::impl_getSupportedServiceNames()
|
||||
}
|
||||
|
||||
|
||||
css::uno::Reference< css::uno::XInterface > ConfigFlush::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
|
||||
css::uno::Reference< css::uno::XInterface > ConfigFlush::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& )
|
||||
{
|
||||
ConfigFlush* pNew = new ConfigFlush(xSMGR);
|
||||
ConfigFlush* pNew = new ConfigFlush;
|
||||
return css::uno::Reference< css::uno::XInterface >(static_cast< css::util::XRefreshable* >(pNew), css::uno::UNO_QUERY);
|
||||
}
|
||||
|
||||
|
6
filter/source/config/cache/configflush.hxx
vendored
6
filter/source/config/cache/configflush.hxx
vendored
@@ -50,10 +50,6 @@ class ConfigFlush : public BaseLock
|
||||
|
||||
protected:
|
||||
|
||||
/** @short reference to an uno service manager, which can be used
|
||||
to create own needed services. */
|
||||
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
|
||||
|
||||
/** @short holds all listener, which are registered at this instance. */
|
||||
::cppu::OMultiTypeInterfaceContainerHelper m_lListener;
|
||||
|
||||
@@ -67,7 +63,7 @@ class ConfigFlush : public BaseLock
|
||||
|
||||
/** @short standard ctor.
|
||||
*/
|
||||
explicit ConfigFlush(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
|
||||
ConfigFlush();
|
||||
|
||||
|
||||
|
||||
|
@@ -37,9 +37,8 @@ using namespace css::uno;
|
||||
using namespace css::beans;
|
||||
using namespace css::lang;
|
||||
|
||||
GraphicExportDialog::GraphicExportDialog( const Reference< XComponentContext >& rxContext )
|
||||
: mxContext( rxContext )
|
||||
, meFieldUnit(FUNIT_NONE)
|
||||
GraphicExportDialog::GraphicExportDialog( const Reference< XComponentContext >& )
|
||||
: meFieldUnit(FUNIT_NONE)
|
||||
, mbExportSelection( false )
|
||||
{
|
||||
}
|
||||
|
@@ -45,7 +45,6 @@ class GraphicExportDialog : public cppu::WeakImplHelper
|
||||
Sequence<PropertyValue> maMediaDescriptor;
|
||||
Sequence<PropertyValue> maFilterDataSequence;
|
||||
Reference<XComponent> mxSourceDocument;
|
||||
Reference<XComponentContext> mxContext;
|
||||
|
||||
OUString maDialogTitle;
|
||||
FieldUnit meFieldUnit;
|
||||
|
@@ -23,9 +23,8 @@
|
||||
#include <svl/outstrm.hxx>
|
||||
#include <svtools/DocumentToGraphicRenderer.hxx>
|
||||
|
||||
GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& rxContext )
|
||||
: mxContext( rxContext )
|
||||
, mExportSelection(false)
|
||||
GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& )
|
||||
: mExportSelection(false)
|
||||
, mTargetWidth(0)
|
||||
, mTargetHeight(0)
|
||||
{}
|
||||
|
@@ -41,8 +41,6 @@ class GraphicExportFilter :
|
||||
public cppu::WeakImplHelper < XFilter, XExporter, XInitialization >
|
||||
{
|
||||
Reference<XComponent> mxDocument;
|
||||
Reference<XComponentContext> mxContext;
|
||||
Reference<task::XStatusIndicator> mxStatusIndicator;
|
||||
Reference<io::XOutputStream> mxOutputStream;
|
||||
|
||||
void gatherProperties( const Sequence<PropertyValue>& rDescriptor );
|
||||
|
@@ -74,7 +74,6 @@ class ImpPDFTabLinksPage;
|
||||
class ImpPDFTabDialog : public SfxTabDialog
|
||||
{
|
||||
private:
|
||||
css::uno::Reference< css::uno::XComponentContext> mxContext;
|
||||
FilterConfigItem maConfigItem;
|
||||
FilterConfigItem maConfigI18N;
|
||||
|
||||
|
@@ -92,8 +92,6 @@ private:
|
||||
bool mbCanCopyOrExtract;
|
||||
bool mbCanExtractForAccessibility;
|
||||
|
||||
SvtGraphicFill maCacheFill;
|
||||
|
||||
//--->i56629
|
||||
bool mbExportRelativeFsysLinks;
|
||||
sal_Int32 mnDefaultLinkAction;
|
||||
|
@@ -46,7 +46,6 @@ private:
|
||||
|
||||
css::uno::Reference< css::uno::XComponentContext > mxContext;
|
||||
css::uno::Reference< css::drawing::XGraphicExportFilter > mxGraphicExporter;
|
||||
css::uno::Reference< css::task::XInteractionHandler > mxInteractionHandler;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -40,7 +40,6 @@ class SVGDialog : public ::svt::OGenericUnoDialog,
|
||||
{
|
||||
private:
|
||||
|
||||
::std::unique_ptr< ResMgr > mapResMgr;
|
||||
css::uno::Sequence< css::beans::PropertyValue > maMediaDescriptor;
|
||||
css::uno::Sequence< css::beans::PropertyValue > maFilterData;
|
||||
css::uno::Reference< css::lang::XComponent > mxSrcDoc;
|
||||
|
@@ -912,8 +912,8 @@ Reference< XInterface > SAL_CALL T602ImportFilter_createInstance( const Referenc
|
||||
return static_cast<cppu::OWeakObject*>(new T602ImportFilter( rSMgr ));
|
||||
}
|
||||
|
||||
T602ImportFilterDialog::T602ImportFilterDialog(const css::uno::Reference<css::lang::XMultiServiceFactory > &r ) :
|
||||
mxMSF( r ), mpResMgr( nullptr ) {}
|
||||
T602ImportFilterDialog::T602ImportFilterDialog() :
|
||||
mpResMgr( nullptr ) {}
|
||||
|
||||
T602ImportFilterDialog::~T602ImportFilterDialog()
|
||||
{
|
||||
@@ -1192,10 +1192,10 @@ Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames(
|
||||
return aRet;
|
||||
}
|
||||
|
||||
Reference< XInterface > SAL_CALL T602ImportFilterDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
|
||||
Reference< XInterface > SAL_CALL T602ImportFilterDialog_createInstance( const Reference< XMultiServiceFactory > & )
|
||||
throw( Exception )
|
||||
{
|
||||
return static_cast<cppu::OWeakObject*>(new T602ImportFilterDialog( rSMgr ));
|
||||
return static_cast<cppu::OWeakObject*>(new T602ImportFilterDialog);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -96,7 +96,6 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper <
|
||||
css::beans::XPropertyAccess
|
||||
>
|
||||
{
|
||||
css::uno::Reference< css::lang::XMultiServiceFactory > mxMSF;
|
||||
css::lang::Locale meLocale;
|
||||
ResMgr *mpResMgr;
|
||||
bool OptionsDlg();
|
||||
@@ -138,7 +137,7 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper <
|
||||
css::uno::RuntimeException, std::exception) override;
|
||||
|
||||
public:
|
||||
explicit T602ImportFilterDialog(const css::uno::Reference<css::lang::XMultiServiceFactory > &r );
|
||||
explicit T602ImportFilterDialog();
|
||||
|
||||
};
|
||||
|
||||
|
@@ -116,8 +116,7 @@ bool IsHTMLStream( const uno::Reference<io::XInputStream>& xInStream )
|
||||
|
||||
}
|
||||
|
||||
PlainTextFilterDetect::PlainTextFilterDetect(const uno::Reference<uno::XComponentContext>& xCxt) :
|
||||
mxCxt(xCxt) {}
|
||||
PlainTextFilterDetect::PlainTextFilterDetect() {}
|
||||
|
||||
PlainTextFilterDetect::~PlainTextFilterDetect() {}
|
||||
|
||||
@@ -234,10 +233,10 @@ uno::Sequence<OUString> SAL_CALL PlainTextFilterDetect::getSupportedServiceNames
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
|
||||
com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation(css::uno::XComponentContext* component,
|
||||
css::uno::Sequence<css::uno::Any> const &)
|
||||
com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation(css::uno::XComponentContext* ,
|
||||
css::uno::Sequence<css::uno::Any> const &)
|
||||
{
|
||||
return cppu::acquire(new PlainTextFilterDetect(component));
|
||||
return cppu::acquire(new PlainTextFilterDetect);
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -32,11 +32,9 @@ class PlainTextFilterDetect : public cppu::WeakImplHelper<
|
||||
css::lang::XInitialization,
|
||||
css::lang::XServiceInfo>
|
||||
{
|
||||
css::uno::Reference<css::uno::XComponentContext> mxCxt;
|
||||
|
||||
public:
|
||||
|
||||
explicit PlainTextFilterDetect (const css::uno::Reference<css::uno::XComponentContext>& xCxt);
|
||||
PlainTextFilterDetect();
|
||||
virtual ~PlainTextFilterDetect();
|
||||
|
||||
// XExtendedFilterDetection
|
||||
|
Reference in New Issue
Block a user