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

Miklos Vajna vmiklos at collabora.co.uk
Thu Mar 3 08:45:24 UTC 2016


 editeng/source/rtf/svxrtf.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0ba96ffcd8ee2296b5a30451a9310b5b097df514
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Mar 3 09:44:24 2016 +0100

    editeng: fix -Werror=unused-but-set-variable
    
    Change-Id: I14364bc833c97dbb5dfe323c65282f69ba7e393f

diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index be4305b..f3e564e 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -659,7 +659,6 @@ void SvxRTFParser::ReadInfo()
     DBG_ASSERT(m_xDocProps.is(),
         "SvxRTFParser::ReadInfo: no DocumentProperties");
     OUString sStr, sComment;
-    long nVersNo = 0;
 
     while( _nOpenBrakets && IsParserWorking() )
     {
@@ -734,7 +733,6 @@ void SvxRTFParser::ReadInfo()
             break;
 
         case RTF_VERN:
-            nVersNo = nTokenValue;
             break;
 
         case RTF_EDMINS:


More information about the Libreoffice-commits mailing list