diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-02-12 14:15:54 +0000 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-02-12 14:15:54 +0000 |
commit | de7b3820d3f8de380401fe435a83301561d17384 (patch) | |
tree | b4212dfe5381a87fca9fe4c2745ccdffe66ebde1 /oox | |
parent | b12d37d701773d194efdfc1fcceee05ab2d0b26b (diff) |
loplugin:implicitboolconversion
Presumably we need to specifically check whether Element is a
PPT pic token here too?
Change-Id: Id5c90099c8762042f9a2a886631faa72737704fb
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index bd983e3df714..9a0d72777eed 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -272,7 +272,8 @@ void SAL_CALL ShapeContextHandler::startFastElement mpThemePtr.reset(new Theme()); - if (Element == DGM_TOKEN(relIds) || Element == LC_TOKEN(lockedCanvas) || Element == C_TOKEN(chart) || Element == WPS_TOKEN(wsp) || Element == WPG_TOKEN(wgp) || PPT_TOKEN( pic )) + if (Element == DGM_TOKEN(relIds) || Element == LC_TOKEN(lockedCanvas) || Element == C_TOKEN(chart) || + Element == WPS_TOKEN(wsp) || Element == WPG_TOKEN(wgp) || Element == PPT_TOKEN(pic)) { // Parse the theme relation, if available; the diagram won't have colors without it. if (!msRelationFragmentPath.isEmpty()) |