summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/querytablebuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/querytablebuffer.cxx')
-rw-r--r--sc/source/filter/oox/querytablebuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/querytablebuffer.cxx b/sc/source/filter/oox/querytablebuffer.cxx
index fc1110406dd8..8d5ec052d139 100644
--- a/sc/source/filter/oox/querytablebuffer.cxx
+++ b/sc/source/filter/oox/querytablebuffer.cxx
@@ -219,7 +219,7 @@ void QueryTable::finalizeImport()
// check that valid web query properties exist
const WebPrModel* pWebPr = xConnection->getModel().mxWebPr.get();
- if( !(pWebPr && !pWebPr->mbXml) )
+ if( !pWebPr || pWebPr->mbXml )
return;
OUString aFileUrl = getBaseFilter().getAbsoluteUrl( pWebPr->maUrl );