summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimpit.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:59:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:21 +0100
commit8bc3751ea3ce1162137df2d0e10502cd24a3cb92 (patch)
tree6e0a16a99e7e9c20bfdb97510da35df9af5256fa /sw/source/filter/xml/xmlimpit.cxx
parent7dca2dd95b21df2b36c6a8e7e9edfb49dbd2acd1 (diff)
bool improvements
Change-Id: Ibeb658e73b588f90242c95d23149f2ef45a7a815
Diffstat (limited to 'sw/source/filter/xml/xmlimpit.cxx')
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index edd06c1da78c..9f6935cc7faa 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -631,13 +631,13 @@ bool SvXMLImportItemMapper::PutXMLValue(
if( IsXMLToken( rValue, XML_ALWAYS ) ||
IsXMLToken( rValue, XML_TRUE ) )
{
- pFmtKeep->SetValue( sal_True );
+ pFmtKeep->SetValue( true );
bOk = true;
}
else if( IsXMLToken( rValue, XML_AUTO ) ||
IsXMLToken( rValue, XML_FALSE ) )
{
- pFmtKeep->SetValue( sal_False );
+ pFmtKeep->SetValue( false );
bOk = true;
}
}
@@ -811,13 +811,13 @@ bool SvXMLImportItemMapper::PutXMLValue(
if( IsXMLToken( rValue, XML_AUTO ) ||
IsXMLToken( rValue, XML_TRUE ) )
{
- pSplit->SetValue( sal_True );
+ pSplit->SetValue( true );
bOk = true;
}
else if( IsXMLToken( rValue, XML_ALWAYS ) ||
IsXMLToken( rValue, XML_FALSE ) )
{
- pSplit->SetValue( sal_False );
+ pSplit->SetValue( false );
bOk = true;
}
}
@@ -965,12 +965,12 @@ bool SvXMLImportItemMapper::PutXMLValue(
if( IsXMLToken( rValue, XML_COLLAPSING ) )
{
- pBorders->SetValue( sal_True );
+ pBorders->SetValue( true );
bOk = true;
}
else if( IsXMLToken( rValue, XML_SEPARATING ) )
{
- pBorders->SetValue( sal_False );
+ pBorders->SetValue( false );
bOk = true;
}
else