summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-23 11:22:45 +0200
committerNoel Grandin <noel@peralex.com>2014-04-24 10:53:16 +0200
commit65afee03aeb14a3296bbe9a5bc39716abe5fd189 (patch)
tree87ad33165b7be3c1dc79d73c6ce7f55b9876ef20 /sccomp
parentfda8ac2d174f8465beb68af34004fa8f23818c14 (diff)
sccomp: sal_Bool->bool
Change-Id: I9156ba8671348fd77b93921236827235775e1108
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/source/solver/SolverComponent.cxx10
-rw-r--r--sccomp/source/solver/SolverComponent.hxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/sccomp/source/solver/SolverComponent.cxx b/sccomp/source/solver/SolverComponent.cxx
index d84fbd4351b3..7b91a39c8f5a 100644
--- a/sccomp/source/solver/SolverComponent.cxx
+++ b/sccomp/source/solver/SolverComponent.cxx
@@ -96,13 +96,13 @@ double SolverComponent::GetValue( const uno::Reference<sheet::XSpreadsheetDocume
SolverComponent::SolverComponent() :
OPropertyContainer( GetBroadcastHelper() ),
- mbMaximize( sal_True ),
- mbNonNegative( sal_False ),
- mbInteger( sal_False ),
+ mbMaximize( true ),
+ mbNonNegative( false ),
+ mbInteger( false ),
mnTimeout( 100 ),
mnEpsilonLevel( 0 ),
- mbLimitBBDepth( sal_True ),
- mbSuccess( sal_False ),
+ mbLimitBBDepth( true ),
+ mbSuccess( false ),
mfResultValue( 0.0 )
{
// for XPropertySet implementation:
diff --git a/sccomp/source/solver/SolverComponent.hxx b/sccomp/source/solver/SolverComponent.hxx
index b0f9a24c39a8..73024e71d3e3 100644
--- a/sccomp/source/solver/SolverComponent.hxx
+++ b/sccomp/source/solver/SolverComponent.hxx
@@ -73,15 +73,15 @@ protected:
com::sun::star::table::CellAddress maObjective;
com::sun::star::uno::Sequence< com::sun::star::table::CellAddress > maVariables;
com::sun::star::uno::Sequence< com::sun::star::sheet::SolverConstraint > maConstraints;
- sal_Bool mbMaximize;
+ bool mbMaximize;
// set via XPropertySet
- sal_Bool mbNonNegative;
- sal_Bool mbInteger;
+ bool mbNonNegative;
+ bool mbInteger;
sal_Int32 mnTimeout;
sal_Int32 mnEpsilonLevel;
- sal_Bool mbLimitBBDepth;
+ bool mbLimitBBDepth;
// results
- sal_Bool mbSuccess;
+ bool mbSuccess;
double mfResultValue;
com::sun::star::uno::Sequence< double > maSolution;
OUString maStatus;