summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galmisc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galmisc.cxx')
-rw-r--r--svx/source/gallery2/galmisc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 65956e0187ce..5ad2f181f822 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -277,7 +277,7 @@ bool CreateDir( const INetURLObject& rURL )
uno::Sequence< uno::Any > aValues( 1 );
aProps[0] = "Title";
- aValues[0] = uno::makeAny( OUString( rURL.GetName() ) );
+ aValues[0] <<= rURL.GetName();
::ucbhelper::Content aContent( rURL.GetMainURL( INetURLObject::DecodeMechanism::NONE ), aCmdEnv, comphelper::getProcessComponentContext() );
bRet = aParent.insertNewContent( "application/vnd.sun.staroffice.fsys-folder", aProps, aValues, aContent );