summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PageMarginControl.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-10 10:44:13 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 10:46:01 +0100
commitc0a802b59e1edddeb0b621e15137f5058299efd7 (patch)
tree48203cffcd51d1d2747bb2384608907d73b69670 /sw/source/uibase/sidebar/PageMarginControl.cxx
parent1c4025babd7037a3292aa530c7d45ab8d6ef6dcb (diff)
Audit and correct misc. clears -> disposeAndClears.
Anything that used to be 'delete'd should be disposeAndCleared() in the new world.
Diffstat (limited to 'sw/source/uibase/sidebar/PageMarginControl.cxx')
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx
index 46eb3960b2f4..14f6befa643b 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.cxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.cxx
@@ -138,7 +138,7 @@ PageMarginControl::~PageMarginControl()
void PageMarginControl::dispose()
{
- mpMarginValueSet.clear();
+ mpMarginValueSet.disposeAndClear();
StoreUserCustomValues();