summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-16 12:36:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-16 12:36:11 +0200
commita0b389d682f10a78a0c0e2fc9188af22088b8de2 (patch)
tree31fd67e9d909b94f827edb895570c15a94a0bb7c /oox
parent3f8e73a36aeb4b029ef9e2025fd05a56011da9df (diff)
-Werror,-Wlogical-not-parentheses
"logical not is only applied to the left hand side of this comparison" Change-Id: I015befe47ea9f40f83217b259e07eb01edb7d820
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index f9aa426139c0..69921c29f5ca 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -759,7 +759,7 @@ Reference < XShape > Shape::renderDiagramToGraphic( XmlFilterBase& rFilterBase )
Graphic aGraphic;
GraphicFilter aFilter( sal_False );
- if ( !aFilter.ImportGraphic( aGraphic, "", mpTempStream, GRFILTER_FORMAT_NOTFOUND, NULL, 0, static_cast < Sequence < PropertyValue >* > ( NULL ), NULL ) == GRFILTER_OK )
+ if ( aFilter.ImportGraphic( aGraphic, "", mpTempStream, GRFILTER_FORMAT_NOTFOUND, NULL, 0, static_cast < Sequence < PropertyValue >* > ( NULL ), NULL ) != GRFILTER_OK )
{
SAL_WARN( "oox.drawingml", OSL_THIS_FUNC
<< "Unable to import rendered stream into graphic object" );