summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/ColorPropertySet.hxx2
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.hxx6
-rw-r--r--xmloff/source/chart/SchXMLChartContext.cxx2
-rw-r--r--xmloff/source/chart/SchXMLChartContext.hxx12
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx4
-rw-r--r--xmloff/source/chart/SchXMLImport.cxx2
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.hxx12
-rw-r--r--xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx4
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.cxx2
-rw-r--r--xmloff/source/chart/SchXMLSeries2Context.hxx6
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx2
-rw-r--r--xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx4
-rw-r--r--xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx2
-rw-r--r--xmloff/source/chart/transporttypes.hxx2
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx2
-rw-r--r--xmloff/source/core/RDFaImportHelper.cxx8
-rw-r--r--xmloff/source/core/xmlerror.cxx14
-rw-r--r--xmloff/source/core/xmlexp.cxx6
-rw-r--r--xmloff/source/core/xmlimp.cxx2
-rw-r--r--xmloff/source/core/xmltoken.cxx4
-rw-r--r--xmloff/source/draw/EnhancedCustomShapeToken.cxx2
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx14
-rw-r--r--xmloff/source/draw/animexp.cxx8
-rw-r--r--xmloff/source/draw/sdpropls.hxx4
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx8
-rw-r--r--xmloff/source/draw/sdxmlexp_impl.hxx2
-rw-r--r--xmloff/source/draw/xexptran.cxx28
-rw-r--r--xmloff/source/draw/ximpshap.hxx2
-rw-r--r--xmloff/source/draw/ximpstyl.hxx2
-rw-r--r--xmloff/source/forms/elementexport.hxx6
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.cxx4
-rw-r--r--xmloff/source/forms/propertyimport.hxx2
-rw-r--r--xmloff/source/script/xmlscripti.cxx2
-rw-r--r--xmloff/source/style/PageHeaderFooterContext.hxx4
-rw-r--r--xmloff/source/style/PageMasterPropHdl.hxx2
-rw-r--r--xmloff/source/style/XMLFontAutoStylePool.cxx12
-rw-r--r--xmloff/source/style/XMLFontStylesContext_impl.hxx2
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorImport.hxx2
-rw-r--r--xmloff/source/style/impastpl.hxx14
-rw-r--r--xmloff/source/style/prstylecond.cxx4
-rw-r--r--xmloff/source/style/weighhdl.cxx4
-rw-r--r--xmloff/source/style/xmlbahdl.hxx18
-rw-r--r--xmloff/source/style/xmlexppr.cxx4
-rw-r--r--xmloff/source/style/xmlnumfe.cxx6
-rw-r--r--xmloff/source/style/xmlnumfi.cxx24
-rw-r--r--xmloff/source/style/xmlprmap.cxx2
-rw-r--r--xmloff/source/style/xmlstyle.cxx2
-rw-r--r--xmloff/source/table/XMLTableImport.cxx8
-rw-r--r--xmloff/source/table/table.hxx2
-rw-r--r--xmloff/source/text/XMLChangeElementImportContext.hxx2
-rw-r--r--xmloff/source/text/XMLChangeImportContext.hxx4
-rw-r--r--xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx2
-rw-r--r--xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx2
-rw-r--r--xmloff/source/text/XMLIndexSourceBaseContext.hxx2
-rw-r--r--xmloff/source/text/XMLIndexTemplateContext.hxx4
-rw-r--r--xmloff/source/text/XMLPropertyBackpatcher.hxx2
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx10
-rw-r--r--xmloff/source/text/XMLTextFrameHyperlinkContext.hxx2
-rw-r--r--xmloff/source/text/XMLTextListAutoStylePool.cxx2
-rw-r--r--xmloff/source/text/txtimp.cxx10
-rw-r--r--xmloff/source/text/txtparai.hxx2
-rw-r--r--xmloff/source/text/txtparaimphint.hxx10
-rw-r--r--xmloff/source/text/txtprhdl.cxx2
-rw-r--r--xmloff/source/transform/NotesTContext.hxx2
-rw-r--r--xmloff/source/xforms/xformsexport.cxx2
67 files changed, 178 insertions, 178 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.hxx b/xmloff/source/chart/ColorPropertySet.hxx
index 739ed50315bf..f10d9e10ef45 100644
--- a/xmloff/source/chart/ColorPropertySet.hxx
+++ b/xmloff/source/chart/ColorPropertySet.hxx
@@ -73,7 +73,7 @@ private:
css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo;
static constexpr OUStringLiteral g_aColorPropName = "FillColor";
Color m_nColor;
- Color const m_nDefaultColor;
+ Color m_nDefaultColor;
};
} // namespace chart
diff --git a/xmloff/source/chart/SchXMLAxisContext.hxx b/xmloff/source/chart/SchXMLAxisContext.hxx
index f5e16577f61e..622c6282aeb0 100644
--- a/xmloff/source/chart/SchXMLAxisContext.hxx
+++ b/xmloff/source/chart/SchXMLAxisContext.hxx
@@ -64,9 +64,9 @@ private:
sal_Int32 m_nAxisType;//css::chart::ChartAxisType
bool m_bAxisTypeImported;
bool m_bDateScaleImported;
- bool const m_bAddMissingXAxisForNetCharts; //to correct errors from older versions
- bool const m_bAdaptWrongPercentScaleValues; //to correct errors from older versions
- bool const m_bAdaptXAxisOrientationForOld2DBarCharts; //to correct different behaviour from older versions
+ bool m_bAddMissingXAxisForNetCharts; //to correct errors from older versions
+ bool m_bAdaptWrongPercentScaleValues; //to correct errors from older versions
+ bool m_bAdaptXAxisOrientationForOld2DBarCharts; //to correct different behaviour from older versions
bool& m_rbAxisPositionAttributeImported;
css::uno::Reference< css::drawing::XShape > getTitleShape() const;
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index f3bc2fa9e840..706998f68387 100644
--- a/xmloff/source/chart/SchXMLChartContext.cxx
+++ b/xmloff/source/chart/SchXMLChartContext.cxx
@@ -441,7 +441,7 @@ namespace
struct NewDonutSeries
{
css::uno::Reference< css::chart2::XDataSeries > m_xSeries;
- OUString const msStyleName;
+ OUString msStyleName;
sal_Int32 mnAttachedAxis;
::std::vector< OUString > m_aSeriesStyles;
diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx
index c0dca6e654fc..26f38d0bf9ec 100644
--- a/xmloff/source/chart/SchXMLChartContext.hxx
+++ b/xmloff/source/chart/SchXMLChartContext.hxx
@@ -49,12 +49,12 @@ struct SeriesDefaultsAndStyles
css::uno::Any maSymbolTypeDefault;
css::uno::Any maDataCaptionDefault;
- css::uno::Any const maErrorIndicatorDefault;
- css::uno::Any const maErrorCategoryDefault;
- css::uno::Any const maConstantErrorLowDefault;
- css::uno::Any const maConstantErrorHighDefault;
- css::uno::Any const maPercentageErrorDefault;
- css::uno::Any const maErrorMarginDefault;
+ css::uno::Any maErrorIndicatorDefault;
+ css::uno::Any maErrorCategoryDefault;
+ css::uno::Any maConstantErrorLowDefault;
+ css::uno::Any maConstantErrorHighDefault;
+ css::uno::Any maPercentageErrorDefault;
+ css::uno::Any maErrorMarginDefault;
css::uno::Any maMeanValueDefault;
css::uno::Any maRegressionCurvesDefault;
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index dd56e8fc658e..a2716cfd6c1f 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -265,7 +265,7 @@ public:
OUString msChartAddress;
css::uno::Sequence< sal_Int32 > maSequenceMapping;
- OUString const msCLSID;
+ OUString msCLSID;
OUString maSrcShellID;
OUString maDestShellID;
@@ -343,7 +343,7 @@ public:
}
private:
- OUString const m_aRole;
+ OUString m_aRole;
};
template< typename T >
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 2675e3678fba..e03a2d3c203c 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -68,7 +68,7 @@ public:
}
private:
- OUString const m_aChartTypeName;
+ OUString m_aChartTypeName;
};
} // anonymous namespace
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
index d43179db2981..d55fb5dd04a9 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
@@ -129,12 +129,12 @@ private:
bool & mrColHasLabels;
bool & mrRowHasLabels;
css::chart::ChartDataRowSource & mrDataRowSource;
- OUString const maChartTypeServiceName;
+ OUString maChartTypeServiceName;
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex;
bool mbGlobalChartTypeUsedBySeries;
- css::awt::Size const maChartSize;
+ css::awt::Size maChartSize;
};
class SchXMLDataLabelSpanContext: public SvXMLImportContext
@@ -226,7 +226,7 @@ public:
private:
SchXMLImportHelper& mrImportHelper;
css::uno::Reference< css::chart::X3DDisplay > mxWallFloorSupplier;
- ContextType const meContextType;
+ ContextType meContextType;
public:
SchXMLWallFloorContext( SchXMLImportHelper& rImportHelper,
@@ -252,7 +252,7 @@ public:
private:
SchXMLImportHelper& mrImportHelper;
css::uno::Reference< css::chart::XStatisticDisplay > mxStockPropProvider;
- ContextType const meContextType;
+ ContextType meContextType;
public:
SchXMLStockContext( SchXMLImportHelper& rImportHelper,
@@ -293,8 +293,8 @@ private:
SchXMLImportHelper & mrImportHelper;
::std::vector< DataRowPointStyle > & mrStyleVector;
css::uno::Reference< css::chart2::XDataSeries > m_xSeries;
- ContextType const meContextType;
- OUString const maSeriesStyleName;
+ ContextType meContextType;
+ OUString maSeriesStyleName;
tSchXMLLSequencesPerIndex& mrLSequencesPerIndex;
};
diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx
index 72cf7cdb0116..c9f13f4e53d6 100644
--- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx
+++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.hxx
@@ -49,7 +49,7 @@ private:
SchXMLImportHelper& mrImportHelper;
css::uno::Reference<css::chart2::XDataSeries > mxSeries;
- css::awt::Size const maChartSize;
+ css::awt::Size maChartSize;
std::vector< RegressionStyle >& mrRegressionStyleVector;
};
@@ -71,7 +71,7 @@ public:
private:
SchXMLImportHelper& mrImportHelper;
RegressionStyle& mrRegressionStyle;
- css::awt::Size const maChartSize;
+ css::awt::Size maChartSize;
};
#endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLREGRESSIONCURVEOBJECTCONTEXT_HXX
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx
index 38ec7c084d2b..31e638971368 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.cxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.cxx
@@ -510,7 +510,7 @@ struct DomainInfo
: aRole(rRole), aRange(rRange), nIndexForLocalData(nIndex)
{}
- OUString const aRole;
+ OUString aRole;
OUString aRange;
sal_Int32 nIndexForLocalData;
};
diff --git a/xmloff/source/chart/SchXMLSeries2Context.hxx b/xmloff/source/chart/SchXMLSeries2Context.hxx
index cbf0b2a52cdd..5deb9db8764a 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.hxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.hxx
@@ -48,9 +48,9 @@ private:
::std::vector< RegressionStyle >& mrRegressionStyleVector;
css::uno::Reference< css::chart2::XDataSeries > m_xSeries;
- sal_Int32 const mnSeriesIndex;
+ sal_Int32 mnSeriesIndex;
sal_Int32 mnDataPointIndex;
- bool const m_bStockHasVolume;
+ bool m_bStockHasVolume;
GlobalSeriesImportInfo& m_rGlobalSeriesImportInfo;
@@ -66,7 +66,7 @@ private:
tSchXMLLSequencesPerIndex maPostponedSequences;
bool& mrGlobalChartTypeUsedBySeries;
bool mbSymbolSizeIsMissingInFile;
- css::awt::Size const maChartSize;
+ css::awt::Size maChartSize;
public:
SchXMLSeries2Context( SchXMLImportHelper& rImpHelper,
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index 44d878759fb6..b561dcfb058e 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -90,7 +90,7 @@ struct lcl_ApplyCellToData
private:
Sequence< double > & m_rData;
sal_Int32 m_nIndex;
- sal_Int32 const m_nSize;
+ sal_Int32 m_nSize;
double m_fNaN;
};
diff --git a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
index 4610c3a0fc55..485b7a89c379 100644
--- a/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
+++ b/xmloff/source/chart/XMLAxisPositionPropertyHdl.hxx
@@ -31,7 +31,7 @@ public:
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
private:
- bool const m_bCrossingValue;
+ bool m_bCrossingValue;
};
#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLAXISPOSITIONPROPERTYHDL_HXX
diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
index d44dc928bd1b..6e4de8706283 100644
--- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
+++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.hxx
@@ -24,7 +24,7 @@
class XMLErrorIndicatorPropertyHdl : public XMLPropertyHandler
{
private:
- bool const mbUpperIndicator;
+ bool mbUpperIndicator;
public:
explicit XMLErrorIndicatorPropertyHdl( bool bUpper ) : mbUpperIndicator( bUpper )
diff --git a/xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx b/xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx
index fa51286635b8..1eb374a41f1a 100644
--- a/xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx
+++ b/xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx
@@ -27,8 +27,8 @@ namespace
{
struct SvXMLSignedEnumMapEntry
{
- ::xmloff::token::XMLTokenEnum const eToken;
- sal_Int32 const nValue;
+ ::xmloff::token::XMLTokenEnum eToken;
+ sal_Int32 nValue;
};
const SvXMLSignedEnumMapEntry aXMLChartSymbolTypeEnumMap[] =
diff --git a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
index fde168ce58a3..475463a5943b 100644
--- a/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
+++ b/xmloff/source/chart/XMLSymbolTypePropertyHdl.hxx
@@ -31,7 +31,7 @@ public:
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
private:
- bool const m_bIsNamedSymbol;
+ bool m_bIsNamedSymbol;
};
#endif // INCLUDED_XMLOFF_SOURCE_CHART_XMLSYMBOLTYPEPROPERTYHDL_HXX
diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx
index cc7dce95ef06..673729f43033 100644
--- a/xmloff/source/chart/transporttypes.hxx
+++ b/xmloff/source/chart/transporttypes.hxx
@@ -135,7 +135,7 @@ struct RegressionStyle
css::uno::Reference<
css::beans::XPropertySet > m_xEquationProperties;
- OUString const msStyleName;
+ OUString msStyleName;
RegressionStyle(const css::uno::Reference<
css::chart2::XDataSeries >& xSeries,
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index f7e4ea468ee3..8167ac678217 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -193,7 +193,7 @@ public:
class XMLConfigItemMapIndexedContext : public XMLConfigBaseContext
{
private:
- OUString const maConfigItemName;
+ OUString maConfigItemName;
public:
XMLConfigItemMapIndexedContext(SvXMLImport& rImport,
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 81af8cb9d976..8d724735ff54 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -109,10 +109,10 @@ public:
/** store parsed RDFa attributes */
struct ParsedRDFaAttributes
{
- OUString const m_About;
- ::std::vector< OUString > const m_Properties;
- OUString const m_Content;
- OUString const m_Datatype;
+ OUString m_About;
+ ::std::vector< OUString > m_Properties;
+ OUString m_Content;
+ OUString m_Datatype;
ParsedRDFaAttributes(
OUString const & i_rAbout,
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 115c2b12de3a..8b070c7f53c8 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -50,18 +50,18 @@ public:
const OUString& rPublicId,
const OUString& rSystemId);
- sal_Int32 const nId; /// error ID
+ sal_Int32 nId; /// error ID
- OUString const sExceptionMessage;/// message of original exception (if available)
+ OUString sExceptionMessage;/// message of original exception (if available)
// XLocator information:
- sal_Int32 const nRow; /// row number where error occurred (or -1 for unknown)
- sal_Int32 const nColumn; /// column number where error occurred (or -1)
- OUString const sPublicId; /// public identifier
- OUString const sSystemId; /// public identifier
+ sal_Int32 nRow; /// row number where error occurred (or -1 for unknown)
+ sal_Int32 nColumn; /// column number where error occurred (or -1)
+ OUString sPublicId; /// public identifier
+ OUString sSystemId; /// public identifier
/// message Parameters
- Sequence<OUString> const aParams;
+ Sequence<OUString> aParams;
};
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 0a1f53107d13..5bb3db71c7d4 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -125,9 +125,9 @@ namespace {
struct XMLServiceMapEntry_Impl
{
const char *sModelService;
- sal_Int32 const nModelServiceLen;
+ sal_Int32 nModelServiceLen;
const char *sFilterService;
- sal_Int32 const nFilterServiceLen;
+ sal_Int32 nFilterServiceLen;
};
}
@@ -261,7 +261,7 @@ public:
uno::Reference< embed::XStorage > mxTargetStorage;
- SvtSaveOptions const maSaveOptions;
+ SvtSaveOptions maSaveOptions;
/// name of stream in package, e.g., "content.xml"
OUString mStreamName;
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 628054dc1fcd..2470d054e355 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -283,7 +283,7 @@ public:
bool mbTextDocInOOoFileFormat;
const uno::Reference< uno::XComponentContext > mxComponentContext;
- OUString const implementationName;
+ OUString implementationName;
uno::Reference< embed::XStorage > mxSourceStorage;
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index b55c4c9c7a7b..48fc80a37b0b 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -33,11 +33,11 @@ namespace xmloff::token {
{
struct XMLTokenEntry
{
- sal_Int32 const nLength;
+ sal_Int32 nLength;
const char* pChar;
std::optional<OUString> xOUString;
#if OSL_DEBUG_LEVEL > 0
- XMLTokenEnum const eToken;
+ XMLTokenEnum eToken;
#endif
};
}
diff --git a/xmloff/source/draw/EnhancedCustomShapeToken.cxx b/xmloff/source/draw/EnhancedCustomShapeToken.cxx
index 22e88df0ced6..ffbb5813ccdb 100644
--- a/xmloff/source/draw/EnhancedCustomShapeToken.cxx
+++ b/xmloff/source/draw/EnhancedCustomShapeToken.cxx
@@ -37,7 +37,7 @@ namespace {
struct TokenTable
{
const char* pS;
- EnhancedCustomShapeTokenEnum const pE;
+ EnhancedCustomShapeTokenEnum pE;
};
}
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx
index 98bdeb17ef9e..99cdb55b11d6 100644
--- a/xmloff/source/draw/XMLNumberStyles.cxx
+++ b/xmloff/source/draw/XMLNumberStyles.cxx
@@ -35,10 +35,10 @@ namespace {
struct SdXMLDataStyleNumber
{
- enum XMLTokenEnum const meNumberStyle;
- bool const mbLong;
- bool const mbTextual;
- bool const mbDecimal02;
+ enum XMLTokenEnum meNumberStyle;
+ bool mbLong;
+ bool mbTextual;
+ bool mbDecimal02;
const char* mpText;
};
@@ -93,8 +93,8 @@ SdXMLDataStyleNumber const aSdXMLDataStyleNumbers[] =
struct SdXMLFixedDataStyle
{
const char* mpName;
- bool const mbAutomatic;
- bool const mbDateStyle;
+ bool mbAutomatic;
+ bool mbDateStyle;
sal_uInt8 mpFormat[8];
};
@@ -484,7 +484,7 @@ class SdXMLNumberFormatMemberImportContext : public SvXMLImportContext
private:
SdXMLNumberFormatImportContext* mpParent;
- OUString const maNumberStyle;
+ OUString maNumberStyle;
bool mbLong;
bool mbTextual;
bool mbDecimal02;
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index fbed96791f34..3dfbe0175450 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -51,10 +51,10 @@ namespace {
struct Effect
{
- XMLEffect const meKind;
- XMLEffectDirection const meDirection;
- sal_Int16 const mnStartScale;
- bool const mbIn;
+ XMLEffect meKind;
+ XMLEffectDirection meDirection;
+ sal_Int16 mnStartScale;
+ bool mbIn;
};
}
diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx
index 4e2bedb5a79d..893ab3d5df8e 100644
--- a/xmloff/source/draw/sdpropls.hxx
+++ b/xmloff/source/draw/sdpropls.hxx
@@ -56,8 +56,8 @@ class XMLSdPropHdlFactory : public XMLPropertyHandlerFactory
{
private:
css::uno::Reference< css::frame::XModel > mxModel;
- SvXMLExport* const mpExport;
- SvXMLImport* const mpImport;
+ SvXMLExport* mpExport;
+ SvXMLImport* mpImport;
public:
XMLSdPropHdlFactory( css::uno::Reference< css::frame::XModel > const & xModel, SvXMLExport& rExport );
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 48a8837fbfb0..03c769cce1a4 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -187,11 +187,11 @@ void ImpXMLEXPPageMasterInfo::SetName(const OUString& rStr)
class ImpXMLAutoLayoutInfo
{
- sal_uInt16 const mnType;
- ImpXMLEXPPageMasterInfo* const mpPageMasterInfo;
+ sal_uInt16 mnType;
+ ImpXMLEXPPageMasterInfo* mpPageMasterInfo;
OUString msLayoutName;
- tools::Rectangle maTitleRect;
- tools::Rectangle maPresRect;
+ tools::Rectangle maTitleRect;
+ tools::Rectangle maPresRect;
sal_Int32 mnGapX;
sal_Int32 mnGapY;
diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx
index 1ececf77ff0d..aacacba93b07 100644
--- a/xmloff/source/draw/sdxmlexp_impl.hxx
+++ b/xmloff/source/draw/sdxmlexp_impl.hxx
@@ -108,7 +108,7 @@ class SdXMLExport : public SvXMLExport
SdXMLFormatMap maUsedDateStyles; // this is a vector with the used formattings for date fields
SdXMLFormatMap maUsedTimeStyles; // this is a vector with the used formattings for time fields
- bool const mbIsDraw;
+ bool mbIsDraw;
virtual void ExportStyles_(bool bUsed) override;
virtual void ExportAutoStyles_() override;
diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx
index 0137166871bc..ca9a7a2c55fd 100644
--- a/xmloff/source/draw/xexptran.cxx
+++ b/xmloff/source/draw/xexptran.cxx
@@ -162,7 +162,7 @@ static void Imp_PutDoubleChar(OUStringBuffer& rStr, const SvXMLUnitConverter& rC
struct ImpSdXMLExpTransObj2DBase
{
- sal_uInt16 const mnType;
+ sal_uInt16 mnType;
explicit ImpSdXMLExpTransObj2DBase(sal_uInt16 nType)
: mnType(nType) {}
};
@@ -182,37 +182,37 @@ namespace {
struct ImpSdXMLExpTransObj2DRotate : public ImpSdXMLExpTransObj2DBase
{
- double const mfRotate;
+ double mfRotate;
explicit ImpSdXMLExpTransObj2DRotate(double fVal)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_ROTATE), mfRotate(fVal) {}
};
struct ImpSdXMLExpTransObj2DScale : public ImpSdXMLExpTransObj2DBase
{
- ::basegfx::B2DTuple const maScale;
+ ::basegfx::B2DTuple maScale;
explicit ImpSdXMLExpTransObj2DScale(const ::basegfx::B2DTuple& rNew)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SCALE), maScale(rNew) {}
};
struct ImpSdXMLExpTransObj2DTranslate : public ImpSdXMLExpTransObj2DBase
{
- ::basegfx::B2DTuple const maTranslate;
+ ::basegfx::B2DTuple maTranslate;
explicit ImpSdXMLExpTransObj2DTranslate(const ::basegfx::B2DTuple& rNew)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_TRANSLATE), maTranslate(rNew) {}
};
struct ImpSdXMLExpTransObj2DSkewX : public ImpSdXMLExpTransObj2DBase
{
- double const mfSkewX;
+ double mfSkewX;
explicit ImpSdXMLExpTransObj2DSkewX(double fVal)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWX), mfSkewX(fVal) {}
};
struct ImpSdXMLExpTransObj2DSkewY : public ImpSdXMLExpTransObj2DBase
{
- double const mfSkewY;
+ double mfSkewY;
explicit ImpSdXMLExpTransObj2DSkewY(double fVal)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_SKEWY), mfSkewY(fVal) {}
};
struct ImpSdXMLExpTransObj2DMatrix : public ImpSdXMLExpTransObj2DBase
{
- ::basegfx::B2DHomMatrix const maMatrix;
+ ::basegfx::B2DHomMatrix maMatrix;
explicit ImpSdXMLExpTransObj2DMatrix(const ::basegfx::B2DHomMatrix& rNew)
: ImpSdXMLExpTransObj2DBase(IMP_SDXMLEXP_TRANSOBJ2D_MATRIX), maMatrix(rNew) {}
};
@@ -542,7 +542,7 @@ void SdXMLImExTransform2D::GetFullTransform(::basegfx::B2DHomMatrix& rFullTrans)
struct ImpSdXMLExpTransObj3DBase
{
- sal_uInt16 const mnType;
+ sal_uInt16 mnType;
explicit ImpSdXMLExpTransObj3DBase(sal_uInt16 nType)
: mnType(nType) {}
};
@@ -562,37 +562,37 @@ namespace {
struct ImpSdXMLExpTransObj3DRotateX : public ImpSdXMLExpTransObj3DBase
{
- double const mfRotateX;
+ double mfRotateX;
explicit ImpSdXMLExpTransObj3DRotateX(double fVal)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_X), mfRotateX(fVal) {}
};
struct ImpSdXMLExpTransObj3DRotateY : public ImpSdXMLExpTransObj3DBase
{
- double const mfRotateY;
+ double mfRotateY;
explicit ImpSdXMLExpTransObj3DRotateY(double fVal)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Y), mfRotateY(fVal) {}
};
struct ImpSdXMLExpTransObj3DRotateZ : public ImpSdXMLExpTransObj3DBase
{
- double const mfRotateZ;
+ double mfRotateZ;
explicit ImpSdXMLExpTransObj3DRotateZ(double fVal)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_ROTATE_Z), mfRotateZ(fVal) {}
};
struct ImpSdXMLExpTransObj3DScale : public ImpSdXMLExpTransObj3DBase
{
- ::basegfx::B3DTuple const maScale;
+ ::basegfx::B3DTuple maScale;
explicit ImpSdXMLExpTransObj3DScale(const ::basegfx::B3DTuple& rNew)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_SCALE), maScale(rNew) {}
};
struct ImpSdXMLExpTransObj3DTranslate : public ImpSdXMLExpTransObj3DBase
{
- ::basegfx::B3DTuple const maTranslate;
+ ::basegfx::B3DTuple maTranslate;
explicit ImpSdXMLExpTransObj3DTranslate(const ::basegfx::B3DTuple& rNew)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_TRANSLATE), maTranslate(rNew) {}
};
struct ImpSdXMLExpTransObj3DMatrix : public ImpSdXMLExpTransObj3DBase
{
- ::basegfx::B3DHomMatrix const maMatrix;
+ ::basegfx::B3DHomMatrix maMatrix;
explicit ImpSdXMLExpTransObj3DMatrix(const ::basegfx::B3DHomMatrix& rNew)
: ImpSdXMLExpTransObj3DBase(IMP_SDXMLEXP_TRANSOBJ3D_MATRIX), maMatrix(rNew) {}
};
diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx
index 5231163429c9..35566e597a2c 100644
--- a/xmloff/source/draw/ximpshap.hxx
+++ b/xmloff/source/draw/ximpshap.hxx
@@ -192,7 +192,7 @@ class SdXMLPolygonShapeContext : public SdXMLShapeContext
{
OUString maPoints;
OUString maViewBox;
- bool const mbClosed;
+ bool mbClosed;
public:
diff --git a/xmloff/source/draw/ximpstyl.hxx b/xmloff/source/draw/ximpstyl.hxx
index e39ac0a162ec..9c1f21e28c23 100644
--- a/xmloff/source/draw/ximpstyl.hxx
+++ b/xmloff/source/draw/ximpstyl.hxx
@@ -174,7 +174,7 @@ public:
class SdXMLStylesContext : public SvXMLStylesContext
{
rtl::Reference< SvXMLImportPropertyMapper > xPresImpPropMapper;
- bool const mbIsAutoStyle;
+ bool mbIsAutoStyle;
std::unique_ptr<SvXMLNumFmtHelper> mpNumFmtHelper;
std::unique_ptr<SvNumberFormatter> mpNumFormatter;
diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx
index 9095aa9a69b3..13e1b52d2260 100644
--- a/xmloff/source/forms/elementexport.hxx
+++ b/xmloff/source/forms/elementexport.hxx
@@ -41,7 +41,7 @@ namespace xmloff
class OElementExport : public OPropertyExport
{
protected:
- css::uno::Sequence< css::script::ScriptEventDescriptor > const
+ css::uno::Sequence< css::script::ScriptEventDescriptor >
m_aEvents;
std::unique_ptr<SvXMLElementExport> m_pXMLElement; // XML element doing the concrete startElement etc.
@@ -91,8 +91,8 @@ namespace xmloff
typedef std::set<sal_Int16> Int16Set;
// used below
- OUString const m_sControlId; // the control id to use when exporting
- OUString const m_sReferringControls; // list of referring controls (i.e. their id's)
+ OUString m_sControlId; // the control id to use when exporting
+ OUString m_sReferringControls; // list of referring controls (i.e. their id's)
sal_Int16 m_nClassId; // class id of the control we're representing
ElementType m_eType; // (XML) type of the control we're representing
CCAFlags m_nIncludeCommon; // common control attributes to include
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx
index f1f8abad8948..267f6e46c101 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.cxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.cxx
@@ -59,8 +59,8 @@ namespace xmloff
static struct AlignmentTranslationEntry
{
- ParagraphAdjust const nParagraphValue;
- sal_Int16 const nControlValue;
+ ParagraphAdjust nParagraphValue;
+ sal_Int16 nControlValue;
}
const AlignmentTranslations[] =
{
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index a08727902dbb..2f8718c6e6e3 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -156,7 +156,7 @@ namespace xmloff
*/
class OPropertyElementsContext : public SvXMLImportContext
{
- OPropertyImportRef const m_xPropertyImporter; // to add the properties
+ OPropertyImportRef m_xPropertyImporter; // to add the properties
public:
OPropertyElementsContext(SvXMLImport& _rImport, sal_uInt16 _nPrefix, const OUString& _rName,
diff --git a/xmloff/source/script/xmlscripti.cxx b/xmloff/source/script/xmlscripti.cxx
index ea502ec94aba..a8bf2ab36047 100644
--- a/xmloff/source/script/xmlscripti.cxx
+++ b/xmloff/source/script/xmlscripti.cxx
@@ -45,7 +45,7 @@ class XMLScriptChildContext : public SvXMLImportContext
private:
css::uno::Reference< css::frame::XModel > m_xModel;
css::uno::Reference< css::document::XEmbeddedScripts > m_xDocumentScripts;
- OUString const m_aLanguage;
+ OUString m_aLanguage;
public:
XMLScriptChildContext( SvXMLImport& rImport,
diff --git a/xmloff/source/style/PageHeaderFooterContext.hxx b/xmloff/source/style/PageHeaderFooterContext.hxx
index 27812771d8c2..596c596d97b4 100644
--- a/xmloff/source/style/PageHeaderFooterContext.hxx
+++ b/xmloff/source/style/PageHeaderFooterContext.hxx
@@ -25,8 +25,8 @@
class PageHeaderFooterContext : public SvXMLImportContext
{
::std::vector< XMLPropertyState > & rProperties;
- sal_Int32 const nStartIndex;
- sal_Int32 const nEndIndex;
+ sal_Int32 nStartIndex;
+ sal_Int32 nEndIndex;
bool bHeader;
const rtl::Reference < SvXMLImportPropertyMapper > rMap;
diff --git a/xmloff/source/style/PageMasterPropHdl.hxx b/xmloff/source/style/PageMasterPropHdl.hxx
index 912b19536aa7..603154d4e9c9 100644
--- a/xmloff/source/style/PageMasterPropHdl.hxx
+++ b/xmloff/source/style/PageMasterPropHdl.hxx
@@ -104,7 +104,7 @@ public:
class XMLPMPropHdl_Print : public XMLPropertyHandler
{
- OUString const sAttrValue;
+ OUString sAttrValue;
public:
explicit XMLPMPropHdl_Print( enum ::xmloff::token::XMLTokenEnum eValue );
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index d6abd7cff68d..76a6a4d2bf33 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -51,12 +51,12 @@ namespace {
class XMLFontAutoStylePoolEntry_Impl
{
- OUString const sName;
- OUString const sFamilyName;
- OUString const sStyleName;
- FontFamily const nFamily;
- FontPitch const nPitch;
- rtl_TextEncoding const eEnc;
+ OUString sName;
+ OUString sFamilyName;
+ OUString sStyleName;
+ FontFamily nFamily;
+ FontPitch nPitch;
+ rtl_TextEncoding eEnc;
public:
diff --git a/xmloff/source/style/XMLFontStylesContext_impl.hxx b/xmloff/source/style/XMLFontStylesContext_impl.hxx
index 97c4d397b98e..e1baa2dd1ed0 100644
--- a/xmloff/source/style/XMLFontStylesContext_impl.hxx
+++ b/xmloff/source/style/XMLFontStylesContext_impl.hxx
@@ -35,7 +35,7 @@ class XMLFontStyleContextFontFace : public SvXMLStyleContext
css::uno::Any aPitch;
css::uno::Any aEnc;
- SvXMLImportContextRef const xStyles;
+ SvXMLImportContextRef xStyles;
XMLFontStylesContext *GetStyles()
{
diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx
index de916f5bc972..375b90826c27 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx
@@ -41,7 +41,7 @@ class XMLFootnoteSeparatorImport : public SvXMLImportContext
{
::std::vector<XMLPropertyState> & rProperties;
rtl::Reference<XMLPropertySetMapper> rMapper;
- sal_Int32 const nPropIndex;
+ sal_Int32 nPropIndex;
public:
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index f936b82f7dda..ee28c11a75a3 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -45,8 +45,8 @@ enum class XmlStyleFamily;
class XMLAutoStylePoolProperties
{
OUString msName;
- ::std::vector< XMLPropertyState > const maProperties;
- sal_uInt32 const mnPos;
+ ::std::vector< XMLPropertyState > maProperties;
+ sal_uInt32 mnPos;
public:
@@ -66,7 +66,7 @@ public:
typedef std::vector<std::unique_ptr<XMLAutoStylePoolProperties>> PropertiesListType;
private:
- OUString const msParent;
+ OUString msParent;
PropertiesListType m_PropertiesList;
public:
@@ -101,8 +101,8 @@ struct XMLAutoStyleFamily
typedef std::set<std::unique_ptr<XMLAutoStylePoolParent>,
comphelper::UniquePtrValueLess<XMLAutoStylePoolParent>> ParentSetType;
- XmlStyleFamily const mnFamily;
- OUString const maStrFamilyName;
+ XmlStyleFamily mnFamily;
+ OUString maStrFamilyName;
rtl::Reference<SvXMLExportPropertyMapper> mxMapper;
ParentSetType m_ParentSet;
@@ -110,8 +110,8 @@ struct XMLAutoStyleFamily
std::set<OUString> maReservedNameSet;
sal_uInt32 mnCount;
sal_uInt32 mnName;
- OUString const maStrPrefix;
- bool const mbAsFamily;
+ OUString maStrPrefix;
+ bool mbAsFamily;
XMLAutoStyleFamily( XmlStyleFamily nFamily, const OUString& rStrName,
const rtl::Reference<SvXMLExportPropertyMapper>& rMapper,
diff --git a/xmloff/source/style/prstylecond.cxx b/xmloff/source/style/prstylecond.cxx
index e384a645dffe..f644f5029be2 100644
--- a/xmloff/source/style/prstylecond.cxx
+++ b/xmloff/source/style/prstylecond.cxx
@@ -30,8 +30,8 @@ namespace {
struct ConditionMap
{
char const* aInternal;
- XMLTokenEnum const nExternal;
- int const aValue;
+ XMLTokenEnum nExternal;
+ int aValue;
};
}
diff --git a/xmloff/source/style/weighhdl.cxx b/xmloff/source/style/weighhdl.cxx
index 31ca901d8379..a069dbd30fd0 100644
--- a/xmloff/source/style/weighhdl.cxx
+++ b/xmloff/source/style/weighhdl.cxx
@@ -35,8 +35,8 @@ namespace {
struct FontWeightMapper
{
- float const fWeight;
- sal_uInt16 const nValue;
+ float fWeight;
+ sal_uInt16 nValue;
};
}
diff --git a/xmloff/source/style/xmlbahdl.hxx b/xmloff/source/style/xmlbahdl.hxx
index 4e6ce48b6c6d..c88488f4848b 100644
--- a/xmloff/source/style/xmlbahdl.hxx
+++ b/xmloff/source/style/xmlbahdl.hxx
@@ -29,7 +29,7 @@
*/
class XMLNumberPropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLNumberPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
@@ -44,8 +44,8 @@ public:
*/
class XMLNumberNonePropHdl : public XMLPropertyHandler
{
- OUString const sZeroStr;
- sal_Int8 const nBytes;
+ OUString sZeroStr;
+ sal_Int8 nBytes;
public:
explicit XMLNumberNonePropHdl( sal_Int8 nB = 4 );
XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB );
@@ -60,7 +60,7 @@ public:
*/
class XMLMeasurePropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLMeasurePropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLMeasurePropHdl() override;
@@ -74,7 +74,7 @@ public:
*/
class XMLPercentPropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLPercentPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLPercentPropHdl() override;
@@ -98,7 +98,7 @@ class XMLDoublePercentPropHdl : public XMLPropertyHandler
*/
class XMLNegPercentPropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLNegPercentPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLNegPercentPropHdl() override;
@@ -112,7 +112,7 @@ public:
*/
class XMLMeasurePxPropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLMeasurePxPropHdl( sal_Int8 nB ) : nBytes( nB ) {}
virtual ~XMLMeasurePxPropHdl() override;
@@ -236,7 +236,7 @@ public:
class XMLIsTransparentPropHdl : public XMLPropertyHandler
{
const OUString sTransparent;
- bool const bTransPropValue;
+ bool bTransPropValue;
public:
XMLIsTransparentPropHdl( enum ::xmloff::token::XMLTokenEnum eTransparent = xmloff::token::XML_TOKEN_INVALID,
@@ -294,7 +294,7 @@ public:
*/
class XMLNumberWithoutZeroPropHdl : public XMLPropertyHandler
{
- sal_Int8 const nBytes;
+ sal_Int8 nBytes;
public:
explicit XMLNumberWithoutZeroPropHdl( sal_Int8 nB );
virtual ~XMLNumberWithoutZeroPropHdl() override;
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 76fd72c71deb..188f510c0fe8 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -58,8 +58,8 @@ namespace {
struct XMLPropTokens_Impl
{
- sal_uInt16 const nType;
- XMLTokenEnum const eToken;
+ sal_uInt16 nType;
+ XMLTokenEnum eToken;
};
const sal_uInt16 MAX_PROP_TYPES =
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 569cc072231c..de626f0e1661 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -59,9 +59,9 @@ namespace {
struct SvXMLEmbeddedTextEntry
{
- sal_uInt16 const nSourcePos; // position in NumberFormat (to skip later)
- sal_Int32 const nFormatPos; // resulting position in embedded-text element
- OUString const aText;
+ sal_uInt16 nSourcePos; // position in NumberFormat (to skip later)
+ sal_Int32 nFormatPos; // resulting position in embedded-text element
+ OUString aText;
SvXMLEmbeddedTextEntry( sal_uInt16 nSP, sal_Int32 nFP, const OUString& rT ) :
nSourcePos(nSP), nFormatPos(nFP), aText(rT) {}
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 5edbb3055201..bfdf1671a127 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -51,8 +51,8 @@ namespace {
struct SvXMLNumFmtEntry
{
- OUString const aName;
- sal_uInt32 const nKey;
+ OUString aName;
+ sal_uInt32 nKey;
bool bRemoveAfterUse;
SvXMLNumFmtEntry( const OUString& rN, sal_uInt32 nK, bool bR ) :
@@ -118,7 +118,7 @@ namespace {
class SvXMLNumFmtElementContext : public SvXMLImportContext
{
SvXMLNumFormatContext& rParent;
- sal_uInt16 const nType;
+ sal_uInt16 nType;
OUStringBuffer aContent;
SvXMLNumberInfo aNumInfo;
LanguageType nElementLang;
@@ -309,15 +309,15 @@ namespace {
struct SvXMLDefaultDateFormat
{
- NfIndexTableOffset const eFormat;
- SvXMLDateElementAttributes const eDOW;
- SvXMLDateElementAttributes const eDay;
- SvXMLDateElementAttributes const eMonth;
- SvXMLDateElementAttributes const eYear;
- SvXMLDateElementAttributes const eHours;
- SvXMLDateElementAttributes const eMins;
- SvXMLDateElementAttributes const eSecs;
- bool const bSystem;
+ NfIndexTableOffset eFormat;
+ SvXMLDateElementAttributes eDOW;
+ SvXMLDateElementAttributes eDay;
+ SvXMLDateElementAttributes eMonth;
+ SvXMLDateElementAttributes eYear;
+ SvXMLDateElementAttributes eHours;
+ SvXMLDateElementAttributes eMins;
+ SvXMLDateElementAttributes eSecs;
+ bool bSystem;
};
}
diff --git a/xmloff/source/style/xmlprmap.cxx b/xmloff/source/style/xmlprmap.cxx
index ae84852baa12..9d20baa86f08 100644
--- a/xmloff/source/style/xmlprmap.cxx
+++ b/xmloff/source/style/xmlprmap.cxx
@@ -91,7 +91,7 @@ struct XMLPropertySetMapper::Impl
std::vector<XMLPropertySetMapperEntry_Impl> maMapEntries;
std::vector<rtl::Reference <XMLPropertyHandlerFactory> > maHdlFactories;
- bool const mbOnlyExportMappings;
+ bool mbOnlyExportMappings;
explicit Impl( bool bForExport ) : mbOnlyExportMappings(bForExport) {}
};
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index d0ae0db93ece..cba7ac8a37d4 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -246,7 +246,7 @@ class SvXMLStylesContext_Impl
std::vector<rtl::Reference<SvXMLStyleContext>> aStyles;
mutable std::unique_ptr<IndicesType> pIndices;
- bool const bAutomaticStyle;
+ bool bAutomaticStyle;
#if OSL_DEBUG_LEVEL > 0
mutable sal_uInt32 m_nIndexCreated;
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index e02170676935..14d6e94bfa9f 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -78,10 +78,10 @@ private:
struct MergeInfo
{
- sal_Int32 const mnStartColumn;
- sal_Int32 const mnStartRow;
- sal_Int32 const mnEndColumn;
- sal_Int32 const mnEndRow;
+ sal_Int32 mnStartColumn;
+ sal_Int32 mnStartRow;
+ sal_Int32 mnEndColumn;
+ sal_Int32 mnEndRow;
MergeInfo( sal_Int32 nStartColumn, sal_Int32 nStartRow, sal_Int32 nColumnSpan, sal_Int32 nRowSpan )
: mnStartColumn( nStartColumn ), mnStartRow( nStartRow ), mnEndColumn( nStartColumn + nColumnSpan - 1 ), mnEndRow( nStartRow + nRowSpan - 1 ) {};
diff --git a/xmloff/source/table/table.hxx b/xmloff/source/table/table.hxx
index cdf5dba92311..d711b17647e9 100644
--- a/xmloff/source/table/table.hxx
+++ b/xmloff/source/table/table.hxx
@@ -26,7 +26,7 @@ struct XMLPropertyMapEntry;
struct TableStyleElement
{
- ::xmloff::token::XMLTokenEnum const meElement;
+ ::xmloff::token::XMLTokenEnum meElement;
OUString msStyleName;
};
diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx
index 395ea94dc2c2..f1fe47ef2e99 100644
--- a/xmloff/source/text/XMLChangeElementImportContext.hxx
+++ b/xmloff/source/text/XMLChangeElementImportContext.hxx
@@ -51,7 +51,7 @@ class XMLChangeElementImportContext : public SvXMLImportContext
*
* So if bAcceptContent is true, we are importing a <text:deletion> element
*/
- bool const bAcceptContent;
+ bool bAcceptContent;
/// context of enclosing <text:changed-region> element
XMLChangedRegionImportContext& rChangedRegion;
diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx
index 7dddeacc36fa..a2e88e809ae7 100644
--- a/xmloff/source/text/XMLChangeImportContext.hxx
+++ b/xmloff/source/text/XMLChangeImportContext.hxx
@@ -62,8 +62,8 @@ public:
const css::uno::Reference<css::xml::sax::XAttributeList> & xAttrList) override;
private:
- Element const m_Element;
- bool const m_bIsOutsideOfParagraph;
+ Element m_Element;
+ bool m_bIsOutsideOfParagraph;
};
#endif
diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
index 3346fafb70d6..9bbe6c4d0039 100644
--- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
@@ -58,7 +58,7 @@ class XMLFootnoteConfigHelper : public SvXMLImportContext
{
OUStringBuffer sBuffer;
XMLFootnoteConfigurationImportContext& rConfig;
- bool const bIsBegin;
+ bool bIsBegin;
public:
diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
index a1771c77d837..3d05aa2dc568 100644
--- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
+++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx
@@ -39,7 +39,7 @@ class XMLIndexChapterInfoEntryContext : public XMLIndexSimpleEntryContext
// chapter format
sal_Int16 nChapterInfo;
bool bChapterInfoOK;
- bool const bTOC;
+ bool bTOC;
sal_Int16 nOutlineLevel;
bool bOutlineLevelOK;
diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx
index 8d9f4894611a..09973439c805 100644
--- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx
+++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx
@@ -75,7 +75,7 @@ enum IndexSourceParamEnum
*/
class XMLIndexSourceBaseContext : public SvXMLImportContext
{
- bool const bUseLevelFormats;
+ bool bUseLevelFormats;
bool bChapterIndex; /// chapter-wise or document index?
bool bRelativeTabs; /// tab stops relative to margin or indent?
diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx
index 5af747e0fad5..177e7db5896d 100644
--- a/xmloff/source/text/XMLIndexTemplateContext.hxx
+++ b/xmloff/source/text/XMLIndexTemplateContext.hxx
@@ -70,14 +70,14 @@ class XMLIndexTemplateContext : public SvXMLImportContext
OUString sStyleName;
const SvXMLEnumMapEntry<sal_uInt16>* pOutlineLevelNameMap;
- enum ::xmloff::token::XMLTokenEnum const eOutlineLevelAttrName;
+ enum ::xmloff::token::XMLTokenEnum eOutlineLevelAttrName;
const char** pOutlineLevelStylePropMap;
const bool* pAllowedTokenTypesMap;
sal_Int32 nOutlineLevel;
bool bStyleNameOK;
bool bOutlineLevelOK;
- bool const bTOC;
+ bool bTOC;
// PropertySet of current index
css::uno::Reference<css::beans::XPropertySet> & rPropertySet;
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx
index b829f008e787..d3fa054b9050 100644
--- a/xmloff/source/text/XMLPropertyBackpatcher.hxx
+++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx
@@ -62,7 +62,7 @@ class XMLPropertyBackpatcher
{
/// name of property that gets set or backpatched
- OUString const sPropertyName;
+ OUString sPropertyName;
/// backpatch list type
typedef ::std::vector<
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index 7eb3b2b14109..d8580c3ddb26 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -85,10 +85,10 @@ typedef ::std::map < const OUString, OUString > ParamMap;
class XMLTextFrameContextHyperlink_Impl
{
- OUString const sHRef;
- OUString const sName;
- OUString const sTargetFrameName;
- bool const bMap;
+ OUString sHRef;
+ OUString sName;
+ OUString sTargetFrameName;
+ bool bMap;
public:
@@ -374,7 +374,7 @@ class XMLTextFrameContext_Impl : public SvXMLImportContext
sal_Int16 nRelWidth;
sal_Int16 nRelHeight;
- sal_uInt16 const nType;
+ sal_uInt16 nType;
css::text::TextContentAnchorType eAnchorType;
bool bMayScript : 1;
diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
index 132db87150f2..eb3906e18c25 100644
--- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
+++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
@@ -35,7 +35,7 @@ class XMLTextFrameHyperlinkContext : public SvXMLImportContext
OUString sHRef;
OUString sName;
OUString sTargetFrameName;
- css::text::TextContentAnchorType const eDefaultAnchorType;
+ css::text::TextContentAnchorType eDefaultAnchorType;
SvXMLImportContextRef xFrameContext;
bool bMap;
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index dd788e215d8c..5f4e7320c323 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -43,7 +43,7 @@ class XMLTextListAutoStylePoolEntry_Impl
OUString sName;
OUString sInternalName;
Reference < XIndexReplace > xNumRules;
- sal_uInt32 const nPos;
+ sal_uInt32 nPos;
bool bIsNamed;
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 5dcae9a2d2bf..ebdb30ef7f7a 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -572,11 +572,11 @@ struct XMLTextImportHelper::Impl
SvXMLImport & m_rSvXMLImport;
- bool const m_bInsertMode : 1;
- bool const m_bStylesOnlyMode : 1;
- bool const m_bBlockMode : 1;
- bool const m_bProgress : 1;
- bool const m_bOrganizerMode : 1;
+ bool m_bInsertMode : 1;
+ bool m_bStylesOnlyMode : 1;
+ bool m_bBlockMode : 1;
+ bool m_bProgress : 1;
+ bool m_bOrganizerMode : 1;
bool m_bBodyContentStarted : 1;
/// Are we inside a <text:deletion> element (deleted redline section)
diff --git a/xmloff/source/text/txtparai.hxx b/xmloff/source/text/txtparai.hxx
index 0624864e84a9..7dcba0007e40 100644
--- a/xmloff/source/text/txtparai.hxx
+++ b/xmloff/source/text/txtparai.hxx
@@ -49,7 +49,7 @@ class XMLParaContext : public SvXMLImportContext
// Lost outline numbering in master document (#i73509#)
bool mbOutlineLevelAttrFound;
bool bIgnoreLeadingSpace;
- bool const bHeading;
+ bool bHeading;
bool bIsListHeader;
bool bIsRestart;
sal_Int16 nStartValue;
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index fb532af457bb..175f3d65e658 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -37,7 +37,7 @@ class XMLHint_Impl
css::uno::Reference < css::text::XTextRange > xStart;
css::uno::Reference < css::text::XTextRange > xEnd;
- sal_uInt8 const nType;
+ sal_uInt8 nType;
public:
@@ -64,7 +64,7 @@ public:
class XMLStyleHint_Impl : public XMLHint_Impl
{
- OUString const sStyleName;
+ OUString sStyleName;
public:
@@ -80,7 +80,7 @@ public:
class XMLReferenceHint_Impl : public XMLHint_Impl
{
- OUString const sRefName;
+ OUString sRefName;
public:
@@ -163,7 +163,7 @@ public:
class XMLTextFrameHint_Impl : public XMLHint_Impl
{
// OD 2004-04-20 #i26791#
- SvXMLImportContextRef const xContext;
+ SvXMLImportContextRef xContext;
public:
@@ -216,7 +216,7 @@ public:
// Core impl. of the unification of drawing objects and Writer fly frames (#i26791#)
class XMLDrawHint_Impl : public XMLHint_Impl
{
- SvXMLImportContextRef const xContext;
+ SvXMLImportContextRef xContext;
public:
diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx
index 2a6e3a32c0d5..1e7547d1c8b8 100644
--- a/xmloff/source/text/txtprhdl.cxx
+++ b/xmloff/source/text/txtprhdl.cxx
@@ -734,7 +734,7 @@ namespace {
class XMLGrfMirrorPropHdl_Impl : public XMLPropertyHandler
{
const OUString sVal;
- bool const bHori;
+ bool bHori;
public:
XMLGrfMirrorPropHdl_Impl( enum XMLTokenEnum eVal, bool bH ) :
diff --git a/xmloff/source/transform/NotesTContext.hxx b/xmloff/source/transform/NotesTContext.hxx
index de115a5c7555..dcc88b468802 100644
--- a/xmloff/source/transform/NotesTContext.hxx
+++ b/xmloff/source/transform/NotesTContext.hxx
@@ -26,7 +26,7 @@ class XMLNotesTransformerContext : public XMLPersElemContentTContext
{
bool m_bEndNote;
bool const m_bPersistent;
- ::xmloff::token::XMLTokenEnum const m_eTypeToken;
+ ::xmloff::token::XMLTokenEnum m_eTypeToken;
public:
XMLNotesTransformerContext( XMLTransformerBase& rTransformer,
diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx
index 264eb299d9d3..fad78c46a438 100644
--- a/xmloff/source/xforms/xformsexport.cxx
+++ b/xmloff/source/xforms/xformsexport.cxx
@@ -110,7 +110,7 @@ struct ExportTable
{
const char* pPropertyName;
sal_uInt16 const nNamespace;
- sal_uInt16 const nToken;
+ sal_uInt16 nToken;
convert_t const aConverter;
};