Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index



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 <dezsiszabi@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.