diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-06 08:31:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:22 +0200 |
commit | ef61173187d99e75fd5ce0a70994325a17e2c21a (patch) | |
tree | 0de654b24126c031abe0ade6faeb0fc75feb51ee /include/svx | |
parent | 0277baf97670598c83009869fdcc326552a58fd0 (diff) |
svx: sal_Bool->bool
Change-Id: Idfffbcad1a51192c5ccad28a16c4e613060fc2dc
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdr/properties/attributeproperties.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdr/properties/captionproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/circleproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/connectorproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/customshapeproperties.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdr/properties/defaultproperties.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdr/properties/e3dcompoundproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/e3dproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/e3dsceneproperties.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdr/properties/emptyproperties.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdr/properties/graphicproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/groupproperties.hxx | 6 | ||||
-rw-r--r-- | include/svx/sdr/properties/measureproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/properties.hxx | 8 | ||||
-rw-r--r-- | include/svx/sdr/properties/rectangleproperties.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdr/properties/textproperties.hxx | 2 |
16 files changed, 26 insertions, 26 deletions
diff --git a/include/svx/sdr/properties/attributeproperties.hxx b/include/svx/sdr/properties/attributeproperties.hxx index 3309500871c3..00957837b3ca 100644 --- a/include/svx/sdr/properties/attributeproperties.hxx +++ b/include/svx/sdr/properties/attributeproperties.hxx @@ -34,7 +34,7 @@ namespace sdr class SVX_DLLPUBLIC AttributeProperties : public DefaultProperties, public SfxListener, public svl::StyleSheetUser { // add style sheet, do all the necessary handling - void ImpAddStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + void ImpAddStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // remove StyleSheet, do all the necessary handling void ImpRemoveStyleSheet(); @@ -66,7 +66,7 @@ namespace sdr virtual ~AttributeProperties(); // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // get the installed StyleSheet virtual SfxStyleSheet* GetStyleSheet() const; diff --git a/include/svx/sdr/properties/captionproperties.hxx b/include/svx/sdr/properties/captionproperties.hxx index 1ce6903d3da9..609546741c79 100644 --- a/include/svx/sdr/properties/captionproperties.hxx +++ b/include/svx/sdr/properties/captionproperties.hxx @@ -51,7 +51,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created diff --git a/include/svx/sdr/properties/circleproperties.hxx b/include/svx/sdr/properties/circleproperties.hxx index 4ac0dc5bfc63..63b95089a073 100644 --- a/include/svx/sdr/properties/circleproperties.hxx +++ b/include/svx/sdr/properties/circleproperties.hxx @@ -51,7 +51,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created diff --git a/include/svx/sdr/properties/connectorproperties.hxx b/include/svx/sdr/properties/connectorproperties.hxx index dbd3b49b52c5..3b86c026d161 100644 --- a/include/svx/sdr/properties/connectorproperties.hxx +++ b/include/svx/sdr/properties/connectorproperties.hxx @@ -51,7 +51,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); }; } // end of namespace properties } // end of namespace sdr diff --git a/include/svx/sdr/properties/customshapeproperties.hxx b/include/svx/sdr/properties/customshapeproperties.hxx index 14a558414b99..23a0181e7432 100644 --- a/include/svx/sdr/properties/customshapeproperties.hxx +++ b/include/svx/sdr/properties/customshapeproperties.hxx @@ -37,7 +37,7 @@ namespace sdr virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& rPool); // test changeability for a single item - virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; + virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; // react on ItemSet changes virtual void ItemSetChanged(const SfxItemSet& rSet); @@ -55,7 +55,7 @@ namespace sdr public: // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created diff --git a/include/svx/sdr/properties/defaultproperties.hxx b/include/svx/sdr/properties/defaultproperties.hxx index 4e372c2042c6..0ed222cea03e 100644 --- a/include/svx/sdr/properties/defaultproperties.hxx +++ b/include/svx/sdr/properties/defaultproperties.hxx @@ -39,7 +39,7 @@ namespace sdr virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& rPool); // test changeability for a single item - virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; + virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; // Do the ItemChange, may do special handling virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); @@ -83,7 +83,7 @@ namespace sdr virtual void SetObjectItemSet(const SfxItemSet& rSet); // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // get the installed StyleSheet virtual SfxStyleSheet* GetStyleSheet() const; diff --git a/include/svx/sdr/properties/e3dcompoundproperties.hxx b/include/svx/sdr/properties/e3dcompoundproperties.hxx index db04b384c1bc..8480e75791bf 100644 --- a/include/svx/sdr/properties/e3dcompoundproperties.hxx +++ b/include/svx/sdr/properties/e3dcompoundproperties.hxx @@ -59,7 +59,7 @@ namespace sdr virtual const SfxItemSet& GetMergedItemSet() const; // Set merged ItemSet. Normally, this maps to SetObjectItemSet(). - virtual void SetMergedItemSet(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); + virtual void SetMergedItemSet(const SfxItemSet& rSet, bool bClearAllItems = false); }; } // end of namespace properties } // end of namespace sdr diff --git a/include/svx/sdr/properties/e3dproperties.hxx b/include/svx/sdr/properties/e3dproperties.hxx index c2ba41c9bf2f..c55f40b53421 100644 --- a/include/svx/sdr/properties/e3dproperties.hxx +++ b/include/svx/sdr/properties/e3dproperties.hxx @@ -52,7 +52,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); }; } // end of namespace properties } // end of namespace sdr diff --git a/include/svx/sdr/properties/e3dsceneproperties.hxx b/include/svx/sdr/properties/e3dsceneproperties.hxx index 9d14a5ae8529..2767dd2b135e 100644 --- a/include/svx/sdr/properties/e3dsceneproperties.hxx +++ b/include/svx/sdr/properties/e3dsceneproperties.hxx @@ -58,7 +58,7 @@ namespace sdr virtual const SfxItemSet& GetMergedItemSet() const; // Set merged ItemSet. Normally, this maps to SetObjectItemSet(). - virtual void SetMergedItemSet(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); + virtual void SetMergedItemSet(const SfxItemSet& rSet, bool bClearAllItems = false); // Set a single item, iterate over hierarchies if necessary. virtual void SetMergedItem(const SfxPoolItem& rItem); @@ -67,7 +67,7 @@ namespace sdr virtual void ClearMergedItem(const sal_uInt16 nWhich = 0); // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // get the installed StyleSheet virtual SfxStyleSheet* GetStyleSheet() const; diff --git a/include/svx/sdr/properties/emptyproperties.hxx b/include/svx/sdr/properties/emptyproperties.hxx index 7498f0422b55..ce13b8307f8c 100644 --- a/include/svx/sdr/properties/emptyproperties.hxx +++ b/include/svx/sdr/properties/emptyproperties.hxx @@ -39,7 +39,7 @@ namespace sdr virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& rPool); // test changeability for a single item - virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; + virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; // Do the ItemChange, may do special handling virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); @@ -83,7 +83,7 @@ namespace sdr virtual void SetObjectItemSet(const SfxItemSet& rSet); // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // get the installed StyleSheet virtual SfxStyleSheet* GetStyleSheet() const; diff --git a/include/svx/sdr/properties/graphicproperties.hxx b/include/svx/sdr/properties/graphicproperties.hxx index 1232ec7e9f9b..b380fbeb8f0e 100644 --- a/include/svx/sdr/properties/graphicproperties.hxx +++ b/include/svx/sdr/properties/graphicproperties.hxx @@ -51,7 +51,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created diff --git a/include/svx/sdr/properties/groupproperties.hxx b/include/svx/sdr/properties/groupproperties.hxx index ee12bd2a0bfd..da0e15493ff3 100644 --- a/include/svx/sdr/properties/groupproperties.hxx +++ b/include/svx/sdr/properties/groupproperties.hxx @@ -35,7 +35,7 @@ namespace sdr virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& rPool); // test changeability for a single item - virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; + virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const; // Do the ItemChange, may do special handling virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0); @@ -70,7 +70,7 @@ namespace sdr virtual const SfxItemSet& GetMergedItemSet() const; // Set merged ItemSet. Normally, this maps to SetObjectItemSet(). - virtual void SetMergedItemSet(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); + virtual void SetMergedItemSet(const SfxItemSet& rSet, bool bClearAllItems = false); // set single item virtual void SetObjectItem(const SfxPoolItem& rItem); @@ -95,7 +95,7 @@ namespace sdr virtual void SetObjectItemSet(const SfxItemSet& rSet); // set a new StyleSheet - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // get the local StyleSheet virtual SfxStyleSheet* GetStyleSheet() const; diff --git a/include/svx/sdr/properties/measureproperties.hxx b/include/svx/sdr/properties/measureproperties.hxx index 234aca895e8d..038c99f63d69 100644 --- a/include/svx/sdr/properties/measureproperties.hxx +++ b/include/svx/sdr/properties/measureproperties.hxx @@ -51,7 +51,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created diff --git a/include/svx/sdr/properties/properties.hxx b/include/svx/sdr/properties/properties.hxx index e754d9e4c081..ef88aacd9727 100644 --- a/include/svx/sdr/properties/properties.hxx +++ b/include/svx/sdr/properties/properties.hxx @@ -66,7 +66,7 @@ namespace sdr // Test changeability for a single item. If a implementation wants to prevent // changing an item this method may be overloaded. - virtual sal_Bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const = 0; + virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const = 0; // Do the internal ItemChange. If only nWhich is given, the item needs to be cleared. // Also needs to handle if nWhich and pNewItem is 0, which means to clear all items. @@ -110,7 +110,7 @@ namespace sdr virtual void SetObjectItemSet(const SfxItemSet& rSet) = 0; // Set merged ItemSet. Normally, this maps to SetObjectItemSet(). - virtual void SetMergedItemSet(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); + virtual void SetMergedItemSet(const SfxItemSet& rSet, bool bClearAllItems = false); // Set single item at the local ItemSet. Uses AllowItemChange(), // ItemChange(), PostItemChange() and ItemSetChanged() calls. @@ -139,7 +139,7 @@ namespace sdr // Set a new StyleSheet. Registers as listener at the StyleSheet to get knowledge // of StyleSheet changes. - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr) = 0; + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) = 0; // Get the installed StyleSheet. virtual SfxStyleSheet* GetStyleSheet() const = 0; @@ -164,7 +164,7 @@ namespace sdr // will be changed these broadcasts will no longer be needed. //void SetItemAndBroadcast(const SfxPoolItem& rItem); //void ClearItemAndBroadcast(const sal_uInt16 nWhich = 0); - void SetMergedItemSetAndBroadcast(const SfxItemSet& rSet, sal_Bool bClearAllItems = sal_False); + void SetMergedItemSetAndBroadcast(const SfxItemSet& rSet, bool bClearAllItems = false); // Just a convenient shortcut for GetObjectItemSet().Get(nWhich). const SfxPoolItem& GetItem(const sal_uInt16 nWhich) const; diff --git a/include/svx/sdr/properties/rectangleproperties.hxx b/include/svx/sdr/properties/rectangleproperties.hxx index aa464546c7e4..f53b34c5dc65 100644 --- a/include/svx/sdr/properties/rectangleproperties.hxx +++ b/include/svx/sdr/properties/rectangleproperties.hxx @@ -49,7 +49,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); }; } // end of namespace properties } // end of namespace sdr diff --git a/include/svx/sdr/properties/textproperties.hxx b/include/svx/sdr/properties/textproperties.hxx index 0894af0d6d80..78de4949642a 100644 --- a/include/svx/sdr/properties/textproperties.hxx +++ b/include/svx/sdr/properties/textproperties.hxx @@ -63,7 +63,7 @@ namespace sdr virtual BaseProperties& Clone(SdrObject& rObj) const; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr); + virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr); // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created |