summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formcomponenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/formcomponenthandler.cxx')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index e83e8dd0232f..a5f49336d4d1 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2300,7 +2300,7 @@ namespace pcr
xRowSet.set( m_xComponent, UNO_QUERY );
if ( !xRowSet.is() )
{
- xRowSet = Reference< XRowSet >( m_xObjectParent, UNO_QUERY );
+ xRowSet.set( m_xObjectParent, UNO_QUERY );
if ( !xRowSet.is() )
{
// are we inspecting a grid column?
@@ -2308,7 +2308,7 @@ namespace pcr
{ // yes
Reference< XChild > xParentAsChild( m_xObjectParent, UNO_QUERY );
if ( xParentAsChild.is() )
- xRowSet = Reference< XRowSet >( xParentAsChild->getParent(), UNO_QUERY );
+ xRowSet.set( xParentAsChild->getParent(), UNO_QUERY );
}
}
if ( !xRowSet.is() )