diff options
Diffstat (limited to 'sfx2/source/appl/appserv.cxx')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index c9c37f554a96..1505e3944d55 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -342,9 +342,8 @@ weld::Window* SfxRequest::GetFrameWeld() const const SfxUnoAnyItem* pItem = nullptr; if (pIntArgs && (pItem = pIntArgs->GetItemIfSet(SID_DIALOG_PARENT, false))) { - auto aAny = pItem->GetValue(); Reference<awt::XWindow> xWindow; - aAny >>= xWindow; + pItem->GetValue() >>= xWindow; return Application::GetFrameWeld(xWindow); } |