diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 15:57:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:02:42 +0200 |
commit | 27e08d44f47b1830776f1efbdcd5e0838914f684 (patch) | |
tree | 7f3a922a79ab9a87ead13cf05bf8add1bee494d3 /sw/source/uibase/uitest/uiobject.cxx | |
parent | 55f93456744615174739364bb03676aa0f6986ce (diff) |
uitest: loplugin:implicitboolconversion
Change-Id: Id852960cdfd49331251e89306a6a32eb9e45a666
Diffstat (limited to 'sw/source/uibase/uitest/uiobject.cxx')
-rw-r--r-- | sw/source/uibase/uitest/uiobject.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/uibase/uitest/uiobject.cxx b/sw/source/uibase/uitest/uiobject.cxx index 9f4529d80b46..875970582f6f 100644 --- a/sw/source/uibase/uitest/uiobject.cxx +++ b/sw/source/uibase/uitest/uiobject.cxx @@ -44,14 +44,14 @@ StringMap SwEditWinUIObject::get_state() sal_uInt16 nPages = rWrtShell.GetPageCnt(); aMap["Pages"] = OUString::number(nPages); - aMap["StartWord"] = OUString::number(rWrtShell.IsStartWord()); - aMap["EndWord"] = OUString::number(rWrtShell.IsEndWord()); - aMap["StartSentence"] = OUString::number(rWrtShell.IsStartSentence()); - aMap["EndSentence"] = OUString::number(rWrtShell.IsEndSentence()); - aMap["StartPara"] = OUString::number(rWrtShell.IsSttPara()); - aMap["EndPara"] = OUString::number(rWrtShell.IsEndPara()); - aMap["StartDoc"] = OUString::number(rWrtShell.IsStartOfDoc()); - aMap["EndDoc"] = OUString::number(rWrtShell.IsEndOfDoc()); + aMap["StartWord"] = OUString::boolean(rWrtShell.IsStartWord()); + aMap["EndWord"] = OUString::boolean(rWrtShell.IsEndWord()); + aMap["StartSentence"] = OUString::boolean(rWrtShell.IsStartSentence()); + aMap["EndSentence"] = OUString::boolean(rWrtShell.IsEndSentence()); + aMap["StartPara"] = OUString::boolean(rWrtShell.IsSttPara()); + aMap["EndPara"] = OUString::boolean(rWrtShell.IsEndPara()); + aMap["StartDoc"] = OUString::boolean(rWrtShell.IsStartOfDoc()); + aMap["EndDoc"] = OUString::boolean(rWrtShell.IsEndOfDoc()); return aMap; } |