[Libreoffice-commits] core.git: sw/source
LuboÅ¡ LuÅák
l.lunak at suse.cz
Tue Jul 16 06:27:01 PDT 2013
sw/source/filter/ww8/ww8par.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 360d9162c7d9e07652278a05301276b39e035fed
Author: LuboÅ¡ LuÅák <l.lunak at 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;
More information about the Libreoffice-commits
mailing list