From f15c1c3e03dc8c647e0e86718183ac39885d8510 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Sun, 26 Feb 2012 10:09:53 +0100 Subject: print what directory localize tool cannot open Currently it cannot open /dictionaries under Cygwin, because it is a Cygwin symlink that Windows programs cannot follow. TODO... --- l10ntools/source/localize.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 6fb83e1a9bc4..9e0cf0b5205a 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -313,7 +313,7 @@ void handleDirectory( { osl::Directory dir(url); if (dir.open() != osl::FileBase::E_None) { - std::cerr << "Error: Cannot open directory\n"; + std::cerr << "Error: Cannot open directory: " << OUStringToOString(url, RTL_TEXTENCODING_ASCII_US).getStr() << std::endl; throw false; //TODO } for (;;) { @@ -430,7 +430,7 @@ void handleProjects(char const * root) { } osl::Directory dir(rootUrl); if (dir.open() != osl::FileBase::E_None) { - std::cerr << "Error: Cannot open directory\n"; + std::cerr << "Error: Cannot open directory: " << OUStringToOString(rootUrl, RTL_TEXTENCODING_ASCII_US).getStr() << std::endl; throw false; //TODO } for (;;) { -- cgit