From 1c6eb7b5ef69a39dfb79e282e34ed774bfb15856 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Thu, 26 Jun 2003 10:12:31 +0000 Subject: INTEGRATION: CWS draw19 (1.27.8); FILE MERGED 2003/06/23 14:55:39 cl 1.27.8.1: #102914# use application language as default language for outliner like in sw --- sd/source/ui/view/drviews5.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/view/drviews5.cxx') diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 44e4abbb58c6..2439f3b024de 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drviews5.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: vg $ $Date: 2003-06-04 11:04:31 $ + * last change: $Author: hr $ $Date: 2003-06-26 11:12:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -662,6 +662,11 @@ void SdDrawViewShell::Paint(const Rectangle& rRect, SdWindow* pWin) // #103834# Set Application Background color for usage in SdrPaintView(s) pDrView->SetApplicationBackgroundColor(aFillColor); + /* #97517# This is done before each text edit, so why not do it before every paint. + The default language is only used if the outliner only contains one + character in a symbol font */ + pDoc->GetDrawOutliner( NULL ).SetDefaultLanguage( Application::GetSettings().GetLanguage() ); + pDrView->InitRedraw( pWin, Region( rRect ) ); if( pWin ) -- cgit