summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-21 12:15:26 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:29 +0200
commitf61dbc302975aaa253b00ea6b141bb12474b3c95 (patch)
tree7150ea10f0111c4e6677030ac568c7be03424e08 /store
parentb44cbb26efe1d0b0950b1e1613e131b506dc3876 (diff)
followup code removal after changing virtual methods to non-virtual
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
Diffstat (limited to 'store')
-rw-r--r--store/source/storbase.hxx42
1 files changed, 0 insertions, 42 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index ad8249d21ebe..d168ab1fc624 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -776,48 +776,6 @@ public:
}
};
-/*========================================================================
- *
- * PageObject.
- *
- *======================================================================*/
-#if 1 /* EXP */
-class PageObject
-{
-public:
- explicit PageObject (PageHolder const & rxPage = PageHolder())
- : m_xPage (rxPage), m_bDirty (false)
- {}
-
- virtual ~PageObject()
- {}
-
- PageHolder & get() { return m_xPage; }
- PageHolder const & get() const { return m_xPage; }
-
- void clean() { m_bDirty = false; }
- void touch() { m_bDirty = true; }
-
- sal_uInt32 location() const
- {
- PageData const * pagedata = m_xPage.get();
- return (pagedata != 0) ? pagedata->location() : STORE_PAGE_NULL;
- }
- void location (sal_uInt32 nAddr)
- {
- PageData * pagedata = m_xPage.get();
- if (pagedata != 0)
- pagedata->location (nAddr);
- }
-
-protected:
- PageHolder m_xPage;
- bool m_bDirty;
-
- ;
- ;
-};
-#endif /* EXP */
class OStorePageBIOS;