[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed Jun 15 10:06:03 UTC 2016
sw/source/uibase/uiview/viewprt.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 2afe8701aefab454c8bf1dcc063227ea9d290dcb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 15 12:02:30 2016 +0200
Remove unused SwMiscConfig instance
Unused ever since it was introduced in 5d7ce6db70b362b9f69aee2aaf651cbddcf35b84
"INTEGRATION: CWS swmailmerge", and access to any SwMiscConfig members has
always been done indirectly via SW_MOD()->GetModuleConfig()->..., so looks like
aMiscConfig is unnecessary (and Oliver agrees with me on that).
Change-Id: I98b1962a43ba969cdadf1e42fdb1d3522ae4bc35
diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx
index ff84bd6..532b9e7 100644
--- a/sw/source/uibase/uiview/viewprt.cxx
+++ b/sw/source/uibase/uiview/viewprt.cxx
@@ -196,7 +196,6 @@ void SwView::ExecutePrint(SfxRequest& rReq)
if(pPrintFromMergeItem)
rReq.RemoveItem(FN_QRY_MERGE);
bool bFromMerge = pPrintFromMergeItem && pPrintFromMergeItem->GetValue();
- SwMiscConfig aMiscConfig;
bool bPrintSelection = false;
if(!bSilent && !bFromMerge &&
SW_MOD()->GetModuleConfig()->IsAskForMailMerge() && pSh->IsAnyDatabaseFieldInDoc())
More information about the Libreoffice-commits
mailing list