summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/fileobj.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:23:41 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 16:48:35 -0500
commitbefcf7910f8fe55b4f208a778aefb3faa11b505e (patch)
tree182d872e225cdf0a42970fa6d158a3ad1d1d8504 /sfx2/source/appl/fileobj.cxx
parenta6be4aff9ff165a3f6ed4fed8c19c26e4f952a58 (diff)
targeted string re-work
Change-Id: I103e7171a5a523c388af14ec453299990c99c8c1
Diffstat (limited to 'sfx2/source/appl/fileobj.cxx')
-rw-r--r--sfx2/source/appl/fileobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index d0fe61ebe5f3..ae648c1c877e 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -402,7 +402,7 @@ String impl_getFilter( const String& _rURL )
{
css::uno::Reference< ::com::sun::star::document::XTypeDetection > xTypeDetection(
::comphelper::getProcessServiceFactory()->createInstance(
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.document.TypeDetection")) ),
+ ::rtl::OUString("com.sun.star.document.TypeDetection") ),
css::uno::UNO_QUERY );
if ( xTypeDetection.is() )
{
@@ -419,7 +419,7 @@ String impl_getFilter( const String& _rURL )
{
::comphelper::SequenceAsHashMap lTypeProps( xTypeCont->getByName( sType ) );
sFilter = lTypeProps.getUnpackedValueOrDefault(
- ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PreferredFilter")), ::rtl::OUString() );
+ ::rtl::OUString("PreferredFilter"), ::rtl::OUString() );
}
}
}