summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/flycnt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/flycnt.cxx')
-rw-r--r--sw/source/core/layout/flycnt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 6cdf0a9500d0..23500f5e8107 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -347,7 +347,7 @@ void SwFlyAtContentFrame::MakeAll(vcl::RenderContext* pRenderContext)
SwFormatSurround aMain( pFormat->GetSurround() );
if ( aMain.GetSurround() == css::text::WrapTextMode_NONE )
{
- aMain.SetSurround( css::text::WrapTextMode_THROUGHT );
+ aMain.SetSurround( css::text::WrapTextMode_THROUGH );
pFormat->SetFormatAttr( aMain );
}
pFormat->UnlockModify();
@@ -466,7 +466,7 @@ void SwFlyAtContentFrame::MakeAll(vcl::RenderContext* pRenderContext)
if ( aSurround.GetSurround() == css::text::WrapTextMode_NONE )
{
pFormat->LockModify();
- aSurround.SetSurround( css::text::WrapTextMode_THROUGHT );
+ aSurround.SetSurround( css::text::WrapTextMode_THROUGH );
pFormat->SetFormatAttr( aSurround );
pFormat->UnlockModify();
bOsz = false;