summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-15 14:02:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-15 14:02:41 +0100
commit625e1e8bcb2d5fa972b8499c8c18974a7a54205d (patch)
tree96802f6b8d9c73125898c7b179b3b7bfb60d1e45 /desktop
parenta7fb491ff7a01829fea3f3299e7181e6ea537304 (diff)
-Werror,-Wlogical-not-parentheses
Change-Id: I7a61ce2b235e7aa566d647fcca2dcfc09799e648
Diffstat (limited to 'desktop')
-rw-r--r--desktop/inc/liblibreoffice.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/inc/liblibreoffice.hxx b/desktop/inc/liblibreoffice.hxx
index 81207ac4eedc..9cac41b26bac 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 );
}