diff options
author | Björn Michaelsen <b_michaelsen@openoffice.org> | 2009-10-14 12:52:32 +0000 |
---|---|---|
committer | Björn Michaelsen <b_michaelsen@openoffice.org> | 2009-10-14 12:52:32 +0000 |
commit | 6b43d60ce9427f002ebaab11da48e5c17fb9e7de (patch) | |
tree | 47a2d7bc04a5fba47e16527219bcb01477fb017e /svx | |
parent | e92917d1bc75f095222ec757f0006b8ef6883a9b (diff) |
#i105835# loading the user feedback log readonly with the csv-filter (no need for an import dialog)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/cui/optimprove2.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/svx/source/cui/optimprove2.cxx b/svx/source/cui/optimprove2.cxx index 28989080ca0a..b988c7b75bad 100644 --- a/svx/source/cui/optimprove2.cxx +++ b/svx/source/cui/optimprove2.cxx @@ -149,7 +149,13 @@ IMPL_LINK( SvxImprovementOptionsPage, HandleShowData, PushButton*, EMPTYARG ) { ::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 ); |