summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:52:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 11:53:24 +0200
commit1003f9f14d83eac9c08a219fa7d8140550de02c7 (patch)
tree295e5ee4b46d5a72c14f0b4e2a0214ad78457cfc /dbaccess/source/filter
parentEngine to add Extension inside extension tab in NotebookBar (diff)
downloadcore-1003f9f14d83eac9c08a219fa7d8140550de02c7.tar.gz
core-1003f9f14d83eac9c08a219fa7d8140550de02c7.zip
loplugin:referencecasting in dbaccess
Change-Id: If44176f85f460afca92cfa77b3cc1f7107a41690 Reviewed-on: https://gerrit.libreoffice.org/75938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/filter')
-rw-r--r--dbaccess/source/filter/xml/dbloader2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index 3d0b0d0c1f16..dfc32198ac36 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -325,7 +325,7 @@ namespace
xWindow = xActiveFrame->getContainerWindow();
Reference<XFrame> xFrame = xActiveFrame;
while ( xFrame.is() && !xFrame->isTop() )
- xFrame.set(xFrame->getCreator(),UNO_QUERY);
+ xFrame = xFrame->getCreator();
if ( xFrame.is() )
xWindow = xFrame->getContainerWindow();