Kaydet (Commit) 275ccca3 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields helpcompiler

Change-Id: I8a4feaea642cf781fde54e4afc5cd98e326f8db3
üst fafac0d2
......@@ -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 );
......
......@@ -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();
......
......@@ -263,7 +263,6 @@ public:
}
void traverse( xmlNodePtr parentNode );
private:
std::string module;
std::string dump(xmlNodePtr node);
};
......
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment