summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-08 10:46:25 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-08 10:54:32 +0400
commita0bbc768a5fac2c3d27cd70877961561fe7f0ffa (patch)
treead125d0b2ad1e6ea0836c7f4a9fa26dae9b51710 /sw
parentaecd2510e53ea6457dd4f4fa032d82b7dd6178ef (diff)
fdo#67817: GetParent returns a VclGrid instance after conversion to .ui
Change-Id: Ib37e2de784823fec209c195963d925748412c692
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/glossary.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index a163807c0c61..98af8b869d19 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -919,7 +919,7 @@ DragDropMode SwGlTreeListBox::NotifyStartDrag(
eRet = SV_DRAGDROP_NONE;
else
{
- SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
+ SwGlossaryDlg* pDlg = (SwGlossaryDlg*)GetParentDialog();
SvTreeListEntry* pParent = GetParent(pEntry);
GroupUserData* pGroupData = (GroupUserData*)pParent->GetUserData();
@@ -967,7 +967,7 @@ sal_Bool SwGlTreeListBox::NotifyMoving( SvTreeListEntry* pTarget,
sal_Bool bRet = sal_False;
if(pDestParent != pSrcParent)
{
- SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
+ SwGlossaryDlg* pDlg = (SwGlossaryDlg*)GetParentDialog();
SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), sal_True );
GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();
@@ -1013,7 +1013,7 @@ sal_Bool SwGlTreeListBox::NotifyCopying( SvTreeListEntry* pTarget,
sal_Bool bRet = sal_False;
if(pDestParent != pSrcParent)
{
- SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
+ SwGlossaryDlg* pDlg = (SwGlossaryDlg*)GetParentDialog();
SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), sal_True );
GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();