[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Sat Apr 8 19:32:15 UTC 2017
filter/source/msfilter/msdffimp.cxx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 79890a6d1bccbba8c40e42566c3d437d7a1aaace
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Apr 8 20:31:35 2017 +0100
limit symbol visibility
Change-Id: I54d5fbe1cd9d5ae94cb134f08fc00593c802ebee
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index c3b428655b37..e13d0c317294 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -222,10 +222,13 @@ DffPropertyReader::DffPropertyReader( const SvxMSDffManager& rMan )
InitializePropSet( DFF_msofbtOPT );
}
-bool checkSeek(SvStream &rSt, sal_uInt32 nOffset)
+namespace
{
- const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
- return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+ bool checkSeek(SvStream &rSt, sal_uInt32 nOffset)
+ {
+ const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
+ return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+ }
}
void DffPropertyReader::SetDefaultPropSet( SvStream& rStCtrl, sal_uInt32 nOffsDgg ) const
More information about the Libreoffice-commits
mailing list