summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-03 10:15:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-03 16:30:32 +0100
commit2e048774847c649c946b7bd809cb873ef2416dcb (patch)
treea573da69f6df3305a3018410300a3ad385ec5273 /sw/source/uibase/uno
parent1573a63339c0e8d3a88a3c3ec520a2c4e75655a4 (diff)
PutGroupDoc(foo) is just delete foo
so just replace it with delete and simplify the code around it now we know exactly what it does Change-Id: Ie23bc46583684bda35b47022ea9853f25a415b0d
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 47e00a2bd137..162ec5751e07 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -425,8 +425,6 @@ uno::Reference< text::XAutoTextEntry > SwXAutoTextGroup::insertNewByName(const
{
throw uno::RuntimeException();
}
- pGlossaries->PutGroupDoc( pGlosGroup );
- pGlosGroup = 0;
}
delete pGlosGroup;