[Libreoffice-commits] libcdr.git: src/lib

Fridrich Å trba fridrich.strba at bluewin.ch
Fri Dec 20 23:39:26 PST 2013


 src/lib/CDRInternalStream.h |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

New commits:
commit 1136084ac3b014acb1455dae8ed7dd0d7dc284f0
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Sat Dec 21 08:38:57 2013 +0100

    Implement the RVNGInputStream::existsSubStream
    
    Change-Id: I6ab1179522f8c109ccb5178ca9087d25bbf15187

diff --git a/src/lib/CDRInternalStream.h b/src/lib/CDRInternalStream.h
index 1b7e38f..6a265ed 100644
--- a/src/lib/CDRInternalStream.h
+++ b/src/lib/CDRInternalStream.h
@@ -46,23 +46,27 @@ public:
   CDRInternalStream(const std::vector<unsigned char> &buffer);
   ~CDRInternalStream() {}
 
-  virtual bool isStructured()
+  bool isStructured()
   {
     return false;
   }
-  virtual unsigned subStreamCount()
+  unsigned subStreamCount()
   {
     return 0;
   }
-  virtual const char *subStreamName(unsigned)
+  const char *subStreamName(unsigned)
   {
     return 0;
   }
-  virtual librevenge::RVNGInputStream *getSubStreamByName(const char *)
+  bool existsSubStream(const char *)
+  {
+    return false;
+  }
+  librevenge::RVNGInputStream *getSubStreamByName(const char *)
   {
     return 0;
   }
-  virtual librevenge::RVNGInputStream *getSubStreamById(unsigned)
+  librevenge::RVNGInputStream *getSubStreamById(unsigned)
   {
     return 0;
   }


More information about the Libreoffice-commits mailing list