[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Jun 13 13:27:00 PDT 2011
sc/source/ui/optdlg/tpdefaults.cxx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 812b79aec82a02608f1d470466038214ed78b10d
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Mon Jun 13 16:24:15 2011 -0400
A little code style inconsistencies.
diff --git a/sc/source/ui/optdlg/tpdefaults.cxx b/sc/source/ui/optdlg/tpdefaults.cxx
index bd97041..2436507 100644
--- a/sc/source/ui/optdlg/tpdefaults.cxx
+++ b/sc/source/ui/optdlg/tpdefaults.cxx
@@ -63,18 +63,18 @@ sal_Bool ScTpDefaultsOptions::FillItemSet(SfxItemSet &rCoreAttrs)
{
SCTAB nTabCount = static_cast<SCTAB>(aEdNSheets.GetValue());
- if ( mpLocalOptions->GetInitTabCount() != nTabCount)
- {
- mpLocalOptions->SetInitTabCount( nTabCount );
+ if (mpLocalOptions->GetInitTabCount() != nTabCount)
+ {
+ mpLocalOptions->SetInitTabCount( nTabCount );
- rCoreAttrs.Put(ScTpCalcItem(GetWhich(SID_SCDOCOPTIONS), *mpLocalOptions));
- return sal_True;
- }
+ rCoreAttrs.Put(ScTpCalcItem(GetWhich(SID_SCDOCOPTIONS), *mpLocalOptions));
+ return sal_True;
+ }
else
- return sal_False;
+ return sal_False;
}
-void ScTpDefaultsOptions::Reset(const SfxItemSet &/*rCoreAttrs*/)
+void ScTpDefaultsOptions::Reset(const SfxItemSet& /*rCoreAttrs*/)
{
aEdNSheets.SetValue( static_cast<sal_uInt16>(mpLocalOptions->GetInitTabCount()) );
}
More information about the Libreoffice-commits
mailing list