diff options
author | Andras Timar <atimar@suse.com> | 2012-02-26 10:09:53 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-02-26 10:16:05 +0100 |
commit | f15c1c3e03dc8c647e0e86718183ac39885d8510 (patch) | |
tree | f0e5bc47c8f80fa4ba633d3898b769bed79d3980 /l10ntools | |
parent | 9eb1c0cb7c3ae261d21b7efb30a6dbb1ec21c02f (diff) |
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...
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/localize.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 (;;) { |