summaryrefslogtreecommitdiffstats
path: root/svx/source/form/fmvwimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmvwimp.cxx')
-rw-r--r--svx/source/form/fmvwimp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx
index aa953fa13616..7c2311948a8a 100644
--- a/svx/source/form/fmvwimp.cxx
+++ b/svx/source/form/fmvwimp.cxx
@@ -1608,9 +1608,9 @@ bool FmXFormView::createControlLabelPair( OutputDevice const & _rOutDev, sal_Int
_nLabelObjectID)));
_pLabelPage->NbcInsertObject(pLabel.get());
- OSL_ENSURE( pLabel.get(), "FmXFormView::createControlLabelPair: could not create the label!" );
+ OSL_ENSURE(pLabel, "FmXFormView::createControlLabelPair: could not create the label!");
- if ( !pLabel.get() )
+ if (!pLabel)
return false;
xLabelModel.set( pLabel->GetUnoControlModel(), UNO_QUERY );
@@ -1641,9 +1641,9 @@ bool FmXFormView::createControlLabelPair( OutputDevice const & _rOutDev, sal_Int
_nControlObjectID)));
_pControlPage->NbcInsertObject(pControl.get());
- OSL_ENSURE( pControl.get(), "FmXFormView::createControlLabelPair: could not create the control!" );
+ OSL_ENSURE(pControl, "FmXFormView::createControlLabelPair: could not create the control!");
- if ( !pControl.get() )
+ if (!pControl)
return false;
Reference< XPropertySet > xControlSet( pControl->GetUnoControlModel(), UNO_QUERY );