summaryrefslogtreecommitdiffstats
path: root/include/editeng/unoedprx.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-28 09:47:38 +0200
committerNoel Grandin <noel@peralex.com>2014-03-03 08:59:36 +0200
commit0786a72308f7c3a47e052b00616f28ab03bc6b32 (patch)
treec6c027ed60dc464f429d05f017504e4176ec0460 /include/editeng/unoedprx.hxx
parentremove unused code oox::AttributeConversion::decodeDouble (diff)
downloadcore-0786a72308f7c3a47e052b00616f28ab03bc6b32.tar.gz
core-0786a72308f7c3a47e052b00616f28ab03bc6b32.zip
editeng: sal_Bool->bool
this had to be done in conjunction with changing include/svx/unoshtxt.hxx because there are two virtual methods "bool IsValid" in two different base classes and some subclasses are overriding both base-class methods at once. Change-Id: Ib43fc5000b443057caaa513b4efeaa6fd16e4260
Diffstat (limited to 'include/editeng/unoedprx.hxx')
-rw-r--r--include/editeng/unoedprx.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx
index 95624bd8d136..e716dc92c952 100644
--- a/include/editeng/unoedprx.hxx
+++ b/include/editeng/unoedprx.hxx
@@ -39,7 +39,7 @@ public:
virtual SfxItemSet GetAttribs( const ESelection& rSel, sal_Bool bOnlyHardAttrib = 0 ) const;
virtual SfxItemSet GetParaAttribs( sal_Int32 nPara ) const;
virtual void SetParaAttribs( sal_Int32 nPara, const SfxItemSet& rSet );
- virtual void RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich );
+ virtual void RemoveAttribs( const ESelection& rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich );
virtual void GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& rList ) const;
virtual sal_uInt16 CalcEditEngineIndex( sal_Int32 nPara, sal_Int32 nLogicalIndex );
@@ -57,7 +57,7 @@ public:
virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rpTxtColor, Color*& rpFldColor );
virtual void FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos );
- virtual sal_Bool IsValid() const;
+ virtual bool IsValid() const;
virtual LanguageType GetLanguage( sal_Int32, sal_Int32 ) const;
virtual sal_Int32 GetFieldCount( sal_Int32 nPara ) const;
@@ -67,21 +67,21 @@ public:
virtual Rectangle GetParaBounds( sal_Int32 nPara ) const;
virtual MapMode GetMapMode() const;
virtual OutputDevice* GetRefDevice() const;
- virtual sal_Bool GetIndexAtPoint( const Point&, sal_Int32& nPara, sal_Int32& nIndex ) const;
- virtual sal_Bool GetWordIndices( sal_Int32 nPara, sal_Int32 nIndex, sal_Int32& nStart, sal_Int32& nEnd ) const;
+ virtual bool GetIndexAtPoint( const Point&, sal_Int32& nPara, sal_Int32& nIndex ) const;
+ virtual bool GetWordIndices( sal_Int32 nPara, sal_Int32 nIndex, sal_Int32& nStart, sal_Int32& nEnd ) const;
virtual bool GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nEndIndex, sal_Int32 nPara, sal_Int32 nIndex, bool bInCell = false ) const;
virtual sal_Int32 GetLineCount( sal_Int32 nPara ) const;
virtual sal_Int32 GetLineLen( sal_Int32 nPara, sal_Int32 nLine ) const;
- virtual void SetUpdateModeForAcc( sal_Bool bUp);
- virtual sal_Bool GetUpdateModeForAcc() const;
+ virtual void SetUpdateModeForAcc( bool bUp);
+ virtual bool GetUpdateModeForAcc() const;
virtual void GetLineBoundaries( /*out*/sal_Int32 &rStart, /*out*/sal_Int32 &rEnd, sal_Int32 nParagraph, sal_Int32 nLine ) const;
virtual sal_Int32 GetLineNumberAtIndex( sal_Int32 nPara, sal_Int32 nIndex ) const;
- virtual sal_Bool Delete( const ESelection& );
- virtual sal_Bool InsertText( const OUString&, const ESelection& );
- virtual sal_Bool QuickFormatDoc( sal_Bool bFull=sal_False );
+ virtual bool Delete( const ESelection& );
+ virtual bool InsertText( const OUString&, const ESelection& );
+ virtual bool QuickFormatDoc( bool bFull = false );
virtual sal_Int16 GetDepth( sal_Int32 nPara ) const;
- virtual sal_Bool SetDepth( sal_Int32 nPara, sal_Int16 nNewDepth );
+ virtual bool SetDepth( sal_Int32 nPara, sal_Int16 nNewDepth );
virtual const SfxItemSet* GetEmptyItemSetPtr();
@@ -93,9 +93,9 @@ public:
//XTextCopy
virtual void CopyText(const SvxTextForwarder& rSource);
- void SetForwarder( SvxTextForwarder& );
- sal_Bool HaveImageBullet( sal_Int32 nPara ) const;
- sal_Bool HaveTextBullet( sal_Int32 nPara ) const;
+ void SetForwarder( SvxTextForwarder& );
+ bool HaveImageBullet( sal_Int32 nPara ) const;
+ bool HaveTextBullet( sal_Int32 nPara ) const;
/** Query whether all text in given selection is editable
@@ -103,7 +103,7 @@ public:
be changed, and sal_False if e.g. a field or a bullet is
contained therein.
*/
- sal_Bool IsEditable( const ESelection& rSelection );
+ bool IsEditable( const ESelection& rSelection );
private:
SvxTextForwarder* mpTextForwarder;
@@ -117,7 +117,7 @@ public:
virtual ~SvxAccessibleTextEditViewAdapter();
// SvxViewForwarder interface
- virtual sal_Bool IsValid() const;
+ virtual bool IsValid() const;
virtual Rectangle GetVisArea() const;
virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;