1. mst
  2. ooo340

Commits

b_michaelsen  committed 6d46b93

#i105835# loading the user feedback log readonly with the csv-filter (no need for an import dialog)

  • Participants
  • Parent commits befd552
  • Branches default

Comments (0)

Files changed (1)

File svx/source/cui/optimprove2.cxx

View file
     {
         ::rtl::OUString sLogFile( m_sLogPath );
         sLogFile += C2S("/Current.csv");
-        uno::Sequence< beans::PropertyValue > aArgs;
+        uno::Sequence< beans::PropertyValue > aArgs(3);
+		aArgs[0].Name = ::rtl::OUString::createFromAscii("FilterName");
+		aArgs[0].Value = uno::makeAny(::rtl::OUString::createFromAscii("Text - txt - csv (StarCalc)"));
+		aArgs[1].Name = ::rtl::OUString::createFromAscii("FilterOptions");
+		aArgs[1].Value = uno::makeAny(::rtl::OUString::createFromAscii("44,34,12,1,"));
+		aArgs[2].Name = ::rtl::OUString::createFromAscii("ReadOnly");
+		aArgs[2].Value = uno::makeAny(true);
 
         uno::Reference< lang::XComponent > xDoc = ::comphelper::SynchronousDispatch::dispatch(
             xDesktop, sLogFile, C2S("_default"), 0, aArgs );