You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2021/10/12 19:41:42 UTC

[openoffice] branch AOO41X updated: Occurence "OpenOffice.org" in dialog Writing Aids for new thesaurus

This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new 144e29f  Occurence "OpenOffice.org" in dialog Writing Aids for new thesaurus
144e29f is described below

commit 144e29f53d8cc243ea6ace9dffeae0814c0487e0
Author: DiGro <di...@yahoo.co.uk>
AuthorDate: Sun Oct 3 14:03:00 2021 +0200

    Occurence "OpenOffice.org" in dialog Writing Aids for new thesaurus
    
    Just noticed the occurrence of the string "OpenOffice.org New Thesaurus" in the
    dialog Writing Aids (Tools > Options > Language Settings > Writing Aids) in the
    Developer Build 4.2.0
    
    This should probably be changed to "New Thesaurus" only.
    
    OpenGrok found the string just once, in:
    
    /trunk/main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx (revision
    c4c42a0)
    
    Line:
    576 {
    577 MutexGuard aGuard( GetLinguMutex() );
    578 return A2OU( "OpenOffice.org New Thesaurus" );
    579 }
    
    Since I'm no developer at all I just deleted "OpenOffice.org".
    Hope someone will check if I did it as supposed to.
    
    Should probably also need to be changed in branches AOO41 and AOO42 too
    
    Earlier reported in BugZilla Issue ID: 128483 https://bz.apache.org/ooo/show_bug.cgi?id=1284
    
    (cherry picked from commit ba4b3329facb3024a6d92dc95526ada2e3d146c2)
---
 main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index c68f33b..98b94e9 100644
--- a/main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/main/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -575,7 +575,7 @@ OUString SAL_CALL Thesaurus::getServiceDisplayName( const Locale& /*rLocale*/ )
 		throw(RuntimeException)
 {
 	MutexGuard	aGuard( GetLinguMutex() );
-	return A2OU( "OpenOffice.org New Thesaurus" );
+	return A2OU( "New Thesaurus" );
 }