summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 263e27deb041..2fb4c47cbfd9 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -331,7 +331,7 @@ bool ImplSdPPTImport::Import()
break;
}
auto nPos = aPropItem.Tell() + nTemp;
- if (nPos != aPropItem.Seek(nPos))
+ if (!checkSeek(aPropItem, nPos))
{
bVecOk = false;
break;