diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-10 16:38:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-11 08:18:46 +0100 |
commit | d506bc43f6982b33e42b3449cad059075f8faca1 (patch) | |
tree | bf227ea4636c2a843154a6127ba915f7a0051339 /sfx2/source | |
parent | 4a8e458b45dd063a82825e252366f678aec23921 (diff) |
Hide bogus "Untitled already exists" errors...
...when adding multiple new template regions in a row in
SfxOrganizeDlg_Impl.
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/doctemplates.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index dcaaeca101a4..fce978ccdc64 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -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++ ) { |