[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Fri Jun 30 15:13:53 UTC 2017


 sfx2/source/bastyp/mieclip.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ab3268d47b892a4dd4aba4cd5b3d02974157f70a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 30 17:13:00 2017 +0200

    sVersion is unused
    
    ...ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import"
    
    Change-Id: I4a19ac7016c038515c4e028de5b2435bd79cbd2f

diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index b9680af0a9dd..71d95da911c5 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -34,7 +34,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
     bool bRet = false;
     pStrm.reset();
 
-    OString sLine, sVersion;
+    OString sLine;
     sal_Int32 nStt = -1, nEnd = -1, nFragStart = -1, nFragEnd = -1;
     sal_Int32 nIndex = 0;
 
@@ -44,7 +44,6 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
     if( rStream.ReadLine( sLine ) &&
         sLine.getToken( 0, ':', nIndex ) == "Version" )
     {
-        sVersion = sLine.copy( nIndex );
         while( rStream.ReadLine( sLine ) )
         {
             nIndex = 0;


More information about the Libreoffice-commits mailing list