sd: implement vcl::ITiledRenderable::getWindow()
Change-Id: I8bc7316d9304d9e764ee846fe3af34599bf6fc35
This commit is contained in:
@@ -259,6 +259,8 @@ public:
|
||||
virtual void setGraphicSelection(int nType, int nX, int nY) override;
|
||||
/// @see lok::Document::resetSelection().
|
||||
virtual void resetSelection() override;
|
||||
/// @see vcl::ITiledRenderable::getWindow().
|
||||
virtual vcl::Window* getWindow() override;
|
||||
|
||||
// XComponent
|
||||
|
||||
|
@@ -2533,6 +2533,17 @@ void SdXImpressDocument::resetSelection()
|
||||
pSdrView->UnmarkAll();
|
||||
}
|
||||
|
||||
vcl::Window* SdXImpressDocument::getWindow()
|
||||
{
|
||||
SolarMutexGuard aGuard;
|
||||
|
||||
DrawViewShell* pViewShell = GetViewShell();
|
||||
if (!pViewShell)
|
||||
return 0;
|
||||
|
||||
return pViewShell->GetActiveWindow();
|
||||
}
|
||||
|
||||
uno::Reference< i18n::XForbiddenCharacters > SdXImpressDocument::getForbiddenCharsTable()
|
||||
{
|
||||
uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbidenCharacters);
|
||||
|
Reference in New Issue
Block a user