diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-29 17:38:09 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-07-29 17:39:30 +0900 |
commit | 57931a7cf76a6f5b323e178d3cade25d98e12096 (patch) | |
tree | e2ef8f2fbd1de13b93388f8746238a4278706bc0 /oox | |
parent | 40c5338fdd817878d9dd6240f7f3629b413120a5 (diff) |
Mark as const
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 | ||||
-rw-r--r-- | oox/source/vml/vmlshape.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 0232d07d1397..7d08cabed790 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -896,7 +896,7 @@ const char* DrawingML::GetFieldType( ::com::sun::star::uno::Reference< ::com::su void DrawingML::GetUUID( OStringBuffer& rBuffer ) { Sequence< sal_uInt8 > aSeq( 16 ); - static char cDigits[17] = "0123456789ABCDEF"; + static const char cDigits[17] = "0123456789ABCDEF"; rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True ); int i; diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx index bcf93b6bf3c0..405c6686457f 100644 --- a/oox/source/vml/vmlshape.cxx +++ b/oox/source/vml/vmlshape.cxx @@ -403,7 +403,7 @@ void ShapeBase::convertShapeProperties( const Reference< XShape >& rxShape ) con if (aPropMap.hasProperty(PROP_LineColor)) { uno::Reference<beans::XPropertySet> xPropertySet(rxShape, uno::UNO_QUERY); - static sal_Int32 aBorders[] = { + static const sal_Int32 aBorders[] = { PROP_TopBorder, PROP_LeftBorder, PROP_BottomBorder, PROP_RightBorder }; for (unsigned int i = 0; i < SAL_N_ELEMENTS(aBorders); ++i) |