summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/qa/extras/unowriter/unowriter.cxx2
-rw-r--r--sw/source/uibase/frmdlg/frmmgr.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx
index f1b2b7671cdf..d44bee733ab6 100644
--- a/sw/qa/extras/unowriter/unowriter.cxx
+++ b/sw/qa/extras/unowriter/unowriter.cxx
@@ -533,7 +533,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testPasteListener)
RndStdIds eFlyAnchor = pFlyFormat->GetAnchor().GetAnchorId();
// Without the working image listener in place, this test would have
// failed, eFlyAnchor was FLY_AT_PARA.
- CPPUNIT_ASSERT_EQUAL(RndStdIds::FLY_AS_CHAR, eFlyAnchor);
+ CPPUNIT_ASSERT_EQUAL(RndStdIds::FLY_AT_CHAR, eFlyAnchor);
pTransfer->Cut();
pListener->GetString().clear();
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx
index 5894fa74daab..e09d42623ee1 100644
--- a/sw/source/uibase/frmdlg/frmmgr.cxx
+++ b/sw/source/uibase/frmdlg/frmmgr.cxx
@@ -88,7 +88,7 @@ SwFlyFrameAttrMgr::SwFlyFrameAttrMgr( bool bNew, SwWrtShell* pSh, Frmmgr_Type nT
if (nType == Frmmgr_Type::GRF || nType == Frmmgr_Type::OLE)
{
- m_aSet.Put(SwFormatAnchor(RndStdIds::FLY_AS_CHAR));
+ m_aSet.Put(SwFormatAnchor(RndStdIds::FLY_AT_CHAR));
}
}
else if ( nType == Frmmgr_Type::NONE )