summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun5.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-08 11:47:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-08 15:51:21 +0100
commit6c8a7fcb01beeedaa72b4a4c31d1b849000bad39 (patch)
tree3b4146f9318bebec191e0cf03ff96ecbbdf4f896 /sc/source/ui/view/viewfun5.cxx
parent48ab06d962e584091f8e2771bc9863ed886fa39f (diff)
Resolves: tdf#128667 crash in csv import from paste
Change-Id: Id50d0a7e4f176ccf83292495cb229da492fbf381 Reviewed-on: https://gerrit.libreoffice.org/82287 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewfun5.cxx')
-rw-r--r--sc/source/ui/view/viewfun5.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 2cc61bca2fd9..1cffceff6e57 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -378,6 +378,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId,
if (bShowErrorDialog)
ErrorMessage(STR_PASTE_ERROR);
+ pDlg->disposeOnce();
});
return true;
}