loplugin:unusedfields in xmlhelp,xmloff
Change-Id: I4d2f0ff95da5abaa3d0a0a5223616e09e0c476fc
This commit is contained in:
parent
a218039d2a
commit
4c7ce41582
@ -330,9 +330,7 @@ uno::Any SAL_CALL Content::execute(
|
||||
uno::Reference< ucb::XDynamicResultSet > xSet
|
||||
= new DynamicResultSet(
|
||||
m_xContext,
|
||||
this,
|
||||
aOpenCommand,
|
||||
Environment,
|
||||
new ResultSetForRootFactory(
|
||||
m_xContext,
|
||||
m_xProvider.get(),
|
||||
@ -346,9 +344,7 @@ uno::Any SAL_CALL Content::execute(
|
||||
uno::Reference< ucb::XDynamicResultSet > xSet
|
||||
= new DynamicResultSet(
|
||||
m_xContext,
|
||||
this,
|
||||
aOpenCommand,
|
||||
Environment,
|
||||
new ResultSetForQueryFactory(
|
||||
m_xContext,
|
||||
m_xProvider.get(),
|
||||
|
@ -33,13 +33,9 @@ using namespace chelp;
|
||||
|
||||
DynamicResultSet::DynamicResultSet(
|
||||
const Reference< XComponentContext >& rxContext,
|
||||
const rtl::Reference< Content >& rxContent,
|
||||
const OpenCommandArgument2& rCommand,
|
||||
const Reference< XCommandEnvironment >& rxEnv,
|
||||
ResultSetFactory* pFactory )
|
||||
: ResultSetImplHelper( rxContext, rCommand ),
|
||||
m_xContent( rxContent ),
|
||||
m_xEnv( rxEnv ),
|
||||
m_pFactory( pFactory )
|
||||
{
|
||||
}
|
||||
|
@ -31,8 +31,6 @@ namespace chelp {
|
||||
|
||||
class DynamicResultSet : public ::ucbhelper::ResultSetImplHelper
|
||||
{
|
||||
rtl::Reference< Content > m_xContent;
|
||||
css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv;
|
||||
ResultSetFactory* m_pFactory;
|
||||
|
||||
private:
|
||||
@ -42,9 +40,7 @@ namespace chelp {
|
||||
public:
|
||||
DynamicResultSet(
|
||||
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
|
||||
const rtl::Reference< Content >& rxContent,
|
||||
const css::ucb::OpenCommandArgument2& rCommand,
|
||||
const css::uno::Reference< css::ucb::XCommandEnvironment >& rxEnv,
|
||||
ResultSetFactory* pFactory );
|
||||
|
||||
virtual ~DynamicResultSet();
|
||||
|
@ -1341,8 +1341,6 @@ public:
|
||||
|
||||
class XMLCustomPropertyFieldImportContext : public XMLTextFieldImportContext
|
||||
{
|
||||
css::uno::Any aValue;
|
||||
|
||||
public:
|
||||
|
||||
XMLCustomPropertyFieldImportContext (SvXMLImport& rImport,
|
||||
|
@ -37,7 +37,6 @@ public:
|
||||
virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override;
|
||||
private:
|
||||
|
||||
css::uno::Reference< css::chart2::XChartDocument > mxChartDocument;
|
||||
SchXMLImportHelper& mrImportHelper;
|
||||
css::uno::Reference< css::chart2::XDataSeries > mxDataSeries;
|
||||
|
||||
|
@ -94,7 +94,7 @@ SvXMLImportContext* SchXMLRegressionCurveObjectContext::CreateChildContext(
|
||||
if( nPrefix == XML_NAMESPACE_CHART && IsXMLToken( rLocalName, XML_EQUATION ) )
|
||||
{
|
||||
pContext = new SchXMLEquationContext(
|
||||
mrImportHelper, GetImport(), nPrefix, rLocalName, mxSeries, maChartSize, mrRegressionStyleList.back());
|
||||
mrImportHelper, GetImport(), nPrefix, rLocalName, maChartSize, mrRegressionStyleList.back());
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -109,15 +109,12 @@ SchXMLEquationContext::SchXMLEquationContext(
|
||||
SvXMLImport& rImport,
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const css::uno::Reference<
|
||||
css::chart2::XDataSeries >& xSeries,
|
||||
const awt::Size& rChartSize,
|
||||
RegressionStyle& rRegressionStyle ) :
|
||||
|
||||
SvXMLImportContext( rImport, nPrefix, rLocalName ),
|
||||
mrImportHelper( rImpHelper ),
|
||||
mrRegressionStyle( rRegressionStyle ),
|
||||
mxSeries( xSeries ),
|
||||
maChartSize( rChartSize )
|
||||
{}
|
||||
|
||||
|
@ -63,7 +63,6 @@ public:
|
||||
SvXMLImport& rImport,
|
||||
sal_uInt16 nPrefix,
|
||||
const OUString& rLocalName,
|
||||
const css::uno::Reference< css::chart2::XDataSeries >& xSeries,
|
||||
const css::awt::Size & rChartSize,
|
||||
RegressionStyle & rRegressionStyle );
|
||||
|
||||
@ -74,7 +73,6 @@ public:
|
||||
private:
|
||||
SchXMLImportHelper& mrImportHelper;
|
||||
RegressionStyle& mrRegressionStyle;
|
||||
css::uno::Reference< css::chart2::XDataSeries > mxSeries;
|
||||
css::awt::Size maChartSize;
|
||||
};
|
||||
|
||||
|
@ -196,9 +196,6 @@ class SdXMLImport: public SvXMLImport
|
||||
bool mbLoadDoc;
|
||||
bool mbPreview;
|
||||
|
||||
std::map< sal_Int32, css::uno::Reference< css::drawing::XDrawPage >, SdXMLltXDrawPageId >
|
||||
maDrawPageIds;
|
||||
|
||||
OUString msPageLayouts;
|
||||
OUString msPreview;
|
||||
|
||||
|
@ -95,9 +95,6 @@ struct XMLShapeImportHelperImpl
|
||||
// context for sorting shapes
|
||||
ShapeSortContext* mpSortContext;
|
||||
|
||||
std::map<sal_Int32, css::uno::Reference< css::drawing::XShape >, ltint32>
|
||||
maShapeIds;
|
||||
|
||||
std::vector<ConnectionHint> maConnections;
|
||||
|
||||
// #88546# possibility to switch progress bar handling on/off
|
||||
|
@ -108,7 +108,6 @@ public:
|
||||
|
||||
OUString GetDefaultCellStyleName() const;
|
||||
|
||||
rtl::Reference< XMLTableImport > mxTableImporter;
|
||||
css::uno::Reference< css::table::XTable > mxTable;
|
||||
Reference< XTableColumns > mxColumns;
|
||||
Reference< XTableRows > mxRows;
|
||||
@ -275,7 +274,6 @@ void XMLTableImport::finishStyles()
|
||||
|
||||
XMLTableImportContext::XMLTableImportContext( const rtl::Reference< XMLTableImport >& xImporter, sal_uInt16 nPrfx, const OUString& rLName, Reference< XColumnRowRange >& xColumnRowRange )
|
||||
: SvXMLImportContext( xImporter->mrImport, nPrfx, rLName )
|
||||
, mxTableImporter( xImporter )
|
||||
, mxTable( xColumnRowRange, UNO_QUERY )
|
||||
, mxColumns( xColumnRowRange->getColumns() )
|
||||
, mxRows( xColumnRowRange->getRows() )
|
||||
|
@ -39,12 +39,6 @@ namespace com { namespace sun { namespace star {
|
||||
*/
|
||||
class XMLSectionImportContext : public SvXMLImportContext
|
||||
{
|
||||
/// start position; ranges acquired via getStart(),getEnd() don't move
|
||||
css::uno::Reference<css::text::XTextRange> xStartRange;
|
||||
|
||||
/// end position
|
||||
css::uno::Reference<css::text::XTextRange> xEndRange;
|
||||
|
||||
/// TextSection (as XPropertySet) for passing down to data source elements
|
||||
css::uno::Reference<css::beans::XPropertySet> xSectionPropertySet;
|
||||
|
||||
|
@ -507,7 +507,6 @@ struct XMLTextImportHelper::Impl
|
||||
std::unique_ptr<XMLTextListsHelper> m_xTextListsHelper;
|
||||
|
||||
SvXMLImportContextRef m_xAutoStyles;
|
||||
SvXMLImportContextRef m_xFontDecls;
|
||||
|
||||
rtl::Reference< SvXMLImportPropertyMapper > m_xParaImpPrMap;
|
||||
rtl::Reference< SvXMLImportPropertyMapper > m_xTextImpPrMap;
|
||||
|
@ -1219,16 +1219,8 @@ bool XMLNumber8OneBasedHdl::exportXML(
|
||||
}
|
||||
return bRet;
|
||||
}
|
||||
class XMLTextPropertyHandlerFactory_Impl
|
||||
{
|
||||
public:
|
||||
static const XMLPropertyHandler *GetPropertyHandler( sal_Int32 nType );
|
||||
|
||||
XMLTextPropertyHandlerFactory_Impl();
|
||||
~XMLTextPropertyHandlerFactory_Impl();
|
||||
};
|
||||
|
||||
const XMLPropertyHandler *XMLTextPropertyHandlerFactory_Impl::GetPropertyHandler
|
||||
static const XMLPropertyHandler *GetPropertyHandler
|
||||
( sal_Int32 nType )
|
||||
{
|
||||
const XMLPropertyHandler* pHdl = nullptr;
|
||||
@ -1432,17 +1424,8 @@ const XMLPropertyHandler *XMLTextPropertyHandlerFactory_Impl::GetPropertyHandler
|
||||
return pHdl;
|
||||
}
|
||||
|
||||
XMLTextPropertyHandlerFactory_Impl::XMLTextPropertyHandlerFactory_Impl()
|
||||
{
|
||||
}
|
||||
|
||||
XMLTextPropertyHandlerFactory_Impl::~XMLTextPropertyHandlerFactory_Impl()
|
||||
{
|
||||
}
|
||||
|
||||
XMLTextPropertyHandlerFactory::XMLTextPropertyHandlerFactory() :
|
||||
XMLPropertyHandlerFactory(),
|
||||
pImpl( new XMLTextPropertyHandlerFactory_Impl )
|
||||
XMLPropertyHandlerFactory()
|
||||
{
|
||||
}
|
||||
|
||||
@ -1458,7 +1441,7 @@ const XMLPropertyHandler *XMLTextPropertyHandlerFactory::GetPropertyHandler(
|
||||
|
||||
if( !pHdl )
|
||||
{
|
||||
const XMLPropertyHandler *pNewHdl = XMLTextPropertyHandlerFactory_Impl::GetPropertyHandler( nType );
|
||||
const XMLPropertyHandler *pNewHdl = ::GetPropertyHandler( nType );
|
||||
|
||||
if( pNewHdl )
|
||||
PutHdlCache( nType, pNewHdl );
|
||||
|
@ -27,8 +27,6 @@ class XMLTextPropertyHandlerFactory_Impl;
|
||||
|
||||
class XMLTextPropertyHandlerFactory : public XMLPropertyHandlerFactory
|
||||
{
|
||||
std::unique_ptr<XMLTextPropertyHandlerFactory_Impl> pImpl;
|
||||
|
||||
public:
|
||||
|
||||
XMLTextPropertyHandlerFactory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user