summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-06 08:17:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-06 08:17:32 +0200
commitf593be5bcde09965bb3478e00bcdedbc6bd5bc57 (patch)
treec00f90f03e668f856212ae3c8342825349a4e4a9 /sc
parent6a37faafa545ccf0b242d4f3b179dcbe710a2814 (diff)
SfxBoolItem takes a sal_uInt16 nWhich as first argument
This code was like that ever since 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24 "initial import." From the surrounding code, the best bet appears to be ATTR_LINEBREAK? Change-Id: Id0e3346f2f9bb9c00c202003d06c2518dea38112
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/starcalc/scflt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 682eb20927c7..b21f9a46db8b 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -1189,7 +1189,7 @@ void Sc10Import::LoadPatternCollection()
}
if( ( OJustify & ojWordBreak ) == ojWordBreak )
- rItemSet.Put( SfxBoolItem( sal_True ) );
+ rItemSet.Put( SfxBoolItem( ATTR_LINEBREAK, true ) );
if( ( OJustify & ojBottomTop ) == ojBottomTop )
rItemSet.Put( SfxInt32Item( ATTR_ROTATE_VALUE, 9000 ) );
else if( ( OJustify & ojTopBottom ) == ojTopBottom )
@@ -1830,7 +1830,7 @@ void Sc10Import::LoadColAttr(SCCOL Col, SCTAB Tab)
}
if (OJustify & ojWordBreak)
- aScPattern.GetItemSet().Put(SfxBoolItem(sal_True));
+ aScPattern.GetItemSet().Put(SfxBoolItem(ATTR_LINEBREAK, true));
if (OJustify & ojBottomTop)
aScPattern.GetItemSet().Put(SfxInt32Item(ATTR_ROTATE_VALUE,9000));
else if (OJustify & ojTopBottom)