summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlExport.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 09:36:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 09:36:56 +0200
commitc71d9f3bb1aad3f86de93655cf02313a8894f877 (patch)
tree2f4c733603c8f866430a9cea675af1e7ca6c5de7 /reportdesign/source/filter/xml/xmlExport.cxx
parentc72d788410c13321c7079b2f185a26baea735b59 (diff)
Improved loplugin:redundantcast static_cast handling: reportdesign
Change-Id: Ifd1c46b077df5b73e3fcba699e8d598e38664840
Diffstat (limited to 'reportdesign/source/filter/xml/xmlExport.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx16
1 files changed, 8 insertions, 8 deletions
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<XFormatted
if ( !aPos.X )
{
sBorderProp = PROPERTY_BORDERLEFT;
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERRIGHT));
+ aProps.push_back(PROPERTY_BORDERRIGHT);
}
else
{
sBorderProp = PROPERTY_BORDERRIGHT;
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERLEFT));
+ aProps.push_back(PROPERTY_BORDERLEFT);
}
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERTOP));
- aProps.push_back(static_cast<const OUString&>(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<XFormatted
if ( (aPos.Y + aSize.Height) == nSectionHeight )
{
sBorderProp = PROPERTY_BORDERBOTTOM;
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERTOP));
+ aProps.push_back(PROPERTY_BORDERTOP);
}
else
{
sBorderProp = PROPERTY_BORDERTOP;
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERBOTTOM));
+ aProps.push_back(PROPERTY_BORDERBOTTOM);
}
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERRIGHT));
- aProps.push_back(static_cast<const OUString&>(PROPERTY_BORDERLEFT));
+ aProps.push_back(PROPERTY_BORDERRIGHT);
+ aProps.push_back(PROPERTY_BORDERLEFT);
}
xBorderProp->setPropertyValue(sBorderProp,uno::makeAny(aValue));