summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview3.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-14 01:57:12 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-14 02:05:50 +0200
commit9de1d53a2ce3ee7036b4688b373db7b2235af4d9 (patch)
treef47306e383237fdc744a2074838f4e82efbb317d /sc/source/ui/view/tabview3.cxx
parentffd9e164af2895c19edeee90b35032d74e2eac96 (diff)
VclPtr::reset does not delete the widget, tdf#91269
Change-Id: I26f392dc32bc4eb6fa82a1446680725691126457
Diffstat (limited to 'sc/source/ui/view/tabview3.cxx')
-rw-r--r--sc/source/ui/view/tabview3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index ecc9e2b81624..e7ffbed59dfd 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -609,7 +609,7 @@ void ScTabView::TestHintWindow()
{
//! Abfrage, ob an gleicher Stelle !!!!
- mpInputHintWindow.reset();
+ mpInputHintWindow.disposeAndClear();
ScSplitPos eWhich = aViewData.GetActivePart();
ScGridWindow* pWin = pGridWin[eWhich];
@@ -638,7 +638,7 @@ void ScTabView::TestHintWindow()
}
}
else
- mpInputHintWindow.reset();
+ mpInputHintWindow.disposeAndClear();
// list drop-down button
if ( pData && pData->HasSelectionList() )
@@ -648,7 +648,7 @@ void ScTabView::TestHintWindow()
}
}
else
- mpInputHintWindow.reset();
+ mpInputHintWindow.disposeAndClear();
for ( sal_uInt16 i=0; i<4; i++ )
if ( pGridWin[i] && pGridWin[i]->IsVisible() )