From 8e775b7b252c06a7623b56727c1807ab2b07c1ea Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 5 Oct 2005 13:58:48 +0000 Subject: 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 --- starmath/inc/utility.hxx | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) (limited to 'starmath/inc/utility.hxx') 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. @@ -110,44 +110,6 @@ class SmViewShell; 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 -- cgit