summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-04-01 15:31:18 +0300
committerStephan Bergmann <sbergman@redhat.com>2017-04-12 17:31:52 +0200
commit8913353a8fd2a1d281c2d8a33ca795d97201b7bc (patch)
treeff0cf6facf1a09bd638e8aea8a700fab46493d60 /sw/source/filter/ww8/wrtw8esh.cxx
parent506cab1a01b0481d0831a7a692a26dc5a5b55e91 (diff)
enum spelling: throught -> through
git grep -l "[ _\.]THROUGHT" | xargs sed -i 's/THROUGHT/THROUGH/g' git grep -l -i "[ _\.]THROUGHT" | xargs sed -i 's/throught/through/g' In ENUMs: THROUGHT = THROUGH (preserved as valid alternate spelling) In ooxmlexport8 - unit test confirms THROUGH = THROUGHT Change-Id: Iae0fef9a8adcb96761989f38903a24ffb1b91e77 Reviewed-on: https://gerrit.libreoffice.org/35998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/filter/ww8/wrtw8esh.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index a1d7f8a1f243..0e1ebe84c0e2 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -843,14 +843,14 @@ void PlcDrawObj::WritePlc( WW8Export& rWrt ) const
over the following dummy 0x01 graphic
*/
if (rFrameFormat.IsInline())
- eSurround = css::text::WrapTextMode_THROUGHT;
+ eSurround = css::text::WrapTextMode_THROUGH;
switch (eSurround)
{
case css::text::WrapTextMode_NONE:
nFlags |= 0x0020;
break;
- case css::text::WrapTextMode_THROUGHT:
+ case css::text::WrapTextMode_THROUGH:
nFlags |= 0x0060;
break;
case css::text::WrapTextMode_PARALLEL:
@@ -2124,7 +2124,7 @@ sal_Int32 SwBasicEscherEx::WriteFlyFrameAttr(const SwFrameFormat& rFormat,
// SwWW8ImplReader::Read_GrafLayer() imports these as opaque
// unconditionally, so if both are true, don't export the property.
bool bIsInHeader = sw::IsFlyFrameFormatInHeader(rFormat);
- bool bIsThrought = rFormat.GetSurround().GetValue() == css::text::WrapTextMode_THROUGHT;
+ bool bIsThrought = rFormat.GetSurround().GetValue() == css::text::WrapTextMode_THROUGH;
if (bIsInHeader)
{