summaryrefslogtreecommitdiff
path: root/rsc/inc/rscdb.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 16:31:56 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 09:36:41 +0200
commitf19e32b101d56ceb7215a6a9d45d39a2cd264189 (patch)
tree660e03934bc5a036c7538945ab60b2267e7a58c6 /rsc/inc/rscdb.hxx
parent802765dbe5f79748453c985da08824fb9ddefe11 (diff)
loplugin:unusedmethods unused return value in rsc
Change-Id: I6301aed80083c21e26851817220de6e135eb4da7
Diffstat (limited to 'rsc/inc/rscdb.hxx')
-rw-r--r--rsc/inc/rscdb.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index 1a164cb7ccc4..2c2530175c2d 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -151,7 +151,7 @@ class RscTypCont
inline void SETCONST( RscConst *p1, const char * p2, ToolBoxItemType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); }
inline void SETCONST( RscConst *p1, const char * p2, ButtonType p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); }
inline void SETCONST( RscConst *p1, const char * p2, WindowAlign p3 ) { SETCONST(p1, p2, static_cast<sal_uInt32>(p3)); }
- RscEnum * InitLangType();
+ void InitLangType();
RscEnum * InitFieldUnitsType();
RscEnum * InitColor();
RscEnum * InitMapUnit();
@@ -263,11 +263,9 @@ public:
RSCBYTEORDER_TYPE GetByteOrder() const { return nByteOrder; }
rtl_TextEncoding GetSourceCharSet() const { return nSourceCharSet; }
- rtl_TextEncoding SetSourceCharSet( rtl_TextEncoding aCharSet )
+ void SetSourceCharSet( rtl_TextEncoding aCharSet )
{
- rtl_TextEncoding aOld = nSourceCharSet;
nSourceCharSet = aCharSet;
- return aOld;
}
OString GetSearchPath() const { return aSearchPath; }
void SetSysSearchPath( const OString& rStr ) { aSysSearchPath = rStr; }
@@ -285,7 +283,7 @@ public:
ERRTYPE WriteRc( WriteRcContext& rContext );
void WriteSrc( FILE * fOutput, sal_uLong nFileIndex,
bool bName = true );
- sal_uInt32 PutTranslatorKey( sal_uInt64 nKey );
+ void PutTranslatorKey( sal_uInt64 nKey );
void IncFilePos( sal_uLong nOffset ){ nFilePos += nOffset; }
};