summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-01-09 19:38:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-01-09 20:21:59 +0100
commit6efffbbfce9c27439f54970f7a569b069ce46eba (patch)
treececff16ae5325875c3e6471170040c38859bff56 /sc
parent2ab481b038b62b1ff576ac4d49d03c1798cd7f84 (diff)
Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int...
Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCellBase.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
index 551311ad0654..d08b06c50bd5 100644
--- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
@@ -411,7 +411,7 @@ OUString ScAccessibleCellBase::getShadowAttrs() const
OUString::number( static_cast<int>(aShadowFmt.IsTransparent) ) +
sInnerSplit +
"Color=" +
- OUString::number( static_cast<sal_Int32>(aShadowFmt.Color) ) +
+ OUString::number( aShadowFmt.Color ) +
sOuterSplit;
return sShadowAttrs;
}
@@ -489,7 +489,7 @@ OUString ScAccessibleCellBase::getBorderAttrs()
else//add all the border properties to the return string.
{
sBorderAttrs += "TopBorder:Color=" +
- OUString::number( static_cast<sal_Int32>(aTopBorder.Color) ) +
+ OUString::number( aTopBorder.Color ) +
sInnerSplit +
"InnerLineWidth=" +
OUString::number( static_cast<sal_Int32>(aTopBorder.InnerLineWidth) ) +
@@ -509,7 +509,7 @@ OUString ScAccessibleCellBase::getBorderAttrs()
else
{
sBorderAttrs += "BottomBorder:Color=" +
- OUString::number( static_cast<sal_Int32>(aBottomBorder.Color) ) +
+ OUString::number( aBottomBorder.Color ) +
sInnerSplit +
"InnerLineWidth=" +
OUString::number( static_cast<sal_Int32>(aBottomBorder.InnerLineWidth) ) +
@@ -529,7 +529,7 @@ OUString ScAccessibleCellBase::getBorderAttrs()
else
{
sBorderAttrs += "LeftBorder:Color=" +
- OUString::number( static_cast<sal_Int32>(aLeftBorder.Color) ) +
+ OUString::number( aLeftBorder.Color ) +
sInnerSplit +
"InnerLineWidth=" +
OUString::number( static_cast<sal_Int32>(aLeftBorder.InnerLineWidth) ) +
@@ -549,7 +549,7 @@ OUString ScAccessibleCellBase::getBorderAttrs()
else
{
sBorderAttrs += "RightBorder:Color=" +
- OUString::number( static_cast<sal_Int32>(aRightBorder.Color) ) +
+ OUString::number( aRightBorder.Color ) +
sInnerSplit +
"InnerLineWidth=" +
OUString::number( static_cast<sal_Int32>(aRightBorder.InnerLineWidth) ) +