summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/export/chartexport.cxx4
-rw-r--r--oox/source/export/drawingml.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 1bdd6835ffa4..621a1d0149e6 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2880,7 +2880,7 @@ void ChartExport::_exportAxis(
|| ( nAxisType == XML_dateAx ) )
{
// FIXME: seems not support? use default value,
- const char* isAuto = "1";
+ const char* const isAuto = "1";
pFS->singleElement( FSNS( XML_c, XML_auto ),
XML_val, isAuto,
FSEND );
@@ -2888,7 +2888,7 @@ void ChartExport::_exportAxis(
if( nAxisType == XML_catAx )
{
// FIXME: seems not support? lblAlgn
- const char* sLblAlgn = "ctr";
+ const char* const sLblAlgn = "ctr";
pFS->singleElement( FSNS( XML_c, XML_lblAlgn ),
XML_val, sLblAlgn,
FSEND );
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 8befbca17584..262e8eebd72d 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1408,8 +1408,8 @@ void DrawingML::WriteRunProperties( const Reference< XPropertySet >& rRun, bool
if( GETA( CharFontName ) )
{
- const char* pitch = nullptr;
- const char* charset = nullptr;
+ const char* const pitch = nullptr;
+ const char* const charset = nullptr;
OUString usTypeface;
mAny >>= usTypeface;
@@ -1424,8 +1424,8 @@ void DrawingML::WriteRunProperties( const Reference< XPropertySet >& rRun, bool
if( ( bComplex && GETAD( CharFontNameComplex ) ) || ( !bComplex && GETAD( CharFontNameAsian ) ) )
{
- const char* pitch = nullptr;
- const char* charset = nullptr;
+ const char* const pitch = nullptr;
+ const char* const charset = nullptr;
OUString usTypeface;
mAny >>= usTypeface;