diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 13:00:18 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 13:00:18 +0000 |
commit | fcfbd21f6e1a60b6ce96d6dba43ff264a81bdfeb (patch) | |
tree | f5df063fa7e3e3a708fbe629cfaaec765bcb6c78 /starmath/source/rect.cxx | |
parent | 63033e227a598785c960cdd947b7d5b54d0eebd4 (diff) |
INTEGRATION: CWS tl50 (1.19.92); FILE MERGED
2008/03/14 12:59:56 tl 1.19.92.2: #i78973# now obsolete warning removed
2008/02/27 16:26:55 tl 1.19.92.1: #i86272# unused code removed
Diffstat (limited to 'starmath/source/rect.cxx')
-rw-r--r-- | starmath/source/rect.cxx | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 02b9c9c0b984..0718be8ffd37 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: rect.cxx,v $ - * $Revision: 1.20 $ + * $Revision: 1.21 $ * * This file is part of OpenOffice.org. * @@ -145,11 +145,6 @@ void SmRect::CopyAlignInfo(const SmRect &rRect) void SmRect::BuildRect(const OutputDevice &rDev, const SmFormat *pFormat, const XubString &rText, USHORT nBorder) { -#ifndef PRODUCT - if (rDev.GetOutDevType() != OUTDEV_PRINTER) - DBG_WARNING("Sm : Referenz-Device ist kein Drucker"); -#endif - DBG_ASSERT(aTopLeft == Point(0, 0), "Sm: Ooops..."); aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); @@ -623,6 +618,7 @@ SmRect SmRect::AsGlyphRect() const return aRect; } +#ifdef SM_RECT_DEBUG // forward declaration void SmDrawFrame(OutputDevice &rDev, const Rectangle &rRec, @@ -685,12 +681,6 @@ void SmRect::Draw(OutputDevice &rDev, const Point &rPosition, int nFlags) const } - -//////////////////////////////////////// -// misc functions -// - - void SmDrawFrame(OutputDevice &rDev, const Rectangle &rRec, const Color aCol) { @@ -706,6 +696,8 @@ void SmDrawFrame(OutputDevice &rDev, const Rectangle &rRec, rDev.Pop(); } +#endif //SM_RECT_DEBUG + BOOL SmGetGlyphBoundRect(const OutputDevice &rDev, const XubString &rText, Rectangle &rRect) |