[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Tue Jul 1 06:29:07 PDT 2014
sw/source/ui/chrdlg/pardlg.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 363e39d63621b6c7017854ca5bb2f7668bb35846
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jul 1 15:28:31 2014 +0200
loplugin:literaltoboolconversion
Change-Id: Ic598101a768874d8f72c7fedaf26adb955d99669
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index c805b8b..9be1248 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -225,11 +225,11 @@ void SwParaDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage)
{
// Seitenumbruch nur, wenn der Cursor im Body-Bereich und nicht in
// einer Tabelle steht
- const sal_uInt16 eType = rSh.GetFrmType(0,sal_True);
+ const sal_uInt16 eType = rSh.GetFrmType(0,true);
if(!(FRMTYPE_BODY & eType) ||
rSh.GetSelectionType() & nsSelectionType::SEL_TBL)
{
- aSet.Put(SfxBoolItem(SID_DISABLE_SVXEXTPARAGRAPHTABPAGE_PAGEBREAK,sal_True));
+ aSet.Put(SfxBoolItem(SID_DISABLE_SVXEXTPARAGRAPHTABPAGE_PAGEBREAK,true));
rPage.PageCreated(aSet);
}
}
More information about the Libreoffice-commits
mailing list