Kaydet (Commit) 657dc100 authored tarafından Miklos Vajna's avatar Miklos Vajna

sd: implement vcl::ITiledRenderable::getWindow()

(cherry picked from commit 8522948b)

Conflicts:
	sd/source/ui/inc/unomodel.hxx

Change-Id: I8bc7316d9304d9e764ee846fe3af34599bf6fc35
üst 03a96528
...@@ -258,6 +258,8 @@ public: ...@@ -258,6 +258,8 @@ public:
virtual void setGraphicSelection(int nType, int nX, int nY) SAL_OVERRIDE; virtual void setGraphicSelection(int nType, int nX, int nY) SAL_OVERRIDE;
/// @see lok::Document::resetSelection(). /// @see lok::Document::resetSelection().
virtual void resetSelection() SAL_OVERRIDE; virtual void resetSelection() SAL_OVERRIDE;
/// @see vcl::ITiledRenderable::getWindow().
virtual vcl::Window* getWindow() SAL_OVERRIDE;
// XComponent // XComponent
......
...@@ -2539,6 +2539,17 @@ void SdXImpressDocument::resetSelection() ...@@ -2539,6 +2539,17 @@ void SdXImpressDocument::resetSelection()
pSdrView->UnmarkAll(); 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 > SdXImpressDocument::getForbiddenCharsTable()
{ {
uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbidenCharacters); uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbidenCharacters);
......
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