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 filter{
|
||||||
namespace config{
|
namespace config{
|
||||||
|
|
||||||
ConfigFlush::ConfigFlush(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR)
|
ConfigFlush::ConfigFlush()
|
||||||
: BaseLock ( )
|
: BaseLock ( )
|
||||||
, m_xSMGR (xSMGR )
|
|
||||||
, m_lListener(m_aLock)
|
, 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);
|
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:
|
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. */
|
/** @short holds all listener, which are registered at this instance. */
|
||||||
::cppu::OMultiTypeInterfaceContainerHelper m_lListener;
|
::cppu::OMultiTypeInterfaceContainerHelper m_lListener;
|
||||||
|
|
||||||
@@ -67,7 +63,7 @@ class ConfigFlush : public BaseLock
|
|||||||
|
|
||||||
/** @short standard ctor.
|
/** @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::beans;
|
||||||
using namespace css::lang;
|
using namespace css::lang;
|
||||||
|
|
||||||
GraphicExportDialog::GraphicExportDialog( const Reference< XComponentContext >& rxContext )
|
GraphicExportDialog::GraphicExportDialog( const Reference< XComponentContext >& )
|
||||||
: mxContext( rxContext )
|
: meFieldUnit(FUNIT_NONE)
|
||||||
, meFieldUnit(FUNIT_NONE)
|
|
||||||
, mbExportSelection( false )
|
, mbExportSelection( false )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@@ -45,7 +45,6 @@ class GraphicExportDialog : public cppu::WeakImplHelper
|
|||||||
Sequence<PropertyValue> maMediaDescriptor;
|
Sequence<PropertyValue> maMediaDescriptor;
|
||||||
Sequence<PropertyValue> maFilterDataSequence;
|
Sequence<PropertyValue> maFilterDataSequence;
|
||||||
Reference<XComponent> mxSourceDocument;
|
Reference<XComponent> mxSourceDocument;
|
||||||
Reference<XComponentContext> mxContext;
|
|
||||||
|
|
||||||
OUString maDialogTitle;
|
OUString maDialogTitle;
|
||||||
FieldUnit meFieldUnit;
|
FieldUnit meFieldUnit;
|
||||||
|
@@ -23,9 +23,8 @@
|
|||||||
#include <svl/outstrm.hxx>
|
#include <svl/outstrm.hxx>
|
||||||
#include <svtools/DocumentToGraphicRenderer.hxx>
|
#include <svtools/DocumentToGraphicRenderer.hxx>
|
||||||
|
|
||||||
GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& rxContext )
|
GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& )
|
||||||
: mxContext( rxContext )
|
: mExportSelection(false)
|
||||||
, mExportSelection(false)
|
|
||||||
, mTargetWidth(0)
|
, mTargetWidth(0)
|
||||||
, mTargetHeight(0)
|
, mTargetHeight(0)
|
||||||
{}
|
{}
|
||||||
|
@@ -41,8 +41,6 @@ class GraphicExportFilter :
|
|||||||
public cppu::WeakImplHelper < XFilter, XExporter, XInitialization >
|
public cppu::WeakImplHelper < XFilter, XExporter, XInitialization >
|
||||||
{
|
{
|
||||||
Reference<XComponent> mxDocument;
|
Reference<XComponent> mxDocument;
|
||||||
Reference<XComponentContext> mxContext;
|
|
||||||
Reference<task::XStatusIndicator> mxStatusIndicator;
|
|
||||||
Reference<io::XOutputStream> mxOutputStream;
|
Reference<io::XOutputStream> mxOutputStream;
|
||||||
|
|
||||||
void gatherProperties( const Sequence<PropertyValue>& rDescriptor );
|
void gatherProperties( const Sequence<PropertyValue>& rDescriptor );
|
||||||
|
@@ -74,7 +74,6 @@ class ImpPDFTabLinksPage;
|
|||||||
class ImpPDFTabDialog : public SfxTabDialog
|
class ImpPDFTabDialog : public SfxTabDialog
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
css::uno::Reference< css::uno::XComponentContext> mxContext;
|
|
||||||
FilterConfigItem maConfigItem;
|
FilterConfigItem maConfigItem;
|
||||||
FilterConfigItem maConfigI18N;
|
FilterConfigItem maConfigI18N;
|
||||||
|
|
||||||
|
@@ -92,8 +92,6 @@ private:
|
|||||||
bool mbCanCopyOrExtract;
|
bool mbCanCopyOrExtract;
|
||||||
bool mbCanExtractForAccessibility;
|
bool mbCanExtractForAccessibility;
|
||||||
|
|
||||||
SvtGraphicFill maCacheFill;
|
|
||||||
|
|
||||||
//--->i56629
|
//--->i56629
|
||||||
bool mbExportRelativeFsysLinks;
|
bool mbExportRelativeFsysLinks;
|
||||||
sal_Int32 mnDefaultLinkAction;
|
sal_Int32 mnDefaultLinkAction;
|
||||||
|
@@ -46,7 +46,6 @@ private:
|
|||||||
|
|
||||||
css::uno::Reference< css::uno::XComponentContext > mxContext;
|
css::uno::Reference< css::uno::XComponentContext > mxContext;
|
||||||
css::uno::Reference< css::drawing::XGraphicExportFilter > mxGraphicExporter;
|
css::uno::Reference< css::drawing::XGraphicExportFilter > mxGraphicExporter;
|
||||||
css::uno::Reference< css::task::XInteractionHandler > mxInteractionHandler;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -40,7 +40,6 @@ class SVGDialog : public ::svt::OGenericUnoDialog,
|
|||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
::std::unique_ptr< ResMgr > mapResMgr;
|
|
||||||
css::uno::Sequence< css::beans::PropertyValue > maMediaDescriptor;
|
css::uno::Sequence< css::beans::PropertyValue > maMediaDescriptor;
|
||||||
css::uno::Sequence< css::beans::PropertyValue > maFilterData;
|
css::uno::Sequence< css::beans::PropertyValue > maFilterData;
|
||||||
css::uno::Reference< css::lang::XComponent > mxSrcDoc;
|
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 ));
|
return static_cast<cppu::OWeakObject*>(new T602ImportFilter( rSMgr ));
|
||||||
}
|
}
|
||||||
|
|
||||||
T602ImportFilterDialog::T602ImportFilterDialog(const css::uno::Reference<css::lang::XMultiServiceFactory > &r ) :
|
T602ImportFilterDialog::T602ImportFilterDialog() :
|
||||||
mxMSF( r ), mpResMgr( nullptr ) {}
|
mpResMgr( nullptr ) {}
|
||||||
|
|
||||||
T602ImportFilterDialog::~T602ImportFilterDialog()
|
T602ImportFilterDialog::~T602ImportFilterDialog()
|
||||||
{
|
{
|
||||||
@@ -1192,10 +1192,10 @@ Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames(
|
|||||||
return aRet;
|
return aRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XInterface > SAL_CALL T602ImportFilterDialog_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
|
Reference< XInterface > SAL_CALL T602ImportFilterDialog_createInstance( const Reference< XMultiServiceFactory > & )
|
||||||
throw( Exception )
|
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::beans::XPropertyAccess
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
css::uno::Reference< css::lang::XMultiServiceFactory > mxMSF;
|
|
||||||
css::lang::Locale meLocale;
|
css::lang::Locale meLocale;
|
||||||
ResMgr *mpResMgr;
|
ResMgr *mpResMgr;
|
||||||
bool OptionsDlg();
|
bool OptionsDlg();
|
||||||
@@ -138,7 +137,7 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper <
|
|||||||
css::uno::RuntimeException, std::exception) override;
|
css::uno::RuntimeException, std::exception) override;
|
||||||
|
|
||||||
public:
|
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) :
|
PlainTextFilterDetect::PlainTextFilterDetect() {}
|
||||||
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
|
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
|
||||||
com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation(css::uno::XComponentContext* component,
|
com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation(css::uno::XComponentContext* ,
|
||||||
css::uno::Sequence<css::uno::Any> const &)
|
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: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -32,11 +32,9 @@ class PlainTextFilterDetect : public cppu::WeakImplHelper<
|
|||||||
css::lang::XInitialization,
|
css::lang::XInitialization,
|
||||||
css::lang::XServiceInfo>
|
css::lang::XServiceInfo>
|
||||||
{
|
{
|
||||||
css::uno::Reference<css::uno::XComponentContext> mxCxt;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
explicit PlainTextFilterDetect (const css::uno::Reference<css::uno::XComponentContext>& xCxt);
|
PlainTextFilterDetect();
|
||||||
virtual ~PlainTextFilterDetect();
|
virtual ~PlainTextFilterDetect();
|
||||||
|
|
||||||
// XExtendedFilterDetection
|
// XExtendedFilterDetection
|
||||||
|
Reference in New Issue
Block a user