summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-11 16:37:41 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-12 17:11:37 +0200
commit1820f9f272bc478f79819767ddeb34644e334405 (patch)
tree17d228dcce4c5b39b256868ce06b2a74973f3bc9 /sw
parent57951b30df91d36fb0d0a4abae2573201554e716 (diff)
wp:anchor attributes do not have w: prefix
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index f4899fa6a352..32773cc519c2 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2016,17 +2016,17 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size
if( isAnchor )
{
::sax_fastparser::FastAttributeList* attrList = m_pSerializer->createAttrList();
- attrList->add( FSNS( XML_w, XML_behindDoc ), rGrfNode.GetFlyFmt()->GetOpaque().GetValue() ? "0" : "1" );
- attrList->add( FSNS( XML_w, XML_distT ), "0" );
- attrList->add( FSNS( XML_w, XML_distB ), "0" );
- attrList->add( FSNS( XML_w, XML_distL ), "0" );
- attrList->add( FSNS( XML_w, XML_distR ), "0" );
- attrList->add( FSNS( XML_w, XML_simplePos ), "0" );
- attrList->add( FSNS( XML_w, XML_locked ), "0" );
- attrList->add( FSNS( XML_w, XML_layoutInCell ), "1" );
- attrList->add( FSNS( XML_w, XML_allowOverlap ), "1" ); // TODO
+ attrList->add( XML_behindDoc, rGrfNode.GetFlyFmt()->GetOpaque().GetValue() ? "0" : "1" );
+ attrList->add( XML_distT, "0" );
+ attrList->add( XML_distB, "0" );
+ attrList->add( XML_distL, "0" );
+ attrList->add( XML_distR, "0" );
+ attrList->add( XML_simplePos, "0" );
+ attrList->add( XML_locked, "0" );
+ attrList->add( XML_layoutInCell, "1" );
+ attrList->add( XML_allowOverlap, "1" ); // TODO
if( const SdrObject* pObj = rGrfNode.GetFlyFmt()->FindRealSdrObject())
- attrList->add( FSNS( XML_w, XML_relativeHeight ), OString::valueOf( sal_Int32( pObj->GetOrdNum())));
+ attrList->add( XML_relativeHeight, OString::valueOf( sal_Int32( pObj->GetOrdNum())));
m_pSerializer->startElementNS( XML_wp, XML_anchor, XFastAttributeListRef( attrList ));
m_pSerializer->singleElementNS( XML_wp, XML_simplePos, XML_x, "0", XML_y, "0", FSEND ); // required, unused
const char* relativeFromH;