From 344ebc80330cc4f6ff9858ab6d06735568b87bf9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Feb 2012 14:34:22 +0100 Subject: 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?). --- l10ntools/inc/cfgmerge.hxx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'l10ntools/inc/cfgmerge.hxx') 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 +#include "sal/config.h" + +#include #include +#include "boost/unordered_map.hpp" + typedef boost::unordered_map 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(); -- cgit