diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 09:04:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 10:19:44 +0200 |
commit | b0dcd6dbad43c1f7e45240687735b1127acad3ec (patch) | |
tree | 14c9bbfce399f7c354a447cfd3567c888b653afc /sw/source/uibase/shells/textsh.cxx | |
parent | 6c5fa17611b8f8f3c94473eabd768f310de3e7ff (diff) |
loplugin: defaultparams
Change-Id: Id6466f7c6d333ecf157c1de4197df394b60d0627
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index b479261f3cde..c7b04909b90d 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -156,7 +156,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) break; case FN_INSERT_SOFT_HYPHEN: - if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true, 0 ) && + if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true ) && CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true, -1 )) rSh.Insert( OUString( CHAR_SOFTHYPHEN ) ); break; @@ -473,7 +473,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) // the suggestion has to be removed before GetView().GetEditWin().StopQuickHelp(); SvGlobalName aGlobalName( SO3_SM_CLASSID ); - rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName, true, 0 ); + rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName, true ); } break; @@ -1101,17 +1101,17 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq ) nScript = g_pBreakIt->GetAllScriptsOfText( aChars ); if( SvtScriptType::LATIN & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_FONT); } if( SvtScriptType::ASIAN & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_CJK_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_CJK_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_CJK_FONT ); } if( SvtScriptType::COMPLEX & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_CTL_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_CTL_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_CTL_FONT ); } |