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

Remove unused SwMiscConfig instance

Unused ever since it was introduced in 5d7ce6db
"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
üst 6a5c8d09
...@@ -196,7 +196,6 @@ void SwView::ExecutePrint(SfxRequest& rReq) ...@@ -196,7 +196,6 @@ void SwView::ExecutePrint(SfxRequest& rReq)
if(pPrintFromMergeItem) if(pPrintFromMergeItem)
rReq.RemoveItem(FN_QRY_MERGE); rReq.RemoveItem(FN_QRY_MERGE);
bool bFromMerge = pPrintFromMergeItem && pPrintFromMergeItem->GetValue(); bool bFromMerge = pPrintFromMergeItem && pPrintFromMergeItem->GetValue();
SwMiscConfig aMiscConfig;
bool bPrintSelection = false; bool bPrintSelection = false;
if(!bSilent && !bFromMerge && if(!bSilent && !bFromMerge &&
SW_MOD()->GetModuleConfig()->IsAskForMailMerge() && pSh->IsAnyDatabaseFieldInDoc()) SW_MOD()->GetModuleConfig()->IsAskForMailMerge() && pSh->IsAnyDatabaseFieldInDoc())
......
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