sfx2/source/control/unoctitm.cxx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
New commits: commit dade97c9186bd70ec7aefe7e06f54fda11968fec Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Mon Mar 20 00:51:34 2017 +0100 uitest: use the new ui test logger also for the UNO commands Change-Id: I220b817df82cd0f26f6d8b72a28b7becfd954461 Reviewed-on: https://gerrit.libreoffice.org/35448 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 3d84cc05edab..acdf7a3b779d 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -53,7 +53,7 @@ #include <osl/mutex.hxx> #include <uno/current_context.hxx> #include <vcl/svapp.hxx> -#include <rtl/bootstrap.hxx> +#include <vcl/uitest/logger.hxx> #include <sfx2/app.hxx> #include <sfx2/unoctitm.hxx> @@ -609,16 +609,7 @@ void collectUIInformation(const util::URL& rURL, const uno::Sequence<beans::Prop if (!pFile) return; - OUString aCommand = rURL.Protocol + rURL.Path; - - OUString aDirPath("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}/uitest/"); - rtl::Bootstrap::expandMacros(aDirPath); - osl::Directory::createPath(aDirPath); - OUString aFilePath = aDirPath + OUString::fromUtf8(pFile); - - SvFileStream aFile(aFilePath, StreamMode::STD_READWRITE); - aFile.Seek(aFile.Tell() + aFile.remainingSize()); - aFile.WriteLine(OUStringToOString(aCommand, RTL_TEXTENCODING_UTF8)); + UITestLogger::getInstance().logCommand(rURL.Protocol + rURL.Path); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits