diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:09:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:28:08 +0100 |
commit | 5ea58f534b9226ef8f5c9589066ce20e3c64e0d8 (patch) | |
tree | 2a2bbad144a56854b404510a9191845eb7646e40 /include/editeng/flditem.hxx | |
parent | d24134b6a2e6a557bfa17f521e18a01b17e24d98 (diff) |
bool improvements
Change-Id: Ic6488ac278cac2d1d7e240abff545f9ea0b8eafe
Diffstat (limited to 'include/editeng/flditem.hxx')
-rw-r--r-- | include/editeng/flditem.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index d7c8cdc02542..9853474c4dfb 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -56,7 +56,7 @@ public: virtual ~SvxFieldData(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; virtual MetaAction* createEndComment() const; @@ -136,7 +136,7 @@ public: static OUString GetFormatted( Date& rDate, SvxDateFormat eFormat, SvNumberFormatter& rFormatter, LanguageType eLanguage ); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; }; @@ -174,7 +174,7 @@ public: void SetFormat( SvxURLFormat eFmt ) { eFormat = eFmt; } virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; }; @@ -186,7 +186,7 @@ public: SvxPageField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; }; @@ -198,7 +198,7 @@ public: SvxPagesField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; class EDITENG_DLLPUBLIC SvxTimeField : public SvxFieldData @@ -208,7 +208,7 @@ public: SvxTimeField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; }; @@ -220,7 +220,7 @@ public: SvxFileField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; class EDITENG_DLLPUBLIC SvxTableField : public SvxFieldData @@ -235,7 +235,7 @@ public: int GetTab() const; virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; @@ -283,7 +283,7 @@ public: static OUString GetFormatted( Time& rTime, SvxTimeFormat eFormat, SvNumberFormatter& rFormatter, LanguageType eLanguage ); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; virtual MetaAction* createBeginComment() const; }; @@ -324,7 +324,7 @@ public: OUString GetFormatted() const; virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; @@ -372,7 +372,7 @@ public: OUString GetFormatted() const; virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; /** this field is used as a placeholder for a header&footer in impress. The actual @@ -384,7 +384,7 @@ public: SvxHeaderField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; /** this field is used as a placeholder for a header&footer in impress. The actual @@ -395,7 +395,7 @@ public: SV_DECL_PERSIST1( SvxFooterField, SvxFieldData, com::sun::star::text::textfield::Type::PRESENTATION_FOOTER ) SvxFooterField(); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; /** this field is used as a placeholder for a header&footer in impress. The actual @@ -409,7 +409,7 @@ public: static OUString GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rFormatter, LanguageType eLanguage ); virtual SvxFieldData* Clone() const; - virtual int operator==( const SvxFieldData& ) const; + virtual bool operator==( const SvxFieldData& ) const; }; |