summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-08-13 11:35:38 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-08-13 15:57:27 +0100
commitf57d0649b913f0192ed90de4082ff449f1f7083b (patch)
treea04c702ab421cf0be5bffe8bfd1be352dc872e35 /sw
parente554121fcabefa01b531c1b5b63c227f5a9a97fa (diff)
misc. cleanup.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 3b279bda524e..79ab70e16f7d 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -364,7 +364,8 @@ void DocxExport::OutputEndNode( const SwEndNode& rEndNode )
if ( rNd.IsEndNode() && rNd.StartOfSectionNode()->IsSectionNode() )
return;
- if ( !rNd.IsSectionNode() && IsInTable() ) // No sections in table
+ bool isInTable = IsInTable();
+ if ( !rNd.IsSectionNode() && isInTable ) // No sections in table
{
const SwSectionFmt* pParentFmt = rSect.GetFmt()->GetParent();
if( !pParentFmt )