diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:29 +0200 |
commit | 43c00bc48978a2c148d6f0622f40d3b40a93eb6c (patch) | |
tree | d0b308203578d3b99cd31aa9136978e50edb14b1 /oox | |
parent | a7e273755095e4b97c05a63ab39aa09f8aa755a4 (diff) |
Clean up aEmptyStr
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/diagram/datamodelcontext.cxx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/oox/source/drawingml/diagram/datamodelcontext.cxx b/oox/source/drawingml/diagram/datamodelcontext.cxx index 209e71833313..6337ce8102e6 100644 --- a/oox/source/drawingml/diagram/datamodelcontext.cxx +++ b/oox/source/drawingml/diagram/datamodelcontext.cxx @@ -141,18 +141,16 @@ public: ContextHandler2( rParent ), mrPoint( rPoint ) { - OUString aEmptyStr; - - mrPoint.msColorTransformCategoryId = rAttribs.getString( XML_csCatId, aEmptyStr ); - mrPoint.msColorTransformTypeId = rAttribs.getString( XML_csTypeId, aEmptyStr ); - mrPoint.msLayoutCategoryId = rAttribs.getString( XML_loCatId, aEmptyStr ); - mrPoint.msLayoutTypeId = rAttribs.getString( XML_loTypeId, aEmptyStr ); - mrPoint.msPlaceholderText = rAttribs.getString( XML_phldrT, aEmptyStr ); - mrPoint.msPresentationAssociationId = rAttribs.getString( XML_presAssocID, aEmptyStr ); - mrPoint.msPresentationLayoutName = rAttribs.getString( XML_presName, aEmptyStr ); - mrPoint.msPresentationLayoutStyleLabel = rAttribs.getString( XML_presStyleLbl, aEmptyStr ); - mrPoint.msQuickStyleCategoryId = rAttribs.getString( XML_qsCatId, aEmptyStr ); - mrPoint.msQuickStyleTypeId = rAttribs.getString( XML_qsTypeId, aEmptyStr ); + mrPoint.msColorTransformCategoryId = rAttribs.getString( XML_csCatId, "" ); + mrPoint.msColorTransformTypeId = rAttribs.getString( XML_csTypeId, "" ); + mrPoint.msLayoutCategoryId = rAttribs.getString( XML_loCatId, "" ); + mrPoint.msLayoutTypeId = rAttribs.getString( XML_loTypeId, "" ); + mrPoint.msPlaceholderText = rAttribs.getString( XML_phldrT, "" ); + mrPoint.msPresentationAssociationId = rAttribs.getString( XML_presAssocID, "" ); + mrPoint.msPresentationLayoutName = rAttribs.getString( XML_presName, "" ); + mrPoint.msPresentationLayoutStyleLabel = rAttribs.getString( XML_presStyleLbl, "" ); + mrPoint.msQuickStyleCategoryId = rAttribs.getString( XML_qsCatId, "" ); + mrPoint.msQuickStyleTypeId = rAttribs.getString( XML_qsTypeId, "" ); mrPoint.mnCustomAngle = rAttribs.getInteger( XML_custAng, -1 ); mrPoint.mnPercentageNeighbourWidth = rAttribs.getInteger( XML_custLinFactNeighborX, -1 ); |