summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-24 09:24:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-24 11:31:02 +0200
commit63df0796f5ec500f3b6fb34510d4bc79c009e76d (patch)
tree1abacb83b15612c8ef712c89eb3dc15f28bc41c4 /oox
parent1c8f03b48a02a56bc4eb364d8a4e9bd4715a530a (diff)
clang-tidy readability-simplify-boolean-expr in oox..sal
Change-Id: I1e14e5b15d2dd9e35477f8189cbecf0b443b9381 Reviewed-on: https://gerrit.libreoffice.org/36875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/vmlexport.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index aa814c460f51..ef400be64f7c 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -199,10 +199,7 @@ bool VMLExport::IsWaterMarkShape(const OUString& rStr)
{
if (rStr.isEmpty() ) return false;
- if (rStr.match("PowerPlusWaterMarkObject") || rStr.match("WordPictureWatermark"))
- return true;
- else
- return false;
+ return rStr.match("PowerPlusWaterMarkObject") || rStr.match("WordPictureWatermark");
}
static void impl_AddArrowHead( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nValue )