summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-02 11:09:37 +0200
committerNoel Grandin <noel@peralex.com>2015-04-07 10:24:54 +0200
commite4688a3d41265946007c6c9a5c5b5742078c74a3 (patch)
treed57cd9a10d8049f0d8b85f297d1fdead673e5439 /idl/source
parent82b71d4764c12eb173f6d98b94d6bbbc5d296d7e (diff)
loplugin:staticmethods
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/slot.cxx4
-rw-r--r--idl/source/prj/database.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index e0a895399515..affaf4a04b32 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -289,14 +289,14 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
bOk |= aDisableFlags.ReadSvIdl( SvHash_DisableFlags(), rInStm );
if( aGet.ReadSvIdl( SvHash_Get(), rInStm ) )
{
- rBase.WriteError( "warning", OUStringToOString(rInStm.GetFileName(), RTL_TEXTENCODING_UTF8),
+ SvIdlDataBase::WriteError( "warning", OUStringToOString(rInStm.GetFileName(), RTL_TEXTENCODING_UTF8),
"<Get> old style, use Readonly",
rInStm.GetToken()->GetLine(),
rInStm.GetToken()->GetColumn() );
}
if( aSet.ReadSvIdl( SvHash_Set(), rInStm ) )
{
- rBase.WriteError( "warning", OUStringToOString(rInStm.GetFileName(), RTL_TEXTENCODING_UTF8),
+ SvIdlDataBase::WriteError( "warning", OUStringToOString(rInStm.GetFileName(), RTL_TEXTENCODING_UTF8),
"<Set> old style, use method declaration",
rInStm.GetToken()->GetLine(),
rInStm.GetToken()->GetColumn() );
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index 98d02993bb73..8cdf10d34213 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -460,7 +460,7 @@ void SvIdlDataBase::Write(const OString& rText)
void SvIdlDataBase::WriteError( const OString& rErrWrn,
const OString& rFileName,
const OString& rErrorText,
- sal_uLong nRow, sal_uLong nColumn ) const
+ sal_uLong nRow, sal_uLong nColumn )
{
// error treatment
fprintf( stderr, "\n%s --- %s: ( %ld, %ld )\n",