summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-25 14:20:18 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:57 +0200
commit80ef0dfedcbba5a0c2cb8de409cc24200191fab8 (patch)
tree4799ef80c36dabd4adb50da98d5a9baeff237b8a /cui
parentb5e11641a7cec634c603213869a3475b1e01084e (diff)
svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx8
-rw-r--r--cui/source/tabpages/tparea.cxx4
-rw-r--r--cui/source/tabpages/transfrm.cxx14
3 files changed, 13 insertions, 13 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 84aa0b2ec904..0b9a01cc3d54 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -550,10 +550,10 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(Window* pParent, const SfxItemSet& rInA
setOptimalRelWidth();
FieldUnit eDlgUnit = GetModuleFieldUnit( rInAttrs );
- SetFieldUnit( *m_pHoriByMF, eDlgUnit, sal_True );
- SetFieldUnit( *m_pVertByMF, eDlgUnit, sal_True );
- SetFieldUnit( *m_pWidthMF , eDlgUnit, sal_True );
- SetFieldUnit( *m_pHeightMF, eDlgUnit, sal_True );
+ SetFieldUnit( *m_pHoriByMF, eDlgUnit, true );
+ SetFieldUnit( *m_pVertByMF, eDlgUnit, true );
+ SetFieldUnit( *m_pWidthMF , eDlgUnit, true );
+ SetFieldUnit( *m_pHeightMF, eDlgUnit, true );
SetExchangeSupport();
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 8fdda34f69c7..488c8e1ddf93 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -687,8 +687,8 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
break;
default: ;//prevent warning
}
- SetFieldUnit( *m_pMtrFldXSize, eFUnit, sal_True );
- SetFieldUnit( *m_pMtrFldYSize, eFUnit, sal_True );
+ SetFieldUnit( *m_pMtrFldXSize, eFUnit, true );
+ SetFieldUnit( *m_pMtrFldYSize, eFUnit, true );
// get PoolUnit
SfxItemPool* pPool = rOutAttrs.GetPool();
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index d74790a38847..bdaee0c24cc7 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -229,8 +229,8 @@ void SvxAngleTabPage::Construct()
{
DBG_ASSERT(pView, "No valid view (!)");
eDlgUnit = GetModuleFieldUnit(GetItemSet());
- SetFieldUnit(*m_pMtrPosX, eDlgUnit, sal_True);
- SetFieldUnit(*m_pMtrPosY, eDlgUnit, sal_True);
+ SetFieldUnit(*m_pMtrPosX, eDlgUnit, true);
+ SetFieldUnit(*m_pMtrPosY, eDlgUnit, true);
if(FUNIT_MILE == eDlgUnit || FUNIT_KM == eDlgUnit)
{
@@ -465,7 +465,7 @@ void SvxSlantTabPage::Construct()
// get the range
DBG_ASSERT(pView, "no valid view (!)");
eDlgUnit = GetModuleFieldUnit(GetItemSet());
- SetFieldUnit(*m_pMtrRadius, eDlgUnit, sal_True);
+ SetFieldUnit(*m_pMtrRadius, eDlgUnit, true);
{ // #i75273#
Rectangle aTempRect(pView->GetAllMarkedRect());
@@ -689,10 +689,10 @@ void SvxPositionSizeTabPage::Construct()
// get range and work area
DBG_ASSERT( mpView, "no valid view (!)" );
meDlgUnit = GetModuleFieldUnit( GetItemSet() );
- SetFieldUnit( *m_pMtrPosX, meDlgUnit, sal_True );
- SetFieldUnit( *m_pMtrPosY, meDlgUnit, sal_True );
- SetFieldUnit( *m_pMtrWidth, meDlgUnit, sal_True );
- SetFieldUnit( *m_pMtrHeight, meDlgUnit, sal_True );
+ SetFieldUnit( *m_pMtrPosX, meDlgUnit, true );
+ SetFieldUnit( *m_pMtrPosY, meDlgUnit, true );
+ SetFieldUnit( *m_pMtrWidth, meDlgUnit, true );
+ SetFieldUnit( *m_pMtrHeight, meDlgUnit, true );
if(FUNIT_MILE == meDlgUnit || FUNIT_KM == meDlgUnit)
{