auto xRequest = std::make_shared<SfxRequest>(rReq);
rReq.Ignore(); // the 'old' request is not relevant any more auto pView = mpView; // copy vars we need, FuTextAttrDlg object will be gone by the time the dialog completes
pDlg->StartExecuteAsync(
[pDlg, xRequest=std::move(xRequest), pView] (sal_Int32 nResult)->void
{ if (nResult == RET_OK)
{
xRequest->Done( *pDlg->GetOutputItemSet() );
pView->SetAttributes( *xRequest->GetArgs() );
}
pDlg->disposeOnce();
}
);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.