summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerttumer <mert.tumer@collabora.com>2021-05-26 11:30:14 +0300
committerAndras Timar <andras.timar@collabora.com>2021-05-27 11:09:32 +0200
commit2f8a1c873a8218a08f17d85fe1d714d05b54f20d (patch)
tree3c2ababaaa51627844e229ff5e4da7e2394cee86
parentbd2c4ec80d9fc20f918426afe9a26a5d53f4df69 (diff)
lok: Hide file name from Text Import Dialog (csv)cp-6.4-39
Change-Id: Id496ce68030a471ac73556f52bcd808d79d34589 Signed-off-by: merttumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116173 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index 58e50fb943d5..3a55f96b77b5 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -37,6 +37,7 @@
#include <miscuno.hxx>
#include <osl/diagnose.h>
#include <vcl/svapp.hxx>
+#include <comphelper/lok.hxx>
//! TODO make dynamic
const SCSIZE ASCIIDLG_MAXROWS = MAXROWCOUNT;
@@ -320,8 +321,11 @@ ScImportAsciiDlg::ScImportAsciiDlg(weld::Window* pParent, const OUString& aDatNa
m_xDialog->set_title(mxAltTitle->get_label());
break;
case SC_IMPORTFILE:
- aName += " - [" + aDatName + "]";
- m_xDialog->set_title(aName);
+ if (!comphelper::LibreOfficeKit::isActive())
+ {
+ aName += " - [" + aDatName + "]";
+ m_xDialog->set_title(aName);
+ }
break;
default:
break;