diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 7aa1e7dc8974..25e514552b10 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -1159,15 +1159,15 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference(PROPERTY_BORDERRIGHT)); + aProps.push_back(PROPERTY_BORDERRIGHT); } else { sBorderProp = PROPERTY_BORDERRIGHT; - aProps.push_back(static_cast(PROPERTY_BORDERLEFT)); + aProps.push_back(PROPERTY_BORDERLEFT); } - aProps.push_back(static_cast(PROPERTY_BORDERTOP)); - aProps.push_back(static_cast(PROPERTY_BORDERBOTTOM)); + aProps.push_back(PROPERTY_BORDERTOP); + aProps.push_back(PROPERTY_BORDERBOTTOM); } else // horizontal { @@ -1175,15 +1175,15 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference(PROPERTY_BORDERTOP)); + aProps.push_back(PROPERTY_BORDERTOP); } else { sBorderProp = PROPERTY_BORDERTOP; - aProps.push_back(static_cast(PROPERTY_BORDERBOTTOM)); + aProps.push_back(PROPERTY_BORDERBOTTOM); } - aProps.push_back(static_cast(PROPERTY_BORDERRIGHT)); - aProps.push_back(static_cast(PROPERTY_BORDERLEFT)); + aProps.push_back(PROPERTY_BORDERRIGHT); + aProps.push_back(PROPERTY_BORDERLEFT); } xBorderProp->setPropertyValue(sBorderProp,uno::makeAny(aValue));