summaryrefslogtreecommitdiff
path: root/l10ntools/inc
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2016-03-27 22:39:03 +0200
committerjan iversen <jani@documentfoundation.org>2016-03-27 22:48:01 +0200
commit9605ed83182b2ef670c0a0c559bbe1e7a5d902aa (patch)
tree625a3742ca69ad980287663d3d82abe72f1d0ef6 /l10ntools/inc
parent92a294678500852c343cfacd33da1ec5a7a40d4c (diff)
genlang, added genKey function
KID generation is an integrated part of the POT files. Updated lex files for simplification Change-Id: I8ba64e7119edc5267b2acd75c468ed2ff1cf16c2
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/gConv.hxx2
-rw-r--r--l10ntools/inc/gConvPo.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/inc/gConv.hxx b/l10ntools/inc/gConv.hxx
index d329a5ac0295..3b5c1d12a120 100644
--- a/l10ntools/inc/gConv.hxx
+++ b/l10ntools/inc/gConv.hxx
@@ -42,7 +42,7 @@ class convert_gen
virtual void doExecute() = 0;
// utility functions for converters
- int lexRead(char *sBuf, int nMax_size);
+ void lexRead(char *sBuf, size_t *result, size_t nMax_size);
static void lexStrncpy(char* s1, const char * s2, int n);
string& copySource(char const *yyText, bool bDoClear = true);
diff --git a/l10ntools/inc/gConvPo.hxx b/l10ntools/inc/gConvPo.hxx
index 5be3657a70bc..53257c2393e0 100644
--- a/l10ntools/inc/gConvPo.hxx
+++ b/l10ntools/inc/gConvPo.hxx
@@ -61,8 +61,8 @@ class convert_po : public convert_gen
string msId;
string msStr;
string msKey;
- bool mbFuzzy;
- filebuf outBuffer;
+ bool mbFuzzy;
+ filebuf mfOutBuffer;
void doExecute() override;
string genKeyId(const string& text);