summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmltab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r--sw/source/filter/html/htmltab.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 15f10c1090fa..0ec5a972e556 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -2820,7 +2820,7 @@ void SectionSaveStruct::Restore( SwHTMLParser& rParser )
class CellSaveStruct : public SectionSaveStruct
{
- OUString m_aStyle, m_aId, m_aClass, m_aLang, m_aDir;
+ OUString m_aStyle, m_aId, m_aClass;
OUString m_aBGImage;
Color m_aBGColor;
std::shared_ptr<SvxBoxItem> m_xBoxItem;
@@ -2886,7 +2886,7 @@ CellSaveStruct::CellSaveStruct( SwHTMLParser& rParser, HTMLTable const *pCurTabl
m_bNoWrap( false ),
m_bNoBreak( false )
{
- OUString aNumFormat, aValue;
+ OUString aNumFormat, aValue, aDir, aLang;
SvxAdjust eAdjust( pCurTable->GetInheritedAdjust() );
if( bReadOpt )
@@ -2952,10 +2952,10 @@ CellSaveStruct::CellSaveStruct( SwHTMLParser& rParser, HTMLTable const *pCurTabl
m_aClass = rOption.GetString();
break;
case HtmlOptionId::LANG:
- m_aLang = rOption.GetString();
+ aLang = rOption.GetString();
break;
case HtmlOptionId::DIR:
- m_aDir = rOption.GetString();
+ aDir = rOption.GetString();
break;
case HtmlOptionId::SDNUM:
aNumFormat = rOption.GetString();
@@ -3003,14 +3003,14 @@ CellSaveStruct::CellSaveStruct( SwHTMLParser& rParser, HTMLTable const *pCurTabl
rParser.InsertAttr(&rParser.m_xAttrTab->pAdjust, SvxAdjustItem(eAdjust, RES_PARATR_ADJUST),
xCntxt.get());
- if( SwHTMLParser::HasStyleOptions( m_aStyle, m_aId, m_aClass, &m_aLang, &m_aDir ) )
+ if( SwHTMLParser::HasStyleOptions( m_aStyle, m_aId, m_aClass, &aLang, &aDir ) )
{
SfxItemSet aItemSet( rParser.m_xDoc->GetAttrPool(),
rParser.m_pCSS1Parser->GetWhichMap() );
SvxCSS1PropertyInfo aPropInfo;
if( rParser.ParseStyleOptions( m_aStyle, m_aId, m_aClass, aItemSet,
- aPropInfo, &m_aLang, &m_aDir ) )
+ aPropInfo, &aLang, &aDir ) )
{
SfxPoolItem const* pItem;
if (SfxItemState::SET == aItemSet.GetItemState(RES_BOX, false, &pItem))