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

Tor Lillqvist tml at iki.fi
Tue Mar 26 10:25:55 PDT 2013


 lotuswordpro/source/filter/lwpoleobject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 700b6c1cbf4fee4044aa2b7179d3f1886ae928c6
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Mar 26 19:24:15 2013 +0200

    Fix warning: unused variable 'sFormat' [loplugin]
    
    Presumably the call to m_pObjStrm->QuickReadStringPtr() is still necessary
    because of its side-effects (to update the stream pointer).
    
    Change-Id: I69f24de4e956d5fefb4fc5382c0cc7e0173a5a0f

diff --git a/lotuswordpro/source/filter/lwpoleobject.cxx b/lotuswordpro/source/filter/lwpoleobject.cxx
index c818118..842e199 100644
--- a/lotuswordpro/source/filter/lwpoleobject.cxx
+++ b/lotuswordpro/source/filter/lwpoleobject.cxx
@@ -220,7 +220,7 @@ void LwpOleObject::Read()
     {
         m_pObjStrm->QuickReaduInt16();
 
-        OUString sFormat = m_pObjStrm->QuickReadStringPtr();
+        m_pObjStrm->QuickReadStringPtr();
 
         if (LwpFileHeader::m_nFileRevision < 0x000B)
         {


More information about the Libreoffice-commits mailing list