summaryrefslogtreecommitdiff
path: root/basic/source/app/textedit.cxx
diff options
context:
space:
mode:
authorGregor Hartmann <gh@openoffice.org>2001-07-10 10:54:02 +0000
committerGregor Hartmann <gh@openoffice.org>2001-07-10 10:54:02 +0000
commitb6d7d6ddc4050a78fcb4ef26a80e5f34e9f71b98 (patch)
tree379891f56a9f83d85f63d44025e538fa3c596c8e /basic/source/app/textedit.cxx
parent72230a9df40e124ae12eac0c1cdd55b544a53e16 (diff)
required change System::GetStandardFont
Diffstat (limited to 'basic/source/app/textedit.cxx')
-rw-r--r--basic/source/app/textedit.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx
index 318917fbc8f7..e716980ed680 100644
--- a/basic/source/app/textedit.cxx
+++ b/basic/source/app/textedit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: textedit.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ab $ $Date: 2001-07-05 10:42:52 $
+ * last change: $Author: gh $ $Date: 2001-07-10 11:54:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -723,7 +723,8 @@ TextEdit::TextEdit( AppEdit* pParent, const WinBits& aBits )
, bSaveAsUTF8( FALSE )
{
DBG_CTOR(TextEdit,0);
- Font aFont(System::GetStandardFont(STDFONT_FIXED));
+
+ Font aFont( aEdit.GetDefaultFont( DEFAULTFONT_FIXED, aEdit.GetSettings().GetLanguage(), 0, &aEdit ));
aFont.SetTransparent( FALSE );
SetFont( aFont );
}