summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-06-06 08:15:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-06-06 08:31:10 +0200
commit244f9cf66bc36f229ccb5712bc8d80166b92266d (patch)
tree797a1d9c0bcb16c228dd076f3fd10aadea9a18c8
parent436f3f8eb5b45620842351a1f29ba49571043515 (diff)
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 <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--include/unotools/historyoptions.hxx2
1 files changed, 1 insertions, 1 deletions
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.