summaryrefslogtreecommitdiffstats
path: root/l10ntools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-28 08:39:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-30 06:23:00 +0000
commita45827b2308febc7369db27fb489a6d1389534e1 (patch)
tree0b697341738010da35bd0a6a6189ef6761e5db0a /l10ntools/inc
parentGive PyUNO structs/exceptions their own separate type (diff)
downloadcore-a45827b2308febc7369db27fb489a6d1389534e1.tar.gz
core-a45827b2308febc7369db27fb489a6d1389534e1.zip
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/export.hxx2
-rw-r--r--l10ntools/inc/xmlparse.hxx19
-rw-r--r--l10ntools/inc/xrmmerge.hxx1
3 files changed, 2 insertions, 20 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index b868c7a546ad..9badf8b9ad3f 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -148,8 +148,6 @@ private:
bool WriteData( ResData *pResData, bool bCreateNew = false ); ///< called before dest. cur ResData
bool WriteExportList( ResData *pResData, ExportList& rExportList, const sal_uInt16 nTyp );
- OString MergePairedList( OString const & sLine , OString const & sText );
-
OString FullId(); ///< creates cur. GID
static OString GetPairedListID(const OString & rText);
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index ab3f0e26e9e1..69ee3f9317ca 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -240,23 +240,12 @@ public:
/// Return a Unicode String representation of this object
OString ToOString();
- void SetProject ( OString const & sPrj ) { m_sProject = sPrj; }
- void SetFileName ( OString const & sFileName ) { m_sFilename = sFileName; }
void SetId ( OString const & sTheId ) { m_sId = sTheId; }
- void SetResourceType ( OString const & sResType ) { m_sResourceType = sResType; }
void SetLanguageId ( OString const & sLangId ) { m_sLanguageId = sLangId; }
void SetPos ( int nPos ) { m_nPos = nPos; }
void SetOldRef ( OString const & sOldRef ) { m_sOldRef = sOldRef; }
- int GetPos() { return m_nPos; }
- OString GetProject() const { return m_sProject; }
- OString GetFileName() const { return m_sFilename; }
- OString GetId() const { return m_sId; }
OString GetOldref() const { return m_sOldRef; }
- OString GetResourceType() const { return m_sResourceType; }
- OString GetLanguageId() const { return m_sLanguageId; }
-
-
};
/** Holds character data
@@ -265,16 +254,14 @@ class XMLData : public XMLChildNode
{
private:
OString m_sData;
- bool m_bIsNewCreated;
public:
/// create a data node
XMLData(
const OString &rData, // the initial data
- XMLParentNode *pParent, // the parent node of this data, typically a element node
- bool bNewCreated = false
+ XMLParentNode *pParent // the parent node of this data, typically a element node
)
- : XMLChildNode( pParent ), m_sData( rData ), m_bIsNewCreated( bNewCreated ){}
+ : XMLChildNode( pParent ), m_sData( rData ) {}
// Default copy constructor and copy operator work well.
@@ -283,8 +270,6 @@ public:
/// returns the data
OString GetData() const { return m_sData; }
- bool isNew() const { return m_bIsNewCreated; }
-
/// adds new character data to the existing one
void AddData( const OString &rData ) { m_sData += rData; }
};
diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx
index 13fb191e3a00..9138369f71ea 100644
--- a/l10ntools/inc/xrmmerge.hxx
+++ b/l10ntools/inc/xrmmerge.hxx
@@ -57,7 +57,6 @@ protected:
)=0;
OString GetGID() { return sGID; }
- OString GetLID() { return sLID; }
public:
XRMResParser();