| 470 | } |
| 471 | |
| 472 | Gui::MDIView* ViewProviderDocumentObject::getEditingView() const |
| 473 | { |
| 474 | if (!pcObject) { |
| 475 | throw Base::RuntimeError("View provider detached"); |
| 476 | } |
| 477 | App::Document* pAppDoc = pcObject->getDocument(); |
| 478 | Gui::Document* pGuiDoc = Gui::Application::Instance->getDocument(pAppDoc); |
| 479 | return pGuiDoc->getEditingViewOfViewProvider(const_cast<ViewProviderDocumentObject*>(this)); |
| 480 | } |
| 481 | |
| 482 | Gui::MDIView* ViewProviderDocumentObject::getInventorView() const |
| 483 | { |
nothing calls this directly
no test coverage detected