summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/fontcfg.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-08-15 08:50:39 +0000
committerOliver Specht <os@openoffice.org>2001-08-15 08:50:39 +0000
commit99453146b20689ad879f14f3483a2bff23a54f47 (patch)
tree32e769368ba809bf4fd0184e6ea293694454c58b /sw/source/ui/inc/fontcfg.hxx
parent24045a5491a094b6e83d14541420708b3ae06311 (diff)
#91049# use current document language to detect the correct default font
Diffstat (limited to 'sw/source/ui/inc/fontcfg.hxx')
-rw-r--r--sw/source/ui/inc/fontcfg.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/ui/inc/fontcfg.hxx b/sw/source/ui/inc/fontcfg.hxx
index d09cf63d3e6e..ca6c520bdd77 100644
--- a/sw/source/ui/inc/fontcfg.hxx
+++ b/sw/source/ui/inc/fontcfg.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontcfg.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: os $ $Date: 2001-05-11 10:37:17 $
+ * last change: $Author: os $ $Date: 2001-08-15 09:50:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,6 +67,9 @@
#ifndef _STRING_HXX
#include <tools/string.hxx>
#endif
+#ifndef _LANG_HXX
+#include <tools/lang.hxx>
+#endif
#define FONT_STANDARD 0
#define FONT_OUTLINE 1
@@ -122,7 +125,7 @@ public:
void SetFontIndex (const String& rSet, sal_Bool bCJK)
{ ChangeString(bCJK ? FONT_INDEX_CJK : FONT_INDEX, rSet);}
- static String GetDefaultFor(USHORT nFontType);
+ static String GetDefaultFor(USHORT nFontType, LanguageType eLang);
};
#endif