diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 18:17:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-20 18:17:59 +0200 |
commit | 978e7b03f8c966ec23b6781d67f612e4665a09f7 (patch) | |
tree | 9de19209d534abf19baf6fd037620c4dbf12cf1b /sd | |
parent | 7dddccdcec91d8136d95469f4e607ce0829bde65 (diff) |
This code unlikely wants conversion from UNO Bool or Char Anys
...which would be the main difference with convertPropertyValue, in addition to throwing an
exception upon failure that would be caught directly by the surrounding try-catch block
Change-Id: I960e23b797c71be655c4059125effade84d0630c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptexsoundcollection.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptexsoundcollection.cxx b/sd/source/filter/eppt/pptexsoundcollection.cxx index 5475c5ea175c..2027ff3dd58c 100644 --- a/sd/source/filter/eppt/pptexsoundcollection.cxx +++ b/sd/source/filter/eppt/pptexsoundcollection.cxx @@ -23,7 +23,6 @@ #include <tools/urlobj.hxx> #include <ucbhelper/content.hxx> #include <comphelper/processfactory.hxx> -#include <cppuhelper/proptypehlp.hxx> #include <unotools/ucbstreamhelper.hxx> namespace ppt @@ -39,7 +38,7 @@ ExSoundEntry::ExSoundEntry(const OUString& rString) css::uno::Reference< css::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() ); sal_Int64 nVal = 0; - ::cppu::convertPropertyValue( nVal, aCnt.getPropertyValue("Size") ); + aCnt.getPropertyValue("Size") >>= nVal; nFileSize = (sal_uInt32)nVal; } catch( css::uno::Exception& ) |