Author: alg
Date: Wed Jan 15 01:08:19 2014
New Revision: 1558256

URL: http://svn.apache.org/r1558256
Log:
corrected handling in fallback, return was set at wrong place

Modified:
    openoffice/branches/alg_writerframes/main/sw/source/core/attr/format.cxx

Modified: 
openoffice/branches/alg_writerframes/main/sw/source/core/attr/format.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/branches/alg_writerframes/main/sw/source/core/attr/format.cxx?rev=1558256&r1=1558255&r2=1558256&view=diff
==============================================================================
--- openoffice/branches/alg_writerframes/main/sw/source/core/attr/format.cxx 
(original)
+++ openoffice/branches/alg_writerframes/main/sw/source/core/attr/format.cxx 
Wed Jan 15 01:08:19 2014
@@ -624,9 +624,9 @@ sal_Bool SwFmt::SetFmtAttr( const SfxIte
                     ModifyNotification(&aChgOld, &aChgNew);
                 }
             }
-        }
 
-        return bRet;
+            return bRet;
+        }
     }
 
     // wenn Modify gelockt ist, werden keine Modifies verschickt;
@@ -838,6 +838,7 @@ const SvxBrushItem& SwFmt::GetBackground
         // the fill attributes [XATTR_FILL_FIRST .. XATTR_FILL_LAST] are used
         // as good as possible to create a fallback representation and return 
that
         aSvxBrushItem = getSvxBrushItemFromSourceSet(aSet, bInP);
+
         return aSvxBrushItem;
     }
 


Reply via email to