summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-20 14:48:17 +0200
committerNoel Grandin <noel@peralex.com>2015-11-20 15:07:05 +0200
commit275ccca3d266e8ffd837b53a35bc2cbd6cb95660 (patch)
tree59a01d81e93ac800bf36fa3c3a2c951fcca2fdf4 /helpcompiler
parentfafac0d248c3ebc8eb9a9cef5fa68f193d851b33 (diff)
loplugin:unusedfields helpcompiler
Change-Id: I8a4feaea642cf781fde54e4afc5cd98e326f8db3
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/inc/BasCodeTagger.hxx1
-rw-r--r--helpcompiler/inc/HelpLinker.hxx3
-rw-r--r--helpcompiler/source/HelpCompiler.cxx1
-rw-r--r--helpcompiler/source/HelpLinker.cxx9
4 files changed, 4 insertions, 10 deletions
diff --git a/helpcompiler/inc/BasCodeTagger.hxx b/helpcompiler/inc/BasCodeTagger.hxx
index a0c7f29e7a56..ccc758221372 100644
--- a/helpcompiler/inc/BasCodeTagger.hxx
+++ b/helpcompiler/inc/BasCodeTagger.hxx
@@ -30,7 +30,6 @@ class L10N_DLLPUBLIC BasicCodeTagger
xmlDocPtr m_pDocument;
std::list<xmlNodePtr> m_BasicCodeContainerTags;
LibXmlTreeWalker *m_pXmlTreeWalker;
- std::list<std::string> m_BasicCodeStringList;
SyntaxHighlighter m_Highlighter;
bool m_bTaggingCompleted;
void tagParagraph( xmlNodePtr paragraph );
diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx
index 21873e362c27..d416cf220631 100644
--- a/helpcompiler/inc/HelpLinker.hxx
+++ b/helpcompiler/inc/HelpLinker.hxx
@@ -30,7 +30,6 @@
class L10N_DLLPUBLIC IndexerPreProcessor
{
private:
- std::string m_aModuleName;
fs::path m_fsIndexBaseDir;
fs::path m_fsCaptionFilesDirName;
fs::path m_fsContentFilesDirName;
@@ -39,7 +38,7 @@ private:
xsltStylesheetPtr m_xsltStylesheetPtrContent;
public:
- IndexerPreProcessor( const std::string& aModuleName, const fs::path& fsIndexBaseDir,
+ IndexerPreProcessor( const fs::path& fsIndexBaseDir,
const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet );
~IndexerPreProcessor();
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 5d3709105287..85a82d043bed 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -263,7 +263,6 @@ public:
}
void traverse( xmlNodePtr parentNode );
private:
- std::string module;
std::string dump(xmlNodePtr node);
};
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index 33e684a88ecc..7d4cfe53b880 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -39,10 +39,9 @@
#include <memory>
IndexerPreProcessor::IndexerPreProcessor
- ( const std::string& aModuleName, const fs::path& fsIndexBaseDir,
+ ( const fs::path& fsIndexBaseDir,
const fs::path& idxCaptionStylesheet, const fs::path& idxContentStylesheet )
- : m_aModuleName( aModuleName )
- , m_fsIndexBaseDir( fsIndexBaseDir )
+ : m_fsIndexBaseDir( fsIndexBaseDir )
{
m_fsCaptionFilesDirName = fsIndexBaseDir / "caption";
fs::create_directory( m_fsCaptionFilesDirName );
@@ -270,9 +269,7 @@ void HelpLinker::addBookmark( FILE* pFile_DBHelp, std::string thishid,
void HelpLinker::initIndexerPreProcessor()
{
delete m_pIndexerPreProcessor;
- std::string mod = module;
- std::transform (mod.begin(), mod.end(), mod.begin(), tocharlower);
- m_pIndexerPreProcessor = new IndexerPreProcessor( mod, indexDirParentName,
+ m_pIndexerPreProcessor = new IndexerPreProcessor( indexDirParentName,
idxCaptionStylesheet, idxContentStylesheet );
}