oox/source/drawingml/shape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a0b389d682f10a78a0c0e2fc9188af22088b8de2
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Oct 16 12:36:11 2013 +0200

    -Werror,-Wlogical-not-parentheses
    
    "logical not is only applied to the left hand side of this comparison"
    
    Change-Id: I015befe47ea9f40f83217b259e07eb01edb7d820

diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index f9aa426..69921c2 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" );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to