summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-17 20:14:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 08:54:56 +0200
commitcc9bc379de14a5ecfcb7b510fe74beeab768f875 (patch)
tree9e64927c9878a522087e1d11544ea78b025c0b06 /sfx2
parentf46740abc225f5b4c7f604bf3ef32c503c7fc858 (diff)
remove dead code
ever since commit fd069bee7e57ad529c3c0974559fd2d84ec3151a Date: Mon Sep 18 16:07:07 2000 +0000 initial import Change-Id: I1fd724f2e4f31353da60d2615e6c840bbb88dfcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120619 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 15c47a31c0e5..5936accbfedb 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -504,8 +504,6 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq )
}
ErrCode lErr = ERRCODE_NONE;
- SfxItemSet* pSet = new SfxAllItemSet( GetPool() );
- pSet->Put( SfxBoolItem( SID_TEMPLATE, true ) );
if ( !bDirect )
{
SfxDocumentTemplates aTmpFac;