[Libreoffice-commits] .: l10ntools/source

Tor Lillqvist tml at kemper.freedesktop.org
Tue Mar 29 08:39:59 PDT 2011


 l10ntools/source/srciter.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8fb069b4f7e83f7d3ac2e195e66bb32a4798949c
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Tue Mar 29 18:34:02 2011 +0300

    Don't skip the clone directory on Windows
    
    As localize_sl is not a Cygwin program it won't understand the
    symlinks pointing to clone/*/* anyway, so we won't get any duplicates
    if we just let it recurse down the clone directory.

diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx
index c04fbe8..13d29c1 100644
--- a/l10ntools/source/srciter.cxx
+++ b/l10ntools/source/srciter.cxx
@@ -82,7 +82,9 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory& aDirectory )
             sDirName.indexOf( WCARD5 , 0 ) > -1 ||
             sDirName.indexOf( WCARD6 , 0 ) > -1 ||
             sDirName.indexOf( WCARD7 , 0 ) > -1 ||
+#ifndef WNT
             sDirName.indexOf( WCARD8 , 0 ) > -1 ||
+#endif
             sDirName.indexOf( WCARD9 , 0 ) > -1
            )	return;
         //printf("**** %s \n", OUStringToOString( sDirName , RTL_TEXTENCODING_UTF8 , sDirName.getLength() ).getStr() );


More information about the Libreoffice-commits mailing list