summaryrefslogtreecommitdiff
path: root/starmath/inc/utility.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 13:58:48 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 13:58:48 +0000
commit8e775b7b252c06a7623b56727c1807ab2b07c1ea (patch)
treecd55cc1dde00233f375de2ac4deae04e98678776 /starmath/inc/utility.hxx
parent31a626897a18371d0610e2b0032db2c0407ea22e (diff)
INTEGRATION: CWS tl12 (1.5.12); FILE MERGED
2005/09/27 01:39:49 tl 1.5.12.3: RESYNC: (1.6-1.7); FILE MERGED 2005/05/27 11:29:50 tl 1.5.12.2: RESYNC: (1.5-1.6); FILE MERGED 2005/05/02 08:34:56 tl 1.5.12.1: #i44468# have all documents use the same SmSymSetManager
Diffstat (limited to 'starmath/inc/utility.hxx')
-rw-r--r--starmath/inc/utility.hxx42
1 files changed, 2 insertions, 40 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index f1e02a292098..6fd86c08f4a5 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: utility.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 15:01:36 $
+ * last change: $Author: kz $ $Date: 2005-10-05 14:58:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -112,44 +112,6 @@ SmViewShell * SmGetActiveView();
////////////////////////////////////////////////////////////
//
-// SmRectCache
-//
-
-class SmRectCache
-{
- VirtualDevice *pVirDev;
-
- SmRectCache(const SmRectCache &);
- SmRectCache & operator = (const SmRectCache &);
-
-public:
- struct Key
- { XubString aText,
- aFontName;
- Size aFontSize;
- FontWeight eFontWeight;
- FontItalic eFontItalic;
-
- Key(const XubString &rText, const Font &rFont);
-
- BOOL operator < (const Key &rKey) const;
- BOOL operator == (const Key &rKey) const;
- };
-
- SmRectCache();
- ~SmRectCache();
-
- const SmRect * Search(const Key &rKey) const;
- const SmRect * Add(const Key &rKey, const SmRect &rRect);
-
- VirtualDevice * GetVirDev();
-
- void Reset();
-};
-
-
-////////////////////////////////////////////////////////////
-//
// SmFace
//