diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:01:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:51 +0100 |
commit | d1043892df97078546bf9c5ac697bcb65b457cc9 (patch) | |
tree | 0219c41b945daaf4ce8e4b6c40b2c2b33a4c9536 /avmedia | |
parent | operator ==, != should return bool (diff) | |
download | core-d1043892df97078546bf9c5ac697bcb65b457cc9.tar.gz core-d1043892df97078546bf9c5ac697bcb65b457cc9.zip |
SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too.
Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index b57abfecb9ce..f8e0f434e7f0 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -114,7 +114,7 @@ MediaItem::~MediaItem() // ------------------------------------------------------------------------------ -int MediaItem::operator==( const SfxPoolItem& rItem ) const +bool MediaItem::operator==( const SfxPoolItem& rItem ) const { assert( SfxPoolItem::operator==(rItem)); MediaItem const& rOther(static_cast< const MediaItem& >(rItem)); |