summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-14 16:41:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-15 10:36:25 +0000
commita62129aa632c2d574a6560efc19f9de84aed1670 (patch)
treefd600f38eda8ca2b7326c3d4e75c460cba6204bd /include
parent8474e8260ad18cf83c79bd64a63e6344b4ce24d2 (diff)
loplugin:unusedmethods xmloff
Change-Id: I9d15d8edcc6746c055336bf31e5b0c15cb971ffe Reviewed-on: https://gerrit.libreoffice.org/17061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/ProgressBarHelper.hxx1
-rw-r--r--include/xmloff/XMLTextShapeStyleContext.hxx2
-rw-r--r--include/xmloff/XMLTextTableContext.hxx3
-rw-r--r--include/xmloff/numehelp.hxx1
-rw-r--r--include/xmloff/shapeimport.hxx1
-rw-r--r--include/xmloff/txtparae.hxx11
-rw-r--r--include/xmloff/txtstyli.hxx2
-rw-r--r--include/xmloff/xmlexp.hxx4
-rw-r--r--include/xmloff/xmlexppr.hxx18
-rw-r--r--include/xmloff/xmlimp.hxx3
-rw-r--r--include/xmloff/xmlnumfe.hxx3
-rw-r--r--include/xmloff/xmlnumfi.hxx2
-rw-r--r--include/xmloff/xmlnumi.hxx3
-rw-r--r--include/xmloff/xmlstyle.hxx3
14 files changed, 0 insertions, 57 deletions
diff --git a/include/xmloff/ProgressBarHelper.hxx b/include/xmloff/ProgressBarHelper.hxx
index 827e35f6f913..6de978c8cb56 100644
--- a/include/xmloff/ProgressBarHelper.hxx
+++ b/include/xmloff/ProgressBarHelper.hxx
@@ -48,7 +48,6 @@ public:
const bool bStrict);
~ProgressBarHelper();
- void SetText(OUString& rText) { if (xStatusIndicator.is()) xStatusIndicator->setText(rText); }
void SetRange(sal_Int32 nVal) { nRange = nVal; }
void SetReference(sal_Int32 nVal) { nReference = nVal; }
void SetValue(sal_Int32 nValue);
diff --git a/include/xmloff/XMLTextShapeStyleContext.hxx b/include/xmloff/XMLTextShapeStyleContext.hxx
index 45ddee181e05..066562a2b936 100644
--- a/include/xmloff/XMLTextShapeStyleContext.hxx
+++ b/include/xmloff/XMLTextShapeStyleContext.hxx
@@ -54,8 +54,6 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- bool IsAutoUpdate() const { return bAutoUpdate; }
-
virtual void CreateAndInsert( bool bOverwrite ) SAL_OVERRIDE;
virtual void Finish( bool bOverwrite ) SAL_OVERRIDE;
diff --git a/include/xmloff/XMLTextTableContext.hxx b/include/xmloff/XMLTextTableContext.hxx
index a039beb09f9c..ec05f28a4daa 100644
--- a/include/xmloff/XMLTextTableContext.hxx
+++ b/include/xmloff/XMLTextTableContext.hxx
@@ -40,9 +40,6 @@ public:
sal_uInt16 nPrfx,
const OUString& rLName );
virtual ~XMLTextTableContext();
-
- virtual ::com::sun::star::uno::Reference <
- ::com::sun::star::text::XTextContent > GetXTextContent() const = 0;
};
#endif
diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx
index a2a7d75f4a7f..64c0e163c567 100644
--- a/include/xmloff/numehelp.hxx
+++ b/include/xmloff/numehelp.hxx
@@ -84,7 +84,6 @@ public :
XMLNumberFormatAttributesExportHelper(::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xNumberFormatsSupplier,
SvXMLExport& rExport );
~XMLNumberFormatAttributesExportHelper();
- void SetExport(SvXMLExport* pExp) { this->pExport = pExp; }
sal_Int16 GetCellType(const sal_Int32 nNumberFormat, OUString& sCurrency, bool& bIsStandard);
static void WriteAttributes(SvXMLExport& rXMLExport,
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index de960236ac86..4b28de245193 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -195,7 +195,6 @@ public:
sal_Int32 GetDiffuseColor() { return maDiffuseColor; }
const ::basegfx::B3DVector& GetDirection() { return maDirection; }
bool GetEnabled() { return mbEnabled; }
- bool GetSpecular() { return mbSpecular; }
};
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index 00dc25e386be..96c2afc48174 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -424,11 +424,6 @@ protected:
const enum ::xmloff::token::XMLTokenEnum pElements[],
bool bAutoStyles);
- void exportIndexMark(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet> & rPropSet,
- bool bAutoStyles);
-
void exportSoftPageBreak(
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet> & rPropSet,
@@ -476,12 +471,6 @@ protected:
const XMLTextNumRuleInfo& rNewList,
bool bAutoStyles );
- /// export a redline text portion
- void exportChange(
- const ::com::sun::star::uno::Reference <
- ::com::sun::star::beans::XPropertySet > & rPropSet,
- bool bAutoStyle);
-
/// export a ruby
void exportRuby(
const ::com::sun::star::uno::Reference<
diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx
index 4c06d711972e..dba063d56d36 100644
--- a/include/xmloff/txtstyli.hxx
+++ b/include/xmloff/txtstyli.hxx
@@ -78,8 +78,6 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- bool IsAutoUpdate() const { return bAutoUpdate; }
-
const OUString& GetListStyle() const { return sListStyleName; }
// XML import: reconstrution of assignment of paragraph style to outline levels (#i69629#)
bool IsListStyleSet() const
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 83c03dcb4dd9..ad738eb55513 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -407,10 +407,6 @@ public:
// Get document handler. This methods are not const, because the
// reference allowes modifications through the handler.
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & GetDocHandler() { return mxHandler; }
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > & GetExtDocHandler()
- {
- return mxExtHandler;
- }
// Get original URL.
const OUString& GetOrigFileName() const { return msOrigFileName; }
diff --git a/include/xmloff/xmlexppr.hxx b/include/xmloff/xmlexppr.hxx
index dad0faa8b655..9a67145d01fb 100644
--- a/include/xmloff/xmlexppr.hxx
+++ b/include/xmloff/xmlexppr.hxx
@@ -130,24 +130,6 @@ public:
bool Equals( const ::std::vector< XMLPropertyState >& aProperties1,
const ::std::vector< XMLPropertyState >& aProperties2 ) const;
- /** fills the given attribute list with the items in the given set
- */
- void exportXML(
- SvXMLAttributeList& rAttrList,
- const ::std::vector< XMLPropertyState >& rProperties,
- const SvXMLUnitConverter& rUnitConverter,
- const SvXMLNamespaceMap& rNamespaceMap,
- SvXmlExportFlags nFlags = SvXmlExportFlags::NONE ) const;
- /** like above but only properties whose property map index is within the
- specified range are exported */
- void exportXML(
- SvXMLAttributeList& rAttrList,
- const ::std::vector< XMLPropertyState >& rProperties,
- const SvXMLUnitConverter& rUnitConverter,
- const SvXMLNamespaceMap& rNamespaceMap,
- sal_Int32 nPropMapStartIdx, sal_Int32 nPropMapEndIdx,
- SvXmlExportFlags nFlags = SvXmlExportFlags::NONE ) const;
-
void exportXML(
SvXMLExport& rExport,
const ::std::vector< XMLPropertyState >& rProperties,
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 2939f6e10bea..ceb6f782fefb 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -413,9 +413,6 @@ public:
void SetError( sal_Int32 nId, const OUString& rMsg1,
const OUString& rMsg2 );
- /** return current error flags */
- SvXMLErrorFlags GetErrorFlags() { return mnErrorFlags; }
-
virtual void DisposingModel();
::comphelper::UnoInterfaceToUniqueIdentifierMapper& getInterfaceToIdentifierMapper();
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index 9a770a173843..2463b6ea95d3 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -126,9 +126,6 @@ public:
/// obtain number format with system languange for a given key
sal_uInt32 ForceSystemLanguage( sal_uInt32 nKey );
-
- /// determine whether number format uses system language
- bool IsSystemLanguage( sal_uInt32 nKey );
};
#endif
diff --git a/include/xmloff/xmlnumfi.hxx b/include/xmloff/xmlnumfi.hxx
index e3426ac72dd7..2f8a6475e6c0 100644
--- a/include/xmloff/xmlnumfi.hxx
+++ b/include/xmloff/xmlnumfi.hxx
@@ -183,11 +183,9 @@ public:
sal_Int32 CreateAndInsert( com::sun::star::uno::Reference< com::sun::star::util::XNumberFormatsSupplier >& xFormatsSupplier );
sal_uInt16 GetType() const { return nType; } // SvXMLStylesTokens
- bool IsFromSystem() const { return bFromSystem; }
bool HasLongDoW() const { return bHasLongDoW; }
void SetHasLongDoW(bool bSet) { bHasLongDoW = bSet; }
bool HasEra() const { return bHasEra; }
- void SetHasEra(bool bSet) { bHasEra = bSet; }
void UpdateCalendar( const OUString& rNewCalendar );
diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx
index c4ef73352a66..7818087c9f02 100644
--- a/include/xmloff/xmlnumi.hxx
+++ b/include/xmloff/xmlnumi.hxx
@@ -78,9 +78,6 @@ public:
const ::com::sun::star::uno::Reference <
::com::sun::star::container::XIndexReplace >& GetNumRules() const
{ return xNumRules; }
- bool IsOutline() const { return bOutline; }
- bool IsConsecutive() const { return bConsecutive; }
- sal_Int32 GetLevels() const { return nLevels; }
static ::com::sun::star::uno::Reference <
::com::sun::star::container::XIndexReplace >
diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx
index bc8d4b692baf..7c24399ac7c3 100644
--- a/include/xmloff/xmlstyle.hxx
+++ b/include/xmloff/xmlstyle.hxx
@@ -116,9 +116,6 @@ public:
const OUString& GetParentName() const { return maParentName; }
const OUString& GetFollow() const { return maFollow; }
- const OUString& GetHelpFile() const { return maHelpFile; }
- sal_uInt32 GetHelpId() const { return mnHelpId; }
-
sal_uInt16 GetFamily() const { return mnFamily; }
bool IsValid() const { return mbValid; }