diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-09-20 12:36:09 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-09-20 12:36:09 +0000 |
commit | 5485b93336204a89d4703f75361bf545085a0ae3 (patch) | |
tree | 3c2b79ee54a67dcff517c471f982295b28dc759e /dbaccess/source/ui/misc/RtfReader.cxx | |
parent | 1581a0d3ca842ea2c35e6699b01ff41f1825c9dd (diff) |
#92013# initialize font with default values
Diffstat (limited to 'dbaccess/source/ui/misc/RtfReader.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/RtfReader.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/RtfReader.cxx b/dbaccess/source/ui/misc/RtfReader.cxx index 9933633eaff0..31ce6eb804d7 100644 --- a/dbaccess/source/ui/misc/RtfReader.cxx +++ b/dbaccess/source/ui/misc/RtfReader.cxx @@ -2,9 +2,9 @@ * * $RCSfile: RtfReader.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-07-16 13:40:36 $ + * last change: $Author: oj $ $Date: 2001-09-20 13:36:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -148,6 +148,12 @@ #ifndef DBAUI_WIZARD_CPAGE_HXX #include "WCPage.hxx" #endif +#ifndef DBAUI_TOOLS_HXX +#include "UITools.hxx" +#endif +#ifndef _SV_SVAPP_HXX +#include <vcl/svapp.hxx> +#endif using namespace dbaui; using namespace ::com::sun::star::uno; @@ -364,7 +370,7 @@ sal_Bool ORTFReader::CreateTable(int nToken) sal_Bool bStrikeoutSet=sal_False; sal_Bool bItalicSet=sal_False; - FontDescriptor aFont; + FontDescriptor aFont = ::dbaui::CreateFontDescriptor(Application::GetSettings().GetStyleSettings().GetAppFont()); do { switch(nTmpToken2) |