summaryrefslogtreecommitdiff
path: root/l10ntools/source/help/HelpCompiler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/help/HelpCompiler.hxx')
-rw-r--r--l10ntools/source/help/HelpCompiler.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx
index 81b5bde0b182..7328aa554b64 100644
--- a/l10ntools/source/help/HelpCompiler.hxx
+++ b/l10ntools/source/help/HelpCompiler.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -113,13 +113,13 @@ namespace fs
path operator/(const std::string &in) const
{
path ret(*this);
- HCDBG(std::cerr << "orig was " <<
+ HCDBG(std::cerr << "orig was " <<
rtl::OUStringToOString(ret.data, RTL_TEXTENCODING_UTF8).getStr() << std::endl);
rtl::OString tmp(in.c_str());
rtl::OUString ustrSystemPath(rtl::OStringToOUString(tmp, getThreadTextEncoding()));
ret.data += rtl::OUString(sal_Unicode('/'));
ret.data += ustrSystemPath;
- HCDBG(std::cerr << "final is " <<
+ HCDBG(std::cerr << "final is " <<
rtl::OUStringToOString(ret.data, RTL_TEXTENCODING_UTF8).getStr() << std::endl);
return ret;
}
@@ -239,26 +239,26 @@ public:
Stringtable *default_helptexts;
xmlDocPtr default_doc;
- StreamTable() :
- appl_hidlist(NULL), appl_keywords(NULL), appl_helptexts(NULL), appl_doc(NULL),
- default_hidlist(NULL), default_keywords(NULL), default_helptexts(NULL), default_doc(NULL)
+ StreamTable() :
+ appl_hidlist(NULL), appl_keywords(NULL), appl_helptexts(NULL), appl_doc(NULL),
+ default_hidlist(NULL), default_keywords(NULL), default_helptexts(NULL), default_doc(NULL)
{}
void dropdefault()
{
delete default_hidlist;
delete default_keywords;
delete default_helptexts;
- if (default_doc) xmlFreeDoc(default_doc);
+ if (default_doc) xmlFreeDoc(default_doc);
}
void dropappl()
{
delete appl_hidlist;
delete appl_keywords;
delete appl_helptexts;
- if (appl_doc) xmlFreeDoc(appl_doc);
+ if (appl_doc) xmlFreeDoc(appl_doc);
}
~StreamTable()
- {
+ {
dropappl();
dropdefault();
}
@@ -266,10 +266,10 @@ public:
struct HelpProcessingException
{
- HelpProcessingErrorClass m_eErrorClass;
- std::string m_aErrorMsg;
- std::string m_aXMLParsingFile;
- int m_nXMLParsingLine;
+ HelpProcessingErrorClass m_eErrorClass;
+ std::string m_aErrorMsg;
+ std::string m_aXMLParsingFile;
+ int m_nXMLParsingLine;
HelpProcessingException( HelpProcessingErrorClass eErrorClass, const std::string& aErrorMsg )
: m_eErrorClass( eErrorClass )
@@ -285,7 +285,7 @@ struct HelpProcessingException
class HelpCompiler
{
-public:
+public:
HelpCompiler(StreamTable &streamTable,
const fs::path &in_inputFile,
const fs::path &in_src,
@@ -294,7 +294,7 @@ public:
const std::string &in_lang,
bool in_bExtensionMode);
bool compile( void ) throw (HelpProcessingException);
- void addEntryToJarFile(const std::string &prefix,
+ void addEntryToJarFile(const std::string &prefix,
const std::string &entryName, const std::string &bytesToAdd);
void addEntryToJarFile(const std::string &prefix,
const std::string &entryName, const HashSet &bytesToAdd);