summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-29 17:05:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-29 18:29:59 +0200
commit0acd47f68e3efb46dafd866ee95497da818fa34f (patch)
treee7bc16002983079713868dd91478d24aac6cfed3 /rsc/source/parser
parent17cb3391ece392497eeff4ed32cbf89b4bcb5825 (diff)
Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/END
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rscdb.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 75aa7ec9e8a1..de6844f0fc71 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -383,7 +383,7 @@ IMPL_LINK( RscEnumerateObj, CallBackWriteRc, ObjNode *, pObjNode )
return 0;
}
-IMPL_LINK_INLINE_START( RscEnumerateObj, CallBackWriteSrc, ObjNode *, pObjNode )
+IMPL_LINK( RscEnumerateObj, CallBackWriteSrc, ObjNode *, pObjNode )
{
if( pObjNode->GetFileKey() == lFileKey )
{
@@ -394,7 +394,6 @@ IMPL_LINK_INLINE_START( RscEnumerateObj, CallBackWriteSrc, ObjNode *, pObjNode )
}
return 0;
}
-IMPL_LINK_INLINE_END( RscEnumerateObj, CallBackWriteSrc, ObjNode *, pObjNode )
void RscEnumerateObj :: WriteRcFile( RscWriteRc & rMem, FILE * fOut )
{
@@ -474,19 +473,17 @@ public:
}
};
-IMPL_LINK_INLINE_START( RscEnumerateRef, CallBackWriteRc, RscTop *, pRef )
+IMPL_LINK( RscEnumerateRef, CallBackWriteRc, RscTop *, pRef )
{
aEnumObj.WriteRc( pRef, pRef->GetObjNode() );
return 0;
}
-IMPL_LINK_INLINE_END( RscEnumerateRef, CallBackWriteRc, RscTop *, pRef )
-IMPL_LINK_INLINE_START( RscEnumerateRef, CallBackWriteSrc, RscTop *, pRef )
+
+IMPL_LINK( RscEnumerateRef, CallBackWriteSrc, RscTop *, pRef )
{
aEnumObj.WriteSrc( pRef, pRef->GetObjNode() );
return 0;
}
-IMPL_LINK_INLINE_END( RscEnumerateRef, CallBackWriteSrc, RscTop *, pRef )
-
ERRTYPE RscTypCont::WriteRc( WriteRcContext& rContext )
{
@@ -576,13 +573,12 @@ inline RscDel::RscDel( RscTop * pRoot, sal_uLong lKey )
pRoot->EnumNodes( LINK( this, RscDel, Delete ) );
}
-IMPL_LINK_INLINE_START( RscDel, Delete, RscTop *, pNode )
+IMPL_LINK( RscDel, Delete, RscTop *, pNode )
{
if( pNode->GetObjNode() )
pNode->pObjBiTree = pNode->GetObjNode()->DelObjNode( pNode, lFileKey );
return 0;
}
-IMPL_LINK_INLINE_END( RscDel, Delete, RscTop *, pNode )
void RscTypCont :: Delete( sal_uLong lFileKey )
{