[Libreoffice-commits] core.git: desktop/inc
Stephan Bergmann
sbergman at redhat.com
Fri Nov 15 05:03:16 PST 2013
desktop/inc/liblibreoffice.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 625e1e8bcb2d5fa972b8499c8c18974a7a54205d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 15 14:02:41 2013 +0100
-Werror,-Wlogical-not-parentheses
Change-Id: I7a61ce2b235e7aa566d647fcca2dcfc09799e648
diff --git a/desktop/inc/liblibreoffice.hxx b/desktop/inc/liblibreoffice.hxx
index 81207ac..9cac41b 100644
--- a/desktop/inc/liblibreoffice.hxx
+++ b/desktop/inc/liblibreoffice.hxx
@@ -60,7 +60,7 @@ public:
inline LibLibreOffice *lo_cpp_init( const char *install_path )
{
LibreOffice *pThis = lo_init( install_path );
- if( !pThis || !pThis->nSize > 0 )
+ if( !pThis || pThis->nSize == 0 )
return NULL;
return new LibLibreOffice( pThis );
}
More information about the Libreoffice-commits
mailing list