summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 10:26:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 12:31:32 +0100
commit4f4486c61d3e437059a2ac77aae012489f5c7e25 (patch)
tree408c9a71e3a2d2c4a921ce3a376546ccadae4437 /xmloff
parentfda2ee3d87600ce7ecbec5528ea80b8e9758f584 (diff)
look for =() in loplugin:unnecessaryparen
Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlexp.cxx4
-rw-r--r--xmloff/source/core/xmlimp.cxx4
-rw-r--r--xmloff/source/draw/animationexport.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 3dc185ba9a83..33cd48a9982c 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -746,7 +746,7 @@ void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArgumen
if( xPropertySetInfo->hasPropertyByName( sOutlineStyleAsNormalListStyle ) )
{
uno::Any aAny = mxExportInfo->getPropertyValue( sOutlineStyleAsNormalListStyle );
- aAny >>= (mpImpl->mbOutlineStyleAsNormalListStyle);
+ aAny >>= mpImpl->mbOutlineStyleAsNormalListStyle;
}
OUString sTargetStorage( "TargetStorage" );
@@ -758,7 +758,7 @@ void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArgumen
if( xPropertySetInfo->hasPropertyByName( sExportTextNumberElement ) )
{
uno::Any aAny = mxExportInfo->getPropertyValue( sExportTextNumberElement );
- aAny >>= (mpImpl->mbExportTextNumberElement);
+ aAny >>= mpImpl->mbExportTextNumberElement;
}
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 9647dec28731..f96940aeb575 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -1105,13 +1105,13 @@ void SAL_CALL SvXMLImport::initialize( const uno::Sequence< uno::Any >& aArgumen
if( xPropertySetInfo->hasPropertyByName(sPropName) )
{
uno::Any aAny = mxImportInfo->getPropertyValue(sPropName);
- aAny >>= (mpImpl->mbShapePositionInHoriL2R);
+ aAny >>= mpImpl->mbShapePositionInHoriL2R;
}
sPropName = "TextDocInOOoFileFormat";
if( xPropertySetInfo->hasPropertyByName(sPropName) )
{
uno::Any aAny = mxImportInfo->getPropertyValue(sPropName);
- aAny >>= (mpImpl->mbTextDocInOOoFileFormat);
+ aAny >>= mpImpl->mbTextDocInOOoFileFormat;
}
sPropName = "SourceStorage";
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx
index 79a119eef31c..84591565635d 100644
--- a/xmloff/source/draw/animationexport.cxx
+++ b/xmloff/source/draw/animationexport.cxx
@@ -490,8 +490,8 @@ static bool splitPath(::rtl::OUString const & i_rPath,
// input must not start or end with '/'
return false;
} else {
- o_rDir = (i_rPath.copy(0, idx));
- o_rRest = (i_rPath.copy(idx+1));
+ o_rDir = i_rPath.copy(0, idx);
+ o_rRest = i_rPath.copy(idx+1);
return true;
}
}