diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-08 14:34:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-08 14:40:08 +0100 |
commit | 344ebc80330cc4f6ff9858ab6d06735568b87bf9 (patch) | |
tree | c36a45109ae5cb2962ff8edd917d749b801ba66e /l10ntools/inc/cfgmerge.hxx | |
parent | 0841fc0d3bdc6920c42b79c432e2706d7193e865 (diff) |
Freed l10ntools from tools/stream.hxx
Removed completely cases of convoluted code to remove UTF-8 BOM from files
or translate line endings. Hopefully none of this was actually necessary
(on Windows?).
Diffstat (limited to 'l10ntools/inc/cfgmerge.hxx')
-rw-r--r-- | l10ntools/inc/cfgmerge.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index bd0627e876f0..6c82cc3a1ccb 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -29,9 +29,13 @@ #ifndef _CFG_MERGE_HXX #define _CFG_MERGE_HXX -#include <boost/unordered_map.hpp> +#include "sal/config.h" + +#include <fstream> #include <vector> +#include "boost/unordered_map.hpp" + typedef boost::unordered_map<rtl::OString, rtl::OString, rtl::OStringHash> OStringHashMap; @@ -68,7 +72,7 @@ public: // class CfgStack // -typedef ::std::vector< CfgStackData* > CfgStackList; +typedef std::vector< CfgStackData* > CfgStackList; class CfgStack { @@ -89,9 +93,9 @@ public: return temp; } - CfgStackData *GetStackData( size_t nPos = LIST_APPEND ); + CfgStackData *GetStackData(); - rtl::OString GetAccessPath( size_t nPos = LIST_APPEND ); + rtl::OString GetAccessPath( size_t nPos ); size_t size() const { return maList.size(); } }; @@ -148,7 +152,7 @@ public: class CfgOutputParser : public CfgParser { protected: - SvFileStream *pOutputStream; + std::ofstream pOutputStream; public: CfgOutputParser(const rtl::OString &rOutputFile); virtual ~CfgOutputParser(); |