summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-19 10:43:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 10:01:23 +0000
commite9af29ba8328cad918c5146e3cb1be0a72ebd791 (patch)
treebd90d8abd4bdcb3593410d845e0058745318a03f /xmloff
parente94deb06391f516ee9c1fa019b3521e222a5615b (diff)
loplugin:unusedmethods in writerfilter to xmloff
Change-Id: If95890eff0f785111e8b511ac1d5481c6910f099 Reviewed-on: https://gerrit.libreoffice.org/25148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/StyleMap.hxx5
-rw-r--r--xmloff/inc/txtfldi.hxx19
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.hxx3
-rw-r--r--xmloff/source/chart/transporttypes.hxx17
-rw-r--r--xmloff/source/forms/elementimport.hxx3
-rw-r--r--xmloff/source/text/txtparaimphint.hxx7
-rw-r--r--xmloff/source/transform/TransformerActions.hxx16
7 files changed, 1 insertions, 69 deletions
diff --git a/xmloff/inc/StyleMap.hxx b/xmloff/inc/StyleMap.hxx
index d11447d6ab0a..77bf1262b4d5 100644
--- a/xmloff/inc/StyleMap.hxx
+++ b/xmloff/inc/StyleMap.hxx
@@ -35,11 +35,6 @@ struct StyleNameKey_Impl
m_aName( rName )
{
}
-
- inline StyleNameKey_Impl() :
- m_nFamily( 0 )
- {
- }
};
struct StyleNameHash_Impl
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx
index 670e6d6c356c..04d1abe754d5 100644
--- a/xmloff/inc/txtfldi.hxx
+++ b/xmloff/inc/txtfldi.hxx
@@ -1339,25 +1339,6 @@ public:
const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
};
-class XMLCustomPropertyFieldImportContext : public XMLTextFieldImportContext
-{
-public:
-
- XMLCustomPropertyFieldImportContext (SvXMLImport& rImport,
- XMLTextImportHelper& rHlp,
- sal_uInt16 nPrfx,
- const OUString& sLocalName);
-
-protected:
- /// process attribute values
- virtual void ProcessAttribute( sal_uInt16 nAttrToken,
- const OUString& sAttrValue ) override;
-
- /// prepare XTextField for insertion into document
- virtual void PrepareField(
- const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
-};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
index 91db789675aa..2380e3b56ece 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
@@ -49,9 +49,6 @@ public:
virtual ~SchXML3DSceneAttributesHelper();
void getCameraDefaultFromDiagram( const css::uno::Reference< css::chart::XDiagram >& xDiagram );
-
-private:
- SchXML3DSceneAttributesHelper();
};
class SchXMLPositionAttributesHelper
diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx
index a384e2138e8c..b1657a82dd37 100644
--- a/xmloff/source/chart/transporttypes.hxx
+++ b/xmloff/source/chart/transporttypes.hxx
@@ -89,23 +89,6 @@ typedef ::std::multimap< tSchXMLIndexWithPart,
bool operator < ( const tSchXMLIndexWithPart & rFirst, const tSchXMLIndexWithPart & rSecond );
-struct SchNumericCellRangeAddress
-{
- sal_Int32 nRow1, nRow2;
- sal_Int32 nCol1, nCol2;
-
- SchNumericCellRangeAddress() :
- nRow1( -1 ), nRow2( -1 ),
- nCol1( -1 ), nCol2( -1 )
- {}
-
- SchNumericCellRangeAddress( const SchNumericCellRangeAddress& aOther )
- {
- nRow1 = aOther.nRow1; nRow2 = aOther.nRow2;
- nCol1 = aOther.nCol1; nCol2 = aOther.nCol2;
- }
-};
-
enum SchXMLAxisDimension
{
SCH_XML_AXIS_X = 0,
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index 3f6285c7dab4..4c3cde521765 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -55,8 +55,7 @@ namespace xmloff
typedef std::map<OUString, ElementType> MapString2Element;
static MapString2Element s_sElementTranslations;
- protected:
- OElementNameMap() { }
+ OElementNameMap() = delete;
public:
static ElementType getElementType(const OUString& _rName);
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index 973942a60b74..e8308b1470e3 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -51,13 +51,6 @@ public:
{
}
- XMLHint_Impl( sal_uInt8 nTyp,
- const css::uno::Reference < css::text::XTextRange > & rS ) :
- xStart( rS ),
- nType( nTyp )
- {
- }
-
virtual ~XMLHint_Impl() {}
const css::uno::Reference < css::text::XTextRange > & GetStart() const { return xStart; }
diff --git a/xmloff/source/transform/TransformerActions.hxx b/xmloff/source/transform/TransformerActions.hxx
index 79b5961e294c..f7016db0aeda 100644
--- a/xmloff/source/transform/TransformerActions.hxx
+++ b/xmloff/source/transform/TransformerActions.hxx
@@ -31,13 +31,6 @@ struct NameKey_Impl
sal_uInt16 m_nPrefix;
OUString m_aLocalName;
- inline NameKey_Impl( sal_uInt16 nPrfx,
- ::xmloff::token::XMLTokenEnum eLclNm ) :
- m_nPrefix( nPrfx ),
- m_aLocalName( ::xmloff::token::GetXMLToken( eLclNm ) )
- {
- }
-
inline NameKey_Impl( sal_uInt16 nPrfx, const OUString& rLclNm ) :
m_nPrefix( nPrfx ),
m_aLocalName( rLclNm )
@@ -82,15 +75,6 @@ struct TransformerAction_Impl
sal_uInt32 m_nParam2;
sal_uInt32 m_nParam3;
- inline TransformerAction_Impl( sal_uInt32 nActnTp, sal_uInt32 nPrm1,
- sal_uInt32 nPrm2, sal_uInt32 nPrm3 ) :
- m_nActionType( nActnTp ),
- m_nParam1( nPrm1 ),
- m_nParam2( nPrm2 ),
- m_nParam3( nPrm3 )
- {
-
- }
inline TransformerAction_Impl() :
m_nActionType( XML_TACTION_EOT ),
m_nParam1( 0 ),