diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-24 11:31:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-29 11:04:01 +0200 |
commit | 7e018afaf74ab118fe21d92edc9fb95ddea5d61b (patch) | |
tree | 740eb08b1a2841f35f68e8f6257d7abd46d09219 /avmedia | |
parent | fdo#55292 paragr. start. autocorr. with a single character (eg. ---A) (diff) | |
download | core-7e018afaf74ab118fe21d92edc9fb95ddea5d61b.tar.gz core-7e018afaf74ab118fe21d92edc9fb95ddea5d61b.zip |
simplify return argument of SfxPoolItem::GetPresentation
since all two of the actual call-sites only care about whether
it is a valid presentation or not, not what kind of presentation it is.
Change-Id: I75717c88878d37b2897741b0c833ff283b3fee59
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index 1c06ebcadf18..48901045e265 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -127,14 +127,14 @@ SfxPoolItem* MediaItem::Clone( SfxItemPool* ) const return new MediaItem( *this ); } -SfxItemPresentation MediaItem::GetPresentation( SfxItemPresentation, +bool MediaItem::GetPresentation( SfxItemPresentation, SfxMapUnit, SfxMapUnit, OUString& rText, const IntlWrapper * ) const { rText = OUString(); - return SFX_ITEM_PRESENTATION_NONE; + return false; } bool MediaItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 ) const |