diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-08 09:22:37 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-08 10:37:11 +0000 |
commit | 7f40ed57eb921e491f2fb83c820cb453babd9843 (patch) | |
tree | 7268132b73225bc0a0828f91b8cf085b82b54fd5 /include/xmloff | |
parent | 9cae3a88587deaf22ee83b2e36487013a1220a3b (diff) |
loplugin:constantparam in xmloff
Change-Id: I531dcf0861ab5a545eec16bf4aa92ac92eb9626e
Reviewed-on: https://gerrit.libreoffice.org/23022
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/txtparae.hxx | 9 | ||||
-rw-r--r-- | include/xmloff/xmlexp.hxx | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx index beb70c43ba55..b6b273dc1779 100644 --- a/include/xmloff/txtparae.hxx +++ b/include/xmloff/txtparae.hxx @@ -263,7 +263,7 @@ protected: virtual void exportStyleAttributes( const css::uno::Reference< css::style::XStyle > & rStyle ) override; - void exportPageFrames( bool bAutoStyles, bool bProgress ); + void exportPageFrames( bool bProgress ); void exportFrameFrames( bool bAutoStyles, bool bProgress, const css::uno::Reference< css::text::XTextFrame > *pParentTxtFrame = nullptr ); @@ -469,9 +469,8 @@ public: void exportTextDeclarations( const css::uno::Reference< css::text::XText > & rText ); - /// true: export only those declarations that are used; - /// false: export all declarations - void exportUsedDeclarations( bool bOnlyUsed ); + /// export all declarations + void exportUsedDeclarations(); /// Export the list of change information (enclosed by <tracked-changes>) /// (or the necessary automatic styles) @@ -555,7 +554,7 @@ public: void exportFramesBoundToPage( bool bIsProgress = false ) { - exportPageFrames( false, bIsProgress ); + exportPageFrames( bIsProgress ); } void exportFramesBoundToFrame( const css::uno::Reference< css::text::XTextFrame >& rParentTxtFrame, diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 1ec40d1e4efe..27016cf198c4 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -172,10 +172,10 @@ private: SAL_DLLPRIVATE void ImplExportMeta(); // <office:meta> SAL_DLLPRIVATE void ImplExportSettings(); // <office:settings> - SAL_DLLPRIVATE void ImplExportStyles( bool bUsed ); // <office:styles> - SAL_DLLPRIVATE void ImplExportAutoStyles( bool bUsed ); + SAL_DLLPRIVATE void ImplExportStyles(); // <office:styles> + SAL_DLLPRIVATE void ImplExportAutoStyles(); // <office:automatic-styles> - SAL_DLLPRIVATE void ImplExportMasterStyles( bool bUsed ); + SAL_DLLPRIVATE void ImplExportMasterStyles(); // <office:master-styles> SAL_DLLPRIVATE void ImplExportContent(); // <office:body> virtual void SetBodyAttributes(); |