diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 09:48:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 10:03:52 +0100 |
commit | 47debe4f1b1024095651355797150507a1d66a6f (patch) | |
tree | b6df8e1e7cacc25f69f1fc810ecdb74037f828fe /ucb | |
parent | 36398245327a03d8228cf0a2b093ae5e689d2a26 (diff) |
ucb: Use appropriate OUString functions on string constants
Change-Id: I29c99157e9698e4af1d42a5c708cf4ec4753cf34
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/gio/gio_content.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/gio/gio_provider.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 2eb2219183eb..d821e6b90fa7 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -1146,13 +1146,13 @@ uno::Sequence< ucb::ContentInfo > Content::queryCreatableContentsInfo( beans::PropertyAttribute::MAYBEVOID | beans::PropertyAttribute::BOUND ); // file - seq[0].Type = OUString( GIO_FILE_TYPE ); + seq[0].Type = GIO_FILE_TYPE; seq[0].Attributes = ( ucb::ContentInfoAttribute::INSERT_WITH_INPUTSTREAM | ucb::ContentInfoAttribute::KIND_DOCUMENT ); seq[0].Properties = props; // folder - seq[1].Type = OUString( GIO_FOLDER_TYPE ); + seq[1].Type = GIO_FOLDER_TYPE; seq[1].Attributes = ucb::ContentInfoAttribute::KIND_FOLDER; seq[1].Properties = props; diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index ce8654fcc8d3..acc8f1e14325 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -105,7 +105,7 @@ XTYPEPROVIDER_IMPL_3( ContentProvider, XSERVICEINFO_IMPL_1_CTX( ContentProvider, OUString( "com.sun.star.comp.GIOContentProvider" ), - OUString( "com.sun.star.ucb.GIOContentProvider" ) ); + "com.sun.star.ucb.GIOContentProvider" ); ONE_INSTANCE_SERVICE_FACTORY_IMPL( ContentProvider ); |