source/text/scalc/01/func_style.xhp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 379510d74d95dd4e7878e8e86401a3b60a6ef107
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Wed Oct 11 15:59:31 2023 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Wed Oct 11 16:06:00 2023 +0200

    Follow-up: tdf#152412 Re-add the note to the STYLE() function
    
    ... to not use it without reason..
    
    This got lost with
    
        commit 20d4c17ca1fb161bf5fccf3d94db93b0a4d322f2
        CommitDate: Wed Jan 11 00:09:58 2023 +0000
    
            tdf#152412 Improve the STYLE function help page
    
    Change-Id: I48b11d8360a0a95ae1a76e4d0a339b5fe6488d2d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/157835
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/source/text/scalc/01/func_style.xhp 
b/source/text/scalc/01/func_style.xhp
index b5f1d8c2ac..643ba2af6b 100644
--- a/source/text/scalc/01/func_style.xhp
+++ b/source/text/scalc/01/func_style.xhp
@@ -26,6 +26,7 @@
     <paragraph role="paragraph" id="par_id441673375101757"><ahelp 
hid="HID_FUNC_VORLAGE"><variable id="func_style_desc">Applies a style to the 
cell containing the formula.</variable></ahelp> After a set amount of time, 
another style can be applied.</paragraph>
   </section>
   <paragraph role="paragraph" id="par_id681673375365338">This function always 
returns the numeric value 0, which allows to use it by adding the 
<emph>STYLE</emph> function to other functions in the same cell without 
changing its value.</paragraph>
+  <note id="par_id1670450904">The STYLE function should not be used without 
compelling reason, its purpose is the use with asynchronous Add-In functions to 
visually notify about the availability of a result. In almost all other cases 
using conditional formatting instead is a better choice.</note>
 
   <embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
   <paragraph role="code" id="par_id961673376106137">

Reply via email to