summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 6cce2634a9d3..7ab792511e83 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5850,7 +5850,7 @@ void SvxMSDffManager::GetCtrlData(sal_uInt32 nOffsDggL)
unsigned long nDrawingContainerId = 1;
do
{
- if (nPos != rStCtrl.Seek(nPos))
+ if (!checkSeek(rStCtrl, nPos))
break;
bOk = ReadCommonRecordHeader( rStCtrl, nVer, nInst, nFbt, nLength ) && ( DFF_msofbtDgContainer == nFbt );