[Libreoffice-commits] core.git: idl/inc idl/source

Noel Grandin noel.grandin at collabora.co.uk
Wed Oct 26 09:56:55 UTC 2016


 idl/inc/types.hxx            |    4 +---
 idl/source/objects/types.cxx |    9 ++-------
 2 files changed, 3 insertions(+), 10 deletions(-)

New commits:
commit 88ec5de1c950d5b9c32fb98054557436d2aa426d
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Wed Oct 26 11:56:01 2016 +0200

    expand SvMetaType::ReadNamesSvIdl
    
    it just forwards to ReadNameSvIdl
    
    Change-Id: I803edb7a5977cf309e2cedaa3b4764bcbd933597

diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index 9768f8f..bcffc37 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -34,7 +34,7 @@ public:
     tools::SvRef<SvMetaType> aType;
     SvIdentifier             aSlotId;
                         SvMetaAttribute();
-                        SvMetaAttribute( SvMetaType * );
+    SvMetaAttribute( SvMetaType * );
 
     void                SetSlotId( const SvIdentifier & rId )
                         { aSlotId = rId; }
@@ -59,8 +59,6 @@ class SvMetaType : public SvMetaReference
     void                WriteSfxItem( const OString& rItemName, SvIdlDataBase & rBase,
                                       SvStream & rOutStm );
 protected:
-    bool                ReadNamesSvIdl( SvTokenStream & rInStm );
-
     bool                ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
 public:
             SvMetaType();
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 6a38caa..a7b913d 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -167,12 +167,12 @@ bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & ,
     if( rTok.Is( SvHash_interface() ) )
     {
         SetType( MetaTypeType::Interface );
-        bOk = ReadNamesSvIdl( rInStm );
+        bOk = ReadNameSvIdl( rInStm );
     }
     else if( rTok.Is( SvHash_shell() ) )
     {
         SetType( MetaTypeType::Shell );
-        bOk = ReadNamesSvIdl( rInStm );
+        bOk = ReadNameSvIdl( rInStm );
     }
     if( !bOk )
         rInStm.Seek( nTokPos );
@@ -190,11 +190,6 @@ bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase,
     return false;
 }
 
-bool SvMetaType::ReadNamesSvIdl( SvTokenStream & rInStm )
-{
-    return ReadNameSvIdl( rInStm );
-}
-
 void SvMetaType::ReadContextSvIdl( SvIdlDataBase & rBase,
                                       SvTokenStream & rInStm )
 {


More information about the Libreoffice-commits mailing list