diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:42 +0200 |
commit | ed373ea7efd34ca6baab8ddbf809e6f2a06f1a9e (patch) | |
tree | ee982f66e33240dcf8472eae9a5fbcec4d4a7a5e /include/xmloff | |
parent | 098462c6f69c40422c74cef8f052b7b1ff0c90e8 (diff) |
loplugin:unusedmethods unused return value in include/xmloff
Change-Id: I6615a467152a50e9c65f04fd0d6c8cc128517bdb
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/GradientStyle.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/HatchStyle.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/ImageStyle.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/MarkerStyle.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/ProgressBarHelper.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/XMLEventsImportContext.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/i18nmap.hxx | 6 | ||||
-rw-r--r-- | include/xmloff/nmspmap.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/prstylei.hxx | 4 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/xmlnume.hxx | 2 |
11 files changed, 13 insertions, 19 deletions
diff --git a/include/xmloff/GradientStyle.hxx b/include/xmloff/GradientStyle.hxx index 84fdb9be105c..58cc2e885377 100644 --- a/include/xmloff/GradientStyle.hxx +++ b/include/xmloff/GradientStyle.hxx @@ -42,7 +42,7 @@ public: XMLGradientStyleImport( SvXMLImport& rImport ); ~XMLGradientStyleImport(); - bool importXML( + void importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName ); @@ -57,7 +57,7 @@ public: XMLGradientStyleExport( SvXMLExport& rExport ); ~XMLGradientStyleExport(); - bool exportXML( + void exportXML( const OUString& rStrName, const css::uno::Any& rValue ); }; diff --git a/include/xmloff/HatchStyle.hxx b/include/xmloff/HatchStyle.hxx index e5e9e403d551..6fe2dacc703b 100644 --- a/include/xmloff/HatchStyle.hxx +++ b/include/xmloff/HatchStyle.hxx @@ -42,7 +42,7 @@ public: XMLHatchStyleImport( SvXMLImport& rImport ); ~XMLHatchStyleImport(); - bool importXML( + void importXML( const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Any& rValue, OUString& rStrName ); @@ -56,7 +56,7 @@ public: XMLHatchStyleExport( SvXMLExport& rExport ); ~XMLHatchStyleExport(); - bool exportXML( const OUString& rStrName, const css::uno::Any& rValue ); + void exportXML( const OUString& rStrName, const css::uno::Any& rValue ); }; #endif // _XMLOFF_HATCHELEMENT_HXX diff --git a/include/xmloff/ImageStyle.hxx b/include/xmloff/ImageStyle.hxx index 6bf64718e7c3..62becb835fa5 100644 --- a/include/xmloff/ImageStyle.hxx +++ b/include/xmloff/ImageStyle.hxx @@ -38,7 +38,7 @@ public: ~XMLImageStyle(); void exportXML( const OUString& rStrName, const css::uno::Any& rValue, SvXMLExport& rExport ); - bool importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName, SvXMLImport& rImport ); + void importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName, SvXMLImport& rImport ); private: diff --git a/include/xmloff/MarkerStyle.hxx b/include/xmloff/MarkerStyle.hxx index 3779202ce658..679c4706eb34 100644 --- a/include/xmloff/MarkerStyle.hxx +++ b/include/xmloff/MarkerStyle.hxx @@ -42,7 +42,7 @@ public: XMLMarkerStyleImport( SvXMLImport& rImport ); ~XMLMarkerStyleImport(); - bool importXML( + void importXML( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, css::uno::Any& rValue, OUString& rStrName ); diff --git a/include/xmloff/ProgressBarHelper.hxx b/include/xmloff/ProgressBarHelper.hxx index 7eeed4ebc7c1..521ee4cb2406 100644 --- a/include/xmloff/ProgressBarHelper.hxx +++ b/include/xmloff/ProgressBarHelper.hxx @@ -57,7 +57,7 @@ public: // set the new reference and returns the new value which gives the // Progress Bar the sam position as before - sal_Int32 ChangeReference(sal_Int32 nNewReference); + void ChangeReference(sal_Int32 nNewReference); sal_Int32 GetReference() { return nReference; } sal_Int32 GetValue() { return nValue; } diff --git a/include/xmloff/XMLEventsImportContext.hxx b/include/xmloff/XMLEventsImportContext.hxx index 5a5c1c20f582..020996553bed 100644 --- a/include/xmloff/XMLEventsImportContext.hxx +++ b/include/xmloff/XMLEventsImportContext.hxx @@ -98,7 +98,7 @@ public: /// if the import operates in delayed mode, you can use this method /// to obtain the value sequence for a specific event - bool GetEventSequence( + void GetEventSequence( const OUString& rName, css::uno::Sequence<css::beans::PropertyValue> & rSequence ); diff --git a/include/xmloff/i18nmap.hxx b/include/xmloff/i18nmap.hxx index c790aff77060..3d97063a3b91 100644 --- a/include/xmloff/i18nmap.hxx +++ b/include/xmloff/i18nmap.hxx @@ -36,12 +36,6 @@ public: { } - bool operator==( const SvI18NMapEntry_Key& r ) const - { - return nKind == r.nKind && - aName == r.aName; - } - bool operator<( const SvI18NMapEntry_Key& r ) const { return nKind < r.nKind || diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx index 36d78f766b45..7bba1a662f3e 100644 --- a/include/xmloff/nmspmap.hxx +++ b/include/xmloff/nmspmap.hxx @@ -134,7 +134,7 @@ public: static bool NormalizeW3URI( OUString& rName ); static bool NormalizeURI( OUString& rName ); -/* deprecated */ bool AddAtIndex( sal_uInt16 nIdx, const OUString& rPrefix, +/* deprecated */ void AddAtIndex( sal_uInt16 nIdx, const OUString& rPrefix, const OUString& rName, sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); /* deprecated */ static sal_uInt16 GetIndexByKey( sal_uInt16 nKey ); /* deprecated */ sal_uInt16 GetIndexByPrefix( const OUString& rPrefix ) const; diff --git a/include/xmloff/prstylei.hxx b/include/xmloff/prstylei.hxx index ba32702424ef..da5278ce3102 100644 --- a/include/xmloff/prstylei.hxx +++ b/include/xmloff/prstylei.hxx @@ -68,14 +68,14 @@ protected: // the given OldFillStyleDefinitionSet) in the local maProperties. Deactivation // is done setting theindex to -1. It returns true when actually old fill // definitions existed and were deactivated - bool deactivateOldFillStyleDefinitions( + void deactivateOldFillStyleDefinitions( const OldFillStyleDefinitionSet& rHashSetOfTags); //UUUU Helper to translate new DrawingLayer FillStyle values which are name-based // from ODF internal name to style display names which can be found in the current // document model (using NameOrIndex Items). The change is executed on the internal // maProperties. The return value is true when actually names were changed - bool translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames(); + void translateNameBasedDrawingLayerFillStyleDefinitionsToStyleDisplayNames(); //UUUU provider for often used sets static const OldFillStyleDefinitionSet& getStandardSet(); diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index f1cf97ed074d..a6e97f7659bf 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -496,7 +496,7 @@ public: // get export flags SvXMLExportFlags getExportFlags() const { return mnExportFlags; } - bool ExportEmbeddedOwnObject( + void ExportEmbeddedOwnObject( css::uno::Reference<css::lang::XComponent >& rComp ); OUString GetRelativeReference(const OUString& rValue); diff --git a/include/xmloff/xmlnume.hxx b/include/xmloff/xmlnume.hxx index d522399b9a5e..e343865494dc 100644 --- a/include/xmloff/xmlnume.hxx +++ b/include/xmloff/xmlnume.hxx @@ -59,7 +59,7 @@ protected: /// Override this to add attributes to the <list-style> element. SAL_DLLPRIVATE void AddListStyleAttributes(); - SAL_DLLPRIVATE bool exportStyle( const css::uno::Reference< css::style::XStyle >& rStyle ); + SAL_DLLPRIVATE void exportStyle( const css::uno::Reference< css::style::XStyle >& rStyle ); SAL_DLLPRIVATE void exportOutline(); SvXMLExport& GetExport() { return rExport; } |