summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/helper/formnavigation.cxx3
-rw-r--r--forms/source/richtext/richtextcontrol.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/helper/formnavigation.cxx b/forms/source/helper/formnavigation.cxx
index 5182b0544db6..547a5781649a 100644
--- a/forms/source/helper/formnavigation.cxx
+++ b/forms/source/helper/formnavigation.cxx
@@ -346,8 +346,7 @@ namespace frm
{
disconnectDispatchers( );
// no supported features anymore:
- FeatureMap aEmpty;
- m_aSupportedFeatures.swap( aEmpty );
+ FeatureMap().swap(m_aSupportedFeatures);
}
OFormNavigationMapper::OFormNavigationMapper( const Reference< XComponentContext >& _rxORB )
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index 256c257b2f2c..1514eca99729 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -304,8 +304,7 @@ namespace frm
}
}
- AttributeDispatchers aEmpty;
- m_aDispatchers.swap( aEmpty );
+ AttributeDispatchers().swap(m_aDispatchers);
}
VCLXWindow::dispose();