Kaydet (Commit) 47debe4f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

ucb: Use appropriate OUString functions on string constants

Change-Id: I29c99157e9698e4af1d42a5c708cf4ec4753cf34
üst 36398245
......@@ -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;
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment