Kaydet (Commit) 123ee960 authored tarafından Noel Grandin's avatar Noel Grandin

AutoCorrect methods result in ambiguous overloads

When actually using the parameter defaults.
So just remove the defaults.

Change-Id: I02dbffcd87a3a07382cb10655d46e7d0312f4e51
üst d0813b43
...@@ -772,8 +772,8 @@ public: ...@@ -772,8 +772,8 @@ public:
sal_uInt16 GetRefMarks( std::vector<OUString>* = 0 ) const; sal_uInt16 GetRefMarks( std::vector<OUString>* = 0 ) const;
/// Call AutoCorrect /// Call AutoCorrect
void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode = true, void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode,
sal_Unicode cChar = ' ' ); sal_Unicode cChar );
bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord ); bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord );
/// Set our styles according to the respective rules. /// Set our styles according to the respective rules.
......
...@@ -382,7 +382,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); ...@@ -382,7 +382,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
const com::sun::star::util::SearchOptions* pSearchOpt = 0, const com::sun::star::util::SearchOptions* pSearchOpt = 0,
const SfxItemSet* pReplaceSet = 0); const SfxItemSet* pReplaceSet = 0);
void AutoCorrect( SvxAutoCorrect& rACorr, sal_Unicode cChar = ' ' ); void AutoCorrect( SvxAutoCorrect& rACorr, sal_Unicode cChar );
// action ahead of cursor movement // action ahead of cursor movement
// resets selection if applicable, triggers timer and GCAttr() // resets selection if applicable, triggers timer and GCAttr()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment