diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:42:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-25 16:42:02 +0200 |
commit | 1f0e049d13260e17ec91ead172ae471892e9e059 (patch) | |
tree | ad61dfc8c4700fb3a75eced057054b4c74bd7f62 | |
parent | 9788477e3e156edf454fccefb69da173e8e9fea6 (diff) |
Some more sal_Bool -> bool
Change-Id: I1ddb99cf9b401d11e0701974646e1e22739c14ee
-rw-r--r-- | sc/source/ui/unoobj/fielduno.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/vba/vbasheetobject.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index 08b02223b497..74e351c0fd09 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -857,7 +857,7 @@ void ScEditFieldObj::setPropertyValueDateTime(const OUString& rName, const uno:: } else if (rName == SC_UNONAME_ISFIXED) { - SvxDateType eType = rVal.get<sal_Bool>() ? SVXDATETYPE_FIX : SVXDATETYPE_VAR; + SvxDateType eType = rVal.get<bool>() ? SVXDATETYPE_FIX : SVXDATETYPE_VAR; p->SetType(eType); } else if (rName == SC_UNONAME_DATETIME) @@ -892,7 +892,7 @@ void ScEditFieldObj::setPropertyValueDateTime(const OUString& rName, const uno:: } else if (rName == SC_UNONAME_ISFIXED) { - SvxTimeType eType = rVal.get<sal_Bool>() ? SVXTIMETYPE_FIX : SVXTIMETYPE_VAR; + SvxTimeType eType = rVal.get<bool>() ? SVXTIMETYPE_FIX : SVXTIMETYPE_VAR; p->SetType(eType); } else if (rName == SC_UNONAME_DATETIME) @@ -917,9 +917,9 @@ void ScEditFieldObj::setPropertyValueDateTime(const OUString& rName, const uno:: else { if (rName == SC_UNONAME_ISDATE) - mbIsDate = rVal.get<sal_Bool>(); + mbIsDate = rVal.get<bool>(); else if (rName == SC_UNONAME_ISFIXED) - mbIsFixed = rVal.get<sal_Bool>(); + mbIsFixed = rVal.get<bool>(); else if (rName == SC_UNONAME_DATETIME) maDateTime = rVal.get<util::DateTime>(); else if (rName == SC_UNONAME_NUMFMT) diff --git a/sc/source/ui/vba/vbasheetobject.cxx b/sc/source/ui/vba/vbasheetobject.cxx index aaca3826caab..889754fea7b4 100644 --- a/sc/source/ui/vba/vbasheetobject.cxx +++ b/sc/source/ui/vba/vbasheetobject.cxx @@ -379,7 +379,7 @@ void SAL_CALL ScVbaControlObjectBase::setOnAction( const OUString& rMacroName ) sal_Bool SAL_CALL ScVbaControlObjectBase::getPrintObject() throw (uno::RuntimeException, std::exception) { - return mxControlProps->getPropertyValue( "Printable" ).get< sal_Bool >(); + return mxControlProps->getPropertyValue( "Printable" ).get<bool>(); } void SAL_CALL ScVbaControlObjectBase::setPrintObject( sal_Bool bPrintObject ) throw (uno::RuntimeException, std::exception) |