diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 14:29:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 15:02:41 +0200 |
commit | 123ee9606938abc2be03ab7d35b66544141ade64 (patch) | |
tree | fb267ef1ff4a27f753142d2ad5350e587a7cc179 | |
parent | d0813b432f94d214a6961cb6a1eb11f65399e59b (diff) |
AutoCorrect methods result in ambiguous overloads
When actually using the parameter defaults.
So just remove the defaults.
Change-Id: I02dbffcd87a3a07382cb10655d46e7d0312f4e51
-rw-r--r-- | sw/inc/editsh.hxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 44d04c93a437..98ed2dcb975a 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -772,8 +772,8 @@ public: sal_uInt16 GetRefMarks( std::vector<OUString>* = 0 ) const; /// Call AutoCorrect - void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode = true, - sal_Unicode cChar = ' ' ); + void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode, + sal_Unicode cChar ); bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord ); /// Set our styles according to the respective rules. diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 19405a0c85bd..0ccd8c57c1a9 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -382,7 +382,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); const com::sun::star::util::SearchOptions* pSearchOpt = 0, const SfxItemSet* pReplaceSet = 0); - void AutoCorrect( SvxAutoCorrect& rACorr, sal_Unicode cChar = ' ' ); + void AutoCorrect( SvxAutoCorrect& rACorr, sal_Unicode cChar ); // action ahead of cursor movement // resets selection if applicable, triggers timer and GCAttr() |