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

Stephan Bergmann sbergman at redhat.com
Fri Jun 30 14:07:22 UTC 2017


 sot/source/sdstor/ucbstorage.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 42634a370dddb23c51747fe5616a4988f27e84d7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 30 16:06:10 2017 +0200

    aContentType is unused
    
    ...ever since f14feb754eba67b2420c67c310440d16845f62f5 "INTEGRATION: CWS
    warnings01"
    
    Change-Id: I96bbbf55fe3136550dac229e4f247457bcb66364

diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 25f3d60e4150..b6a8bae3eb2f 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -1731,17 +1731,12 @@ void UCBStorage_Impl::ReadContent()
             {
                 // insert all into the children list
                 OUString aTitle( xRow->getString(1) );
-                OUString aContentType;
                 if ( m_bIsLinked )
                 {
                     // unpacked storages have to deal with the meta-inf folder by themselves
                     if ( aTitle == "META-INF" )
                         continue;
                 }
-                else
-                {
-                    aContentType = xRow->getString(3);
-                }
 
                 bool bIsFolder( xRow->getBoolean(2) );
                 sal_Int64 nSize = xRow->getLong(4);


More information about the Libreoffice-commits mailing list