summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews5.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-06-26 10:12:31 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-06-26 10:12:31 +0000
commit1c6eb7b5ef69a39dfb79e282e34ed774bfb15856 (patch)
treee1bb34e6972395b5529a58b2d20ea6c5df3ec977 /sd/source/ui/view/drviews5.cxx
parent666bb0ef169346d9878cd4a638c4404b3bd5662a (diff)
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
Diffstat (limited to 'sd/source/ui/view/drviews5.cxx')
-rw-r--r--sd/source/ui/view/drviews5.cxx9
1 files changed, 7 insertions, 2 deletions
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 )