summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/WW8Sttbf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/WW8Sttbf.cxx')
-rw-r--r--sw/source/filter/ww8/WW8Sttbf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/WW8Sttbf.cxx b/sw/source/filter/ww8/WW8Sttbf.cxx
index d5b24b21d5ff..c3d1132ca0b2 100644
--- a/sw/source/filter/ww8/WW8Sttbf.cxx
+++ b/sw/source/filter/ww8/WW8Sttbf.cxx
@@ -37,7 +37,7 @@ namespace ww8
sal_Size nRemainingSize = rSt.remainingSize();
nSize = std::min<sal_uInt32>(nRemainingSize, nSize);
m_pData = o3tl::make_shared_array<sal_uInt8>(nSize);
- mn_size = rSt.Read(m_pData.get(), nSize);
+ mn_size = rSt.ReadBytes(m_pData.get(), nSize);
}
OSL_ENSURE(mn_size == nSize, "short read in WW8Struct::WW8Struct");
}