summaryrefslogtreecommitdiff
path: root/l10ntools/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-03 09:43:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-03 09:43:06 +0100
commita39fb49535bbcdecd0a605250f82335aee690937 (patch)
tree94b8b631c1ca1bf95af14c076f451e8157cc1706 /l10ntools/inc
parentfba6f6fb514ee84bd42f765d11a5627590d04cfd (diff)
various loplugin warnings
Change-Id: I9078ba18d8897a89a472fe75385542dac0c6bf78
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/gConv.hxx2
-rw-r--r--l10ntools/inc/gConvDB.hxx4
-rw-r--r--l10ntools/inc/gConvPo.hxx10
-rw-r--r--l10ntools/inc/gConvProp.hxx4
-rw-r--r--l10ntools/inc/gConvSrc.hxx6
-rw-r--r--l10ntools/inc/gConvTree.hxx4
-rw-r--r--l10ntools/inc/gConvUlf.hxx4
-rw-r--r--l10ntools/inc/gConvXcs.hxx4
-rw-r--r--l10ntools/inc/gConvXcu.hxx4
-rw-r--r--l10ntools/inc/gConvXhp.hxx4
-rw-r--r--l10ntools/inc/gConvXrm.hxx4
11 files changed, 25 insertions, 25 deletions
diff --git a/l10ntools/inc/gConv.hxx b/l10ntools/inc/gConv.hxx
index 5b79e4ad55a4..7287a499ca10 100644
--- a/l10ntools/inc/gConv.hxx
+++ b/l10ntools/inc/gConv.hxx
@@ -76,7 +76,7 @@ class convert_gen_impl
// utility functions for converters
void lexRead (char *sBuf, int *nResult, int nMax_size);
void writeSourceFile(const std::string& line);
- std::string& copySource (char *yyText, bool bDoClear = true);
+ std::string& copySource (char const *yyText, bool bDoClear = true);
protected:
std::string msSourceBuffer, msCopyText;
diff --git a/l10ntools/inc/gConvDB.hxx b/l10ntools/inc/gConvDB.hxx
index 54dba4e00c28..0cbb746b066c 100644
--- a/l10ntools/inc/gConvDB.hxx
+++ b/l10ntools/inc/gConvDB.hxx
@@ -36,14 +36,14 @@ class convert_db : public convert_gen_impl
{
public:
convert_db(l10nMem& crMemory);
- ~convert_db();
+ virtual ~convert_db();
private:
static const int NUMFIELD = 16;
std::string msFields[NUMFIELD];
int miSize;
- void execute();
+ void execute() override;
bool collectLine();
};
#endif
diff --git a/l10ntools/inc/gConvPo.hxx b/l10ntools/inc/gConvPo.hxx
index 7d2d8f25ac44..b46706440a9f 100644
--- a/l10ntools/inc/gConvPo.hxx
+++ b/l10ntools/inc/gConvPo.hxx
@@ -40,7 +40,7 @@ class convert_po : public convert_gen_impl
convert_po(l10nMem& crMemory);
- ~convert_po();
+ virtual ~convert_po();
void startLook ();
void setValue (char *syyText, int iLineCnt);
@@ -57,15 +57,15 @@ class convert_po : public convert_gen_impl
bool mbFuzzy;
std::filebuf outBuffer;
- void execute();
+ void execute() override;
void startSave(const std::string& sLanguage,
- const std::string& sFile);
+ const std::string& sFile) override;
void save(const std::string& sFileName,
const std::string& sKey,
const std::string& sENUStext,
const std::string& sText,
- bool bFuzzy);
- void endSave();
+ bool bFuzzy) override;
+ void endSave() override;
};
#endif
diff --git a/l10ntools/inc/gConvProp.hxx b/l10ntools/inc/gConvProp.hxx
index ce2ee3833411..8b1c2816e940 100644
--- a/l10ntools/inc/gConvProp.hxx
+++ b/l10ntools/inc/gConvProp.hxx
@@ -36,10 +36,10 @@ class convert_prop : public convert_gen_impl
{
public:
convert_prop(l10nMem& crMemory);
- ~convert_prop();
+ virtual ~convert_prop();
private:
- void execute();
+ void execute() override;
};
#endif
diff --git a/l10ntools/inc/gConvSrc.hxx b/l10ntools/inc/gConvSrc.hxx
index e8de3708a359..e9a21399ca1e 100644
--- a/l10ntools/inc/gConvSrc.hxx
+++ b/l10ntools/inc/gConvSrc.hxx
@@ -37,7 +37,7 @@ class convert_src : public convert_gen_impl
bool mbExpectValue;
convert_src(l10nMem& crMemory);
- ~convert_src();
+ virtual ~convert_src();
void setValue (char *syyText, char *sbuildValue);
void setLang (char *syyText, bool bEnUs);
@@ -47,7 +47,7 @@ class convert_src : public convert_gen_impl
void setCmd (char *syyText);
void setMacro (char *syyText);
void setList (char *syyText);
- void setListItem (char *syyText, bool bIsStart);
+ void setListItem (char const *syyText, bool bIsStart);
void setNL (char *syyText, bool bMacro);
void startBlock (char *syyText);
void stopBlock (char *syyText);
@@ -67,7 +67,7 @@ class convert_src : public convert_gen_impl
bool mbInListItem;
int miListCount;
int miMacroLevel;
- void execute();
+ void execute() override;
void trim(std::string& sText);
void buildKey(std::string& sKey);
void insertLanguagePart(std::string& sKey, std::string& sTextType);
diff --git a/l10ntools/inc/gConvTree.hxx b/l10ntools/inc/gConvTree.hxx
index 0ec25ade4cb2..dda10ca89712 100644
--- a/l10ntools/inc/gConvTree.hxx
+++ b/l10ntools/inc/gConvTree.hxx
@@ -52,7 +52,7 @@ class convert_tree : public convert_gen_impl
} STATE_VAL;
convert_tree(l10nMem& crMemory);
- ~convert_tree();
+ virtual ~convert_tree();
void setString (char *yytext);
void setState (char *yytext, STATE_TAG eNewStateTag, STATE_VAL eNewStateVAL);
@@ -70,6 +70,6 @@ class convert_tree : public convert_gen_impl
STATE_VAL meStateVal;
int miCntLanguages;
- void execute();
+ void execute() override;
};
#endif
diff --git a/l10ntools/inc/gConvUlf.hxx b/l10ntools/inc/gConvUlf.hxx
index 30e79ad6ccca..2fdbea6ced03 100644
--- a/l10ntools/inc/gConvUlf.hxx
+++ b/l10ntools/inc/gConvUlf.hxx
@@ -36,7 +36,7 @@ class convert_ulf : public convert_gen_impl
{
public:
convert_ulf(l10nMem& crMemory);
- ~convert_ulf();
+ virtual ~convert_ulf();
void setKey(char *syyText);
void setText(char *syyText, bool bIsEnUs);
@@ -46,7 +46,7 @@ class convert_ulf : public convert_gen_impl
std::string msKey;
- void execute();
+ void execute() override;
void handleLines();
};
#endif
diff --git a/l10ntools/inc/gConvXcs.hxx b/l10ntools/inc/gConvXcs.hxx
index d1b241eb81cd..a72f7c022c12 100644
--- a/l10ntools/inc/gConvXcs.hxx
+++ b/l10ntools/inc/gConvXcs.hxx
@@ -36,7 +36,7 @@ class convert_xcs : public convert_gen_impl
{
public:
convert_xcs(l10nMem& crMemory);
- ~convert_xcs();
+ virtual ~convert_xcs();
void setKey(char *syyText);
void unsetKey(char *syyText);
@@ -47,6 +47,6 @@ class convert_xcs : public convert_gen_impl
std::string msKey;
bool mbCollectingData;
- void execute();
+ void execute() override;
};
#endif
diff --git a/l10ntools/inc/gConvXcu.hxx b/l10ntools/inc/gConvXcu.hxx
index db106278b630..e751e368f9ad 100644
--- a/l10ntools/inc/gConvXcu.hxx
+++ b/l10ntools/inc/gConvXcu.hxx
@@ -39,7 +39,7 @@ class convert_xcu : public convert_gen_impl
bool mbNoCollectingData;
convert_xcu(l10nMem& crMemory);
- ~convert_xcu();
+ virtual ~convert_xcu();
void pushKey(char *syyText);
void popKey(char *syyText);
@@ -55,6 +55,6 @@ class convert_xcu : public convert_gen_impl
int miLevel;
bool mbNoTranslate;
- void execute();
+ void execute() override;
};
#endif
diff --git a/l10ntools/inc/gConvXhp.hxx b/l10ntools/inc/gConvXhp.hxx
index 857966f16d0c..04de5aa87a83 100644
--- a/l10ntools/inc/gConvXhp.hxx
+++ b/l10ntools/inc/gConvXhp.hxx
@@ -36,7 +36,7 @@ class convert_xhp : public convert_gen_impl
{
public:
convert_xhp(l10nMem& crMemory);
- ~convert_xhp();
+ virtual ~convert_xhp();
void setString(char *yytext);
void openTag(char *yytext);
@@ -72,6 +72,6 @@ class convert_xhp : public convert_gen_impl
std::string *msLangText;
std::ofstream *mcOutputFiles;
int miCntLanguages;
- void execute();
+ void execute() override;
};
#endif
diff --git a/l10ntools/inc/gConvXrm.hxx b/l10ntools/inc/gConvXrm.hxx
index e10d9998383d..b29b5362a604 100644
--- a/l10ntools/inc/gConvXrm.hxx
+++ b/l10ntools/inc/gConvXrm.hxx
@@ -37,7 +37,7 @@ class convert_xrm : public convert_gen_impl
public:
bool mbNoCollectingData;
convert_xrm(l10nMem& crMemory);
- ~convert_xrm();
+ virtual ~convert_xrm();
void setId(char *yytext);
void setLang(char *yytext);
@@ -51,6 +51,6 @@ class convert_xrm : public convert_gen_impl
bool mbIsLang;
std::string msTag;
- void execute();
+ void execute() override;
};
#endif