summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/docrecovery.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index ab68137adf47..7b9d2fea288a 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -847,8 +847,8 @@ void RecovDocList::InitEntry(SvTreeListEntry* pEntry,
SvTabListBox::InitEntry(pEntry, rText, rImage1, rImage2, eButtonKind);
DBG_ASSERT( TabCount() == 2, "*RecovDocList::InitEntry(): structure missmatch" );
- SvLBoxString* pCol = static_cast<SvLBoxString*>(pEntry->GetItem(2));
- RecovDocListEntry* p = new RecovDocListEntry(pEntry, 0, pCol->GetText());
+ SvLBoxString& rCol = static_cast<SvLBoxString&>(pEntry->GetItem(2));
+ RecovDocListEntry* p = new RecovDocListEntry(pEntry, 0, rCol.GetText());
pEntry->ReplaceItem(p, 2);
}