summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-04 15:23:49 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-04 17:01:12 +0100
commit45169c93d57acf066748c3ff93b45c919e209db7 (patch)
treec5363f9808b267a62804b7a1cc0c9a4496b0f4f2 /avmedia/source
parentc85da5656b3a188c0251c22070263b4de56f6a7c (diff)
Convert all Query/Put Value() to bool
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/framework/mediaitem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx
index f9f85eb1ee66..ceaac412bb2d 100644
--- a/avmedia/source/framework/mediaitem.cxx
+++ b/avmedia/source/framework/mediaitem.cxx
@@ -122,7 +122,7 @@ SfxItemPresentation MediaItem::GetPresentation( SfxItemPresentation,
//------------------------------------------------------------------------
-BOOL MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
+bool MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
{
uno::Sequence< uno::Any > aSeq( 9 );
@@ -143,10 +143,10 @@ BOOL MediaItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE ) const
//------------------------------------------------------------------------
-BOOL MediaItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
+bool MediaItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE )
{
uno::Sequence< uno::Any > aSeq;
- BOOL bRet = false;
+ bool bRet = false;
if( ( rVal >>= aSeq ) && ( aSeq.getLength() == 9 ) )
{