summaryrefslogtreecommitdiff
path: root/helpcompiler/source
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/source
parentfafac0d248c3ebc8eb9a9cef5fa68f193d851b33 (diff)
loplugin:unusedfields helpcompiler
Change-Id: I8a4feaea642cf781fde54e4afc5cd98e326f8db3
Diffstat (limited to 'helpcompiler/source')
-rw-r--r--helpcompiler/source/HelpCompiler.cxx1
-rw-r--r--helpcompiler/source/HelpLinker.cxx9
2 files changed, 3 insertions, 7 deletions
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 );
}