summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-05-16 10:54:28 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-05-16 10:54:28 +0000
commit82b7f83ca0465fca9436e4c0b8d813827dcd7460 (patch)
tree210d891c66ed2a416a27d8466fd29a877f73fcda /starmath/source/dialog.cxx
parentbacf07be742adc6dfb0e947404f28788953dcc91 (diff)
#87071# moved usage of aChar _after_ declaration of aChar :)
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index d5faf29af94a..b5e38e52f476 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dialog.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: tl $ $Date: 2001-05-02 16:58:48 $
+ * last change: $Author: mtg $ $Date: 2001-05-16 11:54:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1538,9 +1538,9 @@ void SmShowCharset::Paint(const Rectangle&)
int x = (i % nColumns) * nLen;
int y = (i / nColumns) * nLen;
+ XubString aChar((xub_Unicode) i);
Size aTextSize(GetTextWidth(aChar), GetTextHeight());
- XubString aChar((xub_Unicode) i);
DrawText(Point(x + (nLen - aTextSize.Width()) / 2,
y + (nLen - aTextSize.Height()) / 2), aChar);
}