summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/pcrcommon.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/pcrcommon.hxx')
-rw-r--r--extensions/source/propctrlr/pcrcommon.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/pcrcommon.hxx b/extensions/source/propctrlr/pcrcommon.hxx
index 4544ba244c4c..ccaa39136a15 100644
--- a/extensions/source/propctrlr/pcrcommon.hxx
+++ b/extensions/source/propctrlr/pcrcommon.hxx
@@ -58,8 +58,7 @@ namespace pcr
template< class CONTAINER >
void clearContainer( CONTAINER& _rContainer )
{
- CONTAINER aEmpty;
- _rContainer.swap( aEmpty );
+ CONTAINER().swap(_rContainer);
}