diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:30:30 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 13:34:48 +0200 |
commit | 190334febe62d56d80489034f0ee3cf59100f6c4 (patch) | |
tree | 4cde37896e4b6a00bc84fbc5e69fbe41a8f8dcb9 /sot | |
parent | mark lcl_ functions static or rename them if they are not local at all (diff) | |
download | core-190334febe62d56d80489034f0ee3cf59100f6c4.tar.gz core-190334febe62d56d80489034f0ee3cf59100f6c4.zip |
mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html
Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index e787c087640a..00c20d4cc3cf 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -80,7 +80,7 @@ bool StgPage::IsPageGreater( const StgPage *pA, const StgPage *pB ) // The disk cache holds the cached sectors. The sector type differ according // to their purpose. -sal_Int32 lcl_GetPageCount( sal_uLong nFileSize, short nPageSize ) +static sal_Int32 lcl_GetPageCount( sal_uLong nFileSize, short nPageSize ) { // return (nFileSize >= 512) ? (nFileSize - 512) / nPageSize : 0; // #i61980# reallife: last page may be incomplete, return number of *started* pages |