summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgcache.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-18 11:33:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-20 12:12:21 +0100
commit350b031df03a2753fecc649f528e9c2f3b6d4233 (patch)
treedc4ddc4d66be87b1b76048f96a26557b0cdd3b49 /sot/source/sdstor/stgcache.cxx
parentb65b4160bfae737d3bc435f23d551bef65e02f81 (diff)
callcatcher: remove some of the slightly trickier unused methods
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
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: */