summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscdb.cxx
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/source/parser/rscdb.cxx
parent802765dbe5f79748453c985da08824fb9ddefe11 (diff)
loplugin:unusedmethods unused return value in rsc
Change-Id: I6301aed80083c21e26851817220de6e135eb4da7
Diffstat (limited to 'rsc/source/parser/rscdb.cxx')
-rw-r--r--rsc/source/parser/rscdb.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index d3daab20d5af..c3c34e76c150 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -352,12 +352,11 @@ private:
DECL_LINK_TYPED( CallBackWriteRc, const NameNode&, void );
DECL_LINK_TYPED( CallBackWriteSrc, const NameNode&, void );
- ERRTYPE WriteRc( RscTop * pCl, ObjNode * pRoot )
+ void WriteRc( RscTop * pCl, ObjNode * pRoot )
{
pClass = pCl;
if( pRoot )
pRoot->EnumNodes( LINK( this, RscEnumerateObj, CallBackWriteRc ) );
- return aError;
}
ERRTYPE WriteSrc( RscTop * pCl, ObjNode * pRoot ){
pClass = pCl;
@@ -639,10 +638,10 @@ bool MakeConsistent( RscTop * pRscTop )
return bRet;
}
-sal_uInt32 RscTypCont::PutTranslatorKey( sal_uInt64 nKey )
+void RscTypCont::PutTranslatorKey( sal_uInt64 nKey )
{
aIdTranslator[ nKey ] = nFilePos;
- return nPMId++;
+ nPMId++;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */