summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/alpha.hxx2
-rw-r--r--include/vcl/animate.hxx2
-rw-r--r--include/vcl/cursor.hxx2
-rw-r--r--include/vcl/gdimtf.hxx1
-rw-r--r--include/vcl/hatch.hxx1
-rw-r--r--include/vcl/image.hxx1
-rw-r--r--include/vcl/inputctx.hxx2
-rw-r--r--include/vcl/settings.hxx2
-rw-r--r--include/vcl/textrectinfo.hxx2
-rw-r--r--include/vcl/txtattr.hxx2
10 files changed, 17 insertions, 0 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx
index 1bc67b2c415a..9b7e6b44a6a3 100644
--- a/include/vcl/alpha.hxx
+++ b/include/vcl/alpha.hxx
@@ -40,6 +40,8 @@ public:
AlphaMask& operator=( const Bitmap& rBitmap );
AlphaMask& operator=( const AlphaMask& rAlphaMask ) { return static_cast<AlphaMask&>( Bitmap::operator=( rAlphaMask ) ); }
bool operator!() const { return Bitmap::operator!(); }
+ bool operator==( const AlphaMask& rAlphaMask ) const { return Bitmap::operator==( rAlphaMask ); }
+ bool operator!=( const AlphaMask& rAlphaMask ) const { return Bitmap::operator!=( rAlphaMask ); }
void SetPrefMapMode( const MapMode& rMapMode ) { Bitmap::SetPrefMapMode( rMapMode ); }
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 74d57088bcc4..9b3856aec6e8 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -102,6 +102,8 @@ public:
Animation& operator=( const Animation& rAnimation );
bool operator==( const Animation& rAnimation ) const;
+ bool operator!=( const Animation& rAnimation ) const
+ { return !(*this==rAnimation); }
void Clear();
diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx
index 927f60cf5fc1..038e18f5b2c7 100644
--- a/include/vcl/cursor.hxx
+++ b/include/vcl/cursor.hxx
@@ -91,6 +91,8 @@ public:
Cursor& operator=( const Cursor& rCursor );
bool operator==( const Cursor& rCursor ) const;
+ bool operator!=( const Cursor& rCursor ) const
+ { return !(Cursor::operator==( rCursor )); }
private:
void ImplRestore();
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index 88bc38df2d83..6875a5074ca4 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -117,6 +117,7 @@ public:
GDIMetaFile& operator=( const GDIMetaFile& rMtf );
bool operator==( const GDIMetaFile& rMtf ) const;
+ bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); }
void Clear();
bool Mirror( BmpMirrorFlags nMirrorFlags );
diff --git a/include/vcl/hatch.hxx b/include/vcl/hatch.hxx
index 9a81006085ae..935ea9ac6e06 100644
--- a/include/vcl/hatch.hxx
+++ b/include/vcl/hatch.hxx
@@ -66,6 +66,7 @@ public:
Hatch& operator=( const Hatch& rHatch );
bool operator==( const Hatch& rHatch ) const;
+ bool operator!=( const Hatch& rHatch ) const { return !(Hatch::operator==( rHatch ) ); }
HatchStyle GetStyle() const { return mpImplHatch->meStyle; }
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index f63634f0086a..e5c045feeccf 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -124,6 +124,7 @@ public:
ImageList& operator=( const ImageList& rImageList );
bool operator==( const ImageList& rImageList ) const;
+ bool operator!=( const ImageList& rImageList ) const { return !(ImageList::operator==( rImageList )); }
private:
diff --git a/include/vcl/inputctx.hxx b/include/vcl/inputctx.hxx
index c2e0f172265e..d1f3f9ff3f5b 100644
--- a/include/vcl/inputctx.hxx
+++ b/include/vcl/inputctx.hxx
@@ -68,6 +68,8 @@ public:
InputContext& operator=( const InputContext& rInputContext );
bool operator==( const InputContext& rInputContext ) const;
+ bool operator!=( const InputContext& rInputContext ) const
+ { return !(InputContext::operator==( rInputContext )); }
};
inline InputContext& InputContext::operator=( const InputContext& rInputContext )
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index c911c5d93d17..46de94d538f9 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -671,6 +671,7 @@ public:
sal_uLong GetBalloonDelay() const;
bool operator ==( const HelpSettings& rSet ) const;
+ bool operator !=( const HelpSettings& rSet ) const;
};
@@ -728,6 +729,7 @@ public:
AllSettingsFlags GetChangeFlags( const AllSettings& rSettings ) const;
bool operator ==( const AllSettings& rSet ) const;
+ bool operator !=( const AllSettings& rSet ) const;
static void LocaleSettingsChanged( sal_uInt32 nHint );
SvtSysLocale& GetSysLocale();
};
diff --git a/include/vcl/textrectinfo.hxx b/include/vcl/textrectinfo.hxx
index b5dcf561f132..8b98e1a37c99 100644
--- a/include/vcl/textrectinfo.hxx
+++ b/include/vcl/textrectinfo.hxx
@@ -41,6 +41,8 @@ public:
{ return ((mnMaxWidth == rInfo.mnMaxWidth) &&
(mnLineCount == rInfo.mnLineCount) &&
(mbEllipsis == rInfo.mbEllipsis)); }
+ bool operator !=( const TextRectInfo& rInfo ) const
+ { return !(TextRectInfo::operator==( rInfo )); }
};
inline TextRectInfo::TextRectInfo()
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx
index 3dcb28fd4a4a..43a6adc9a65d 100644
--- a/include/vcl/txtattr.hxx
+++ b/include/vcl/txtattr.hxx
@@ -54,6 +54,8 @@ public:
virtual TextAttrib* Clone() const = 0;
virtual bool operator==( const TextAttrib& rAttr ) const = 0;
+ bool operator!=( const TextAttrib& rAttr ) const
+ { return !(*this == rAttr ); }
};