[Libreoffice-commits] core.git: 2 commits - sc/source
Tor Lillqvist
tml at collabora.com
Wed Mar 5 09:22:54 PST 2014
sc/source/ui/dbgui/dpgroupdlg.cxx | 6 +++---
sc/source/ui/inc/dpgroupdlg.hxx | 2 --
2 files changed, 3 insertions(+), 5 deletions(-)
New commits:
commit 85901343fd9f5075aba96101f7dc759cc61a25d2
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Mar 5 19:14:22 2014 +0200
WaE: sal_Bool vs. bool
Change-Id: I8d5a959fdca8f7deefffb0c3a0529d2e32595df4
diff --git a/sc/source/ui/dbgui/dpgroupdlg.cxx b/sc/source/ui/dbgui/dpgroupdlg.cxx
index b733340..03a9c63 100644
--- a/sc/source/ui/dbgui/dpgroupdlg.cxx
+++ b/sc/source/ui/dbgui/dpgroupdlg.cxx
@@ -230,8 +230,8 @@ ScDPDateGroupDlg::ScDPDateGroupDlg( Window* pParent,
for( size_t nIdx = 0 ; nIdx < nCount; ++nIdx )
mpLbUnits->InsertEntry( ScGlobal::GetRscString( nDatePartResIds[nIdx] ) );
- mpEdStart->SetShowDateCentury( sal_True );
- mpEdEnd->SetShowDateCentury( sal_True );
+ mpEdStart->SetShowDateCentury( true );
+ mpEdEnd->SetShowDateCentury( true );
maStartHelper.SetValue( rInfo.mbAutoStart, rInfo.mfStart );
maEndHelper.SetValue( rInfo.mbAutoEnd, rInfo.mfEnd );
@@ -278,7 +278,7 @@ ScDPDateGroupDlg::ScDPDateGroupDlg( Window* pParent,
ScDPNumGroupInfo ScDPDateGroupDlg::GetGroupInfo() const
{
ScDPNumGroupInfo aInfo;
- aInfo.mbEnable = sal_True;
+ aInfo.mbEnable = true;
aInfo.mbDateValues = mpRbNumDays->IsChecked();
aInfo.mbAutoStart = maStartHelper.IsAuto();
aInfo.mbAutoEnd = maEndHelper.IsAuto();
commit eadce168120506771aa01b83bef25fc325abcbe0
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Mar 5 19:12:58 2014 +0200
WaE: unused private fields
Change-Id: I56d280b896b9e676994750cb684fab23bdc7060f
diff --git a/sc/source/ui/inc/dpgroupdlg.hxx b/sc/source/ui/inc/dpgroupdlg.hxx
index 9ed7c7d..e4f2fcf 100644
--- a/sc/source/ui/inc/dpgroupdlg.hxx
+++ b/sc/source/ui/inc/dpgroupdlg.hxx
@@ -115,8 +115,6 @@ private:
ScDoubleField* mpEdEnd;
ScDoubleField* mpEdBy;
OKButton* mpBtnOk;
- CancelButton* mpBtnCancel;
- HelpButton* mpBtnHelp;
ScDPNumGroupEditHelper maStartHelper;
ScDPNumGroupEditHelper maEndHelper;
};
More information about the Libreoffice-commits
mailing list