sc/source/ui/docshell/docsh.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit a4f09f8c2ef3ae82b86d1b4f0c6c90d1a61614fa Author: Aditya Kale <voilavoil...@yahoo.in> Date: Tue Apr 1 15:18:11 2014 +0100 fdo#73552 - Set name of CSV import sheet to something friendly Change-Id: Ia68283947d954d648fa25356f2b95ba0ab7010aa Reviewed-on: https://gerrit.libreoffice.org/8811 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 7e505f4..28ae7fa 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -1207,6 +1207,8 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium ) aDocument.StartAllListeners(); sc::SetFormulaDirtyContext aCxt; aDocument.SetAllFormulasDirty(aCxt); + INetURLObject aURLObjForDefaultNameSheetName(rMedium.GetName()); + aDocument.RenameTab(0,aURLObjForDefaultNameSheetName.GetBase()); bOverflowRow = aImpEx.IsOverflowRow(); bOverflowCol = aImpEx.IsOverflowCol(); bOverflowCell = aImpEx.IsOverflowCell(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits