diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-10 10:44:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-10 10:45:58 +0100 |
commit | 718ce84a06f18a3000d23287a2238a5a5299627a (patch) | |
tree | 5e445f530282a323b9aa75b78376209ecc3ab941 /l10ntools/inc | |
parent | Uploading a new shiny libcdr-0.0.2 (diff) | |
download | core-718ce84a06f18a3000d23287a2238a5a5299627a.tar.gz core-718ce84a06f18a3000d23287a2238a5a5299627a.zip |
Various more l10ntools clean up
"localize" is now directly a C++ program w/o wrapper script. Also,
its command line has changed slightly, taking the source root as
explicit argument (instead of implicitly as cwd).
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/export.hxx | 3 | ||||
-rw-r--r-- | l10ntools/inc/srciter.hxx | 59 |
2 files changed, 2 insertions, 60 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index d8d2acdd0e2c..e6d005707115 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -126,7 +126,7 @@ public: ~ResData(); sal_Bool SetId(const rtl::OString &rId, sal_uInt16 nLevel); - sal_uInt16 nWidth; + sal_Int32 nWidth; sal_uInt16 nChildIndex; sal_uInt16 nIdLevel; sal_Bool bChild; @@ -202,6 +202,7 @@ public: ResData(const rtl::OString &rPF, const rtl::OString &rGId , const rtl::OString &rFilename) : + nWidth( 0 ), nChildIndex( 0 ), nIdLevel( ID_LEVEL_NULL ), bChild( sal_False ), diff --git a/l10ntools/inc/srciter.hxx b/l10ntools/inc/srciter.hxx deleted file mode 100644 index 237e7a0026ab..000000000000 --- a/l10ntools/inc/srciter.hxx +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef L10NTOOLS_DIRECTORY_HXX -#define L10NTOOLS_DIRECTORY_HXX -#include <l10ntools/directory.hxx> -#endif - -// class SourceTreeIterator -// - -class SourceTreeIterator -{ -private: - transex::Directory aRootDirectory; - bool bInExecute; - - void ExecuteDirectory( transex::Directory& pDirectory ); - -protected: - bool bSkipLinks; - -public: - SourceTreeIterator(const rtl::OString &rRootDirectory); - virtual ~SourceTreeIterator(); - - sal_Bool StartExecute(); - void EndExecute(); - - virtual void OnExecuteDirectory( const rtl::OUString &rDirectory ); -}; - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |