include/unotools/historyoptions.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 244f9cf66bc36f229ccb5712bc8d80166b92266d
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Jun 6 08:15:52 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Jun 6 08:31:10 2023 +0200

    Remove stray defaulted argument
    
    ...that, for unclear reasons, had been added to this declaration in
    436f3f8eb5b45620842351a1f29ba49571043515 "tdf#38742 - Start Center: 
introduce
    push pins to favorite documents", but without also adding it to the 
definition
    in unotools/source/config/historyoptions.cxx, causing
    
    > unotools/source/config/historyoptions.cxx:307:13: error: call to 'Clear' 
is ambiguous
    >   307 |             Clear(eHistory);
    >       |             ^~~~~
    > include/unotools/historyoptions.hxx:47:29: note: candidate function
    >    47 |     UNOTOOLS_DLLPUBLIC void Clear(EHistoryType eHistory, bool 
bClearPinned = false);
    >       |                             ^
    > unotools/source/config/historyoptions.cxx:71:6: note: candidate function
    >    71 | void Clear( EHistoryType eHistory )
    >       |      ^
    
    Change-Id: I7ad65d72be2c59da0ad6deaadefebf9662571433
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152637
    Tested-by: Stephan Bergmann <sberg...@redhat.com>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/include/unotools/historyoptions.hxx 
b/include/unotools/historyoptions.hxx
index 8cf1aa744e31..53b9fcdfa805 100644
--- a/include/unotools/historyoptions.hxx
+++ b/include/unotools/historyoptions.hxx
@@ -44,7 +44,7 @@ namespace SvtHistoryOptions
 
         @param      eHistory select right history.
     */
-    UNOTOOLS_DLLPUBLIC void Clear(EHistoryType eHistory, bool bClearPinned = 
false);
+    UNOTOOLS_DLLPUBLIC void Clear(EHistoryType eHistory);
 
     /** Return the complete specified history list.
 

Reply via email to