summaryrefslogtreecommitdiff
path: root/svx/source/form/navigatortree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/navigatortree.cxx')
-rw-r--r--svx/source/form/navigatortree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 42947238be2d..29b43c597a39 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1964,7 +1964,7 @@ namespace svxform
OutputDevice& rOutDev = pPaintWindow->GetOutputDevice();
if ( ( OUTDEV_WINDOW == rOutDev.GetOutDevType() ) && !aMarkRect.IsEmpty() )
{
- pFormView->MakeVisible( aMarkRect, static_cast<vcl::Window&>(rOutDev) );
+ pFormView->MakeVisible( aMarkRect, *rOutDev.GetOwnerWindow() );
}
} // for ( sal_uInt32 i = 0; i < pFormView->PaintWindowCount(); ++i )
}
@@ -2032,7 +2032,7 @@ namespace svxform
OutputDevice& rOutDev = pPaintWindow->GetOutputDevice();
if ( OUTDEV_WINDOW == rOutDev.GetOutDevType() )
{
- pFormView->MakeVisible( aMarkRect, static_cast<vcl::Window&>(rOutDev) );
+ pFormView->MakeVisible( aMarkRect, *rOutDev.GetOwnerWindow() );
}
} // for ( sal_uInt32 i = 0; i < pFormView->PaintWindowCount(); ++i )
}