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

Hide bogus "Untitled already exists" errors...

...when adding multiple new template regions in a row in
SfxOrganizeDlg_Impl.
üst 4a8e458b
......@@ -873,7 +873,8 @@ sal_Bool SfxDocTplService_Impl::CreateNewUniqueFolderWithPrefix( const ::rtl::OU
INetURLObject aDirPath( aPath );
Content aParent;
if ( Content::create( aDirPath.GetMainURL( INetURLObject::NO_DECODE ), maCmdEnv, aParent ) )
uno::Reference< XCommandEnvironment > aQuietEnv;
if ( Content::create( aDirPath.GetMainURL( INetURLObject::NO_DECODE ), aQuietEnv, aParent ) )
{
for ( sal_Int32 nInd = 0; nInd < 32000; nInd++ )
{
......
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