summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r--sot/source/sdstor/stgcache.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index 403dabee7413..cf6f8cbaf699 100644
--- a/sot/source/sdstor/stgcache.cxx
+++ b/sot/source/sdstor/stgcache.cxx
@@ -544,9 +544,4 @@ sal_Int32 StgCache::Page2Pos( sal_Int32 nPage )
return( nPage * nPageSize ) + nPageSize;
}
-sal_Int32 StgCache::Pos2Page( sal_Int32 nPos )
-{
- return ( ( nPos + nPageSize - 1 ) / nPageSize ) * nPageSize - 1;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */