You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2012/11/29 17:33:21 UTC

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

Author: paveljanik
Date: Thu Nov 29 16:33:20 2012
New Revision: 1415255

URL: http://svn.apache.org/viewvc?rev=1415255&view=rev
Log:
Initialize to prevent compiler warnings.

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=1415255&r1=1415254&r2=1415255&view=diff
==============================================================================
--- openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx (original)
+++ openoffice/trunk/main/writerfilter/source/dmapper/DomainMapper.cxx Thu Nov 29 16:33:20 2012
@@ -2847,7 +2847,7 @@ void DomainMapper::sprmWithProps( Sprm& 
                 {
                     //get value from style sheet and invert it
                     sal_Int16 nStyleValue = 0;
-                    double fDoubleValue;
+                    double fDoubleValue = 0;
                     uno::Any aStyleVal = m_pImpl->GetPropertyFromStyleSheet(ePropertyId);
                     if( !aStyleVal.hasValue() )
                     {