summaryrefslogtreecommitdiff
path: root/avmedia/source/framework
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:33:55 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:48:35 -0500
commit166ab674606cca5829c7b7ab3e58b25e3ce838fe (patch)
treec73153a16f44674a0a92533bfe5e77b466bbaa0b /avmedia/source/framework
parent542aa80d4583ecd0aaec2111236ae418b780deb0 (diff)
targeted string re-work
Change-Id: Iece38bedf1f2380f8ecf3c6aef1e92688ed026db
Diffstat (limited to 'avmedia/source/framework')
-rw-r--r--avmedia/source/framework/soundhandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 4c8a502e3995..14f17bbf936e 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -159,7 +159,7 @@ css::uno::Sequence< css::uno::Type > SAL_CALL SoundHandler::getTypes() throw( cs
}
#define DECLARE_ASCII( SASCIIVALUE ) \
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SASCIIVALUE ) )
+ ::rtl::OUString( SASCIIVALUE )
#define IMPLEMENTATIONNAME_SOUNDHANDLER DECLARE_ASCII("com.sun.star.comp.framework.SoundHandler")
#define SERVICENAME_CONTENTHANDLER DECLARE_ASCII("com.sun.star.frame.ContentHandler")
@@ -423,7 +423,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
// I think we can the following ones:
// a) look for given extension of url to map our type decision HARD CODED!!!
// b) return preferred type every time... it's easy :-)
- sTypeName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("wav_Wave_Audio_File"));
+ sTypeName = ::rtl::OUString("wav_Wave_Audio_File");
aDescriptor[::comphelper::MediaDescriptor::PROP_TYPENAME()] <<= sTypeName;
aDescriptor >> lDescriptor;
}