summaryrefslogtreecommitdiff
path: root/helpcompiler/source/HelpLinker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/source/HelpLinker.cxx')
-rw-r--r--helpcompiler/source/HelpLinker.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index 44444902eb71..cad47dad0b08 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -122,6 +122,8 @@ void IndexerPreProcessor::processDocument
}
}
+namespace {
+
struct Data
{
std::vector<std::string> _idList;
@@ -140,6 +142,8 @@ struct Data
}
};
+}
+
static void writeKeyValue_DBHelp( FILE* pFile, const std::string& aKeyStr, const std::string& aValueStr )
{
if( pFile == nullptr )
@@ -164,6 +168,8 @@ static void writeKeyValue_DBHelp( FILE* pFile, const std::string& aKeyStr, const
fprintf(stderr, "fwrite to db failed\n");
}
+namespace {
+
class HelpKeyword
{
private:
@@ -190,6 +196,8 @@ public:
}
};
+}
+
namespace URLEncoder
{
static std::string encode(const std::string &rIn)