Hi!

Bug's page

After applying this patch, checking 'Check uppercase words' in options works 
without restarting LO.
It's very simple, a single line, but it took me a while to find the right place 
to start... :)
I hope that the patch is OK.

Szabolcs
                                          
From 4918f04e6f7e57314b58061860bc5b7a6f3ea60c Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi <dezsisz...@hotmail.com>
Date: Sat, 21 Apr 2012 15:28:50 +0200
Subject: [PATCH] Changing 'Check uppercase words' works without restart

---
 linguistic/source/lngprophelp.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index b93971f..82a7c4d 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -522,6 +522,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
     nResMaxNumberOfSuggestions  = GetDefaultNumberOfSuggestions();
     bResIsSpellWithDigits       = bIsSpellWithDigits;
     bResIsSpellCapitalization   = bIsSpellCapitalization;
+    bResIsSpellUpperCase        = bIsSpellUpperCase;
 
     sal_Int32 nLen = rPropVals.getLength();
     if (nLen)
-- 
1.7.7

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to