summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/attributeproperties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-06 08:31:01 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:22 +0200
commitef61173187d99e75fd5ce0a70994325a17e2c21a (patch)
tree0de654b24126c031abe0ade6faeb0fc75feb51ee /svx/source/sdr/properties/attributeproperties.cxx
parent0277baf97670598c83009869fdcc326552a58fd0 (diff)
svx: sal_Bool->bool
Change-Id: Idfffbcad1a51192c5ccad28a16c4e613060fc2dc
Diffstat (limited to 'svx/source/sdr/properties/attributeproperties.cxx')
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx
index 484a1d1e475a..f173f8b8a2d9 100644
--- a/svx/source/sdr/properties/attributeproperties.cxx
+++ b/svx/source/sdr/properties/attributeproperties.cxx
@@ -49,7 +49,7 @@ namespace sdr
{
namespace properties
{
- void AttributeProperties::ImpAddStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr)
+ void AttributeProperties::ImpAddStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr)
{
// test if old StyleSheet is cleared, else it would be lost
// after this method -> memory leak (!)
@@ -137,7 +137,7 @@ namespace sdr
{
if(rProps.GetStyleSheet())
{
- ImpAddStyleSheet(rProps.GetStyleSheet(), sal_True);
+ ImpAddStyleSheet(rProps.GetStyleSheet(), true);
}
}
@@ -232,7 +232,7 @@ namespace sdr
}
}
- void AttributeProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr)
+ void AttributeProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr)
{
ImpRemoveStyleSheet();
ImpAddStyleSheet(pNewStyleSheet, bDontRemoveHardAttr);
@@ -279,7 +279,7 @@ namespace sdr
if(pStyleSheetPool == pDestPool)
{
// just re-set stylesheet
- ImpAddStyleSheet(pStySheet, sal_True);
+ ImpAddStyleSheet(pStySheet, true);
}
else
{
@@ -300,7 +300,7 @@ namespace sdr
// document. Use the default as a fallback.
pNewStyleSheet = pNewModel->GetDefaultStyleSheet();
}
- ImpAddStyleSheet(pNewStyleSheet, sal_True);
+ ImpAddStyleSheet(pNewStyleSheet, true);
}
}
@@ -407,7 +407,7 @@ namespace sdr
if(GetStyleSheet() != pForThisObject)
{
ImpRemoveStyleSheet();
- ImpAddStyleSheet((SfxStyleSheet*)pForThisObject, sal_True);
+ ImpAddStyleSheet((SfxStyleSheet*)pForThisObject, true);
}
}
else
@@ -471,7 +471,7 @@ namespace sdr
if(!GetStyleSheet() && pNewModel && !pNewModel->IsLoading())
{
GetObjectItemSet(); // #118414 force ItemSet to allow style to be set
- SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True);
+ SetStyleSheet(pNewModel->GetDefaultStyleSheet(), true);
}
}
}
@@ -574,7 +574,7 @@ namespace sdr
if(pNewStSh)
{
- ImpAddStyleSheet(pNewStSh, sal_True);
+ ImpAddStyleSheet(pNewStSh, true);
}
break;