sw/source/filter/ww8/ww8par.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 360d9162c7d9e07652278a05301276b39e035fed
Author: Luboš Luňák <l.lu...@suse.cz>
Date:   Fri Jul 12 15:29:51 2013 +0200

    remove pointless empty variable
    
    Change-Id: I118dccbe8461ba4c90a8c8d54e6f3fc46cb08b1f

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 9920c07..f50eae5 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -3924,8 +3924,6 @@ void GiveNodePageDesc(SwNodeIndex &rIdx, const 
SwFmtPageDesc &rPgDesc,
 SwFmtPageDesc wwSectionManager::SetSwFmtPageDesc(mySegIter &rIter,
     mySegIter &rStart, bool bIgnoreCols)
 {
-    SwFmtPageDesc aEmpty;
-
     if (IsNewDoc() && rIter == rStart)
     {
         rIter->mpPage =
@@ -3940,7 +3938,7 @@ SwFmtPageDesc 
wwSectionManager::SetSwFmtPageDesc(mySegIter &rIter,
     }
     OSL_ENSURE(rIter->mpPage, "no page!");
     if (!rIter->mpPage)
-        return aEmpty;
+        return SwFmtPageDesc();
 
     // Set page before hd/ft
     const wwSection *pPrevious = 0;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to