You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2014/02/13 10:27:28 UTC

svn commit: r1567869 - /openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx

Author: orw
Date: Thu Feb 13 09:27:28 2014
New Revision: 1567869

URL: http://svn.apache.org/r1567869
Log:
124058: correction the formerly provided fix


Modified:
    openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx

Modified: openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx?rev=1567869&r1=1567868&r2=1567869&view=diff
==============================================================================
--- openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx (original)
+++ openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx Thu Feb 13 09:27:28 2014
@@ -2271,7 +2271,7 @@ void DomainMapper::sprmWithProps( Sprm& 
             StyleSheetPropertyMap* pStyleSheetPropertyMap = NULL;
             if ( m_pImpl->IsStyleSheetImport() )
             {
-                StyleSheetPropertyMap* pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
+                pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
             }
 
             if ( pStyleSheetPropertyMap != NULL )
@@ -2293,7 +2293,7 @@ void DomainMapper::sprmWithProps( Sprm& 
             StyleSheetPropertyMap* pStyleSheetPropertyMap = NULL;
             if ( m_pImpl->IsStyleSheetImport() )
             {
-                StyleSheetPropertyMap* pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
+                pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
             }
 
             ListsManager::Pointer pListTable = m_pImpl->GetListTable();
@@ -2321,7 +2321,7 @@ void DomainMapper::sprmWithProps( Sprm& 
                 {
                     rtl::OUString sNone;
                     rContext->Insert( PROP_NUMBERING_STYLE_NAME, true, uno::makeAny( sNone ) );
-                }                
+                }
             }
         }
         break;