diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:17:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:43 +0200 |
commit | 73b9846e8242f4d383717d627cb84e97b91c58f3 (patch) | |
tree | b2054288d51dcbf102b99dcd8c83cb9ad9d3755e /l10ntools | |
parent | loplugin:salbool: Automatic rewrite of sal_False/True (diff) | |
download | core-73b9846e8242f4d383717d627cb84e97b91c58f3.tar.gz core-73b9846e8242f4d383717d627cb84e97b91c58f3.zip |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I689887a14e6797a83c31069d3fa7a3b20d33a681
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/export.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index 98e6a64b2f84..f176a42c4845 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -134,7 +134,7 @@ int GetError() // get error at global instance of class Export if (global::exporter->GetError()) return 1; - return sal_False; + return false; } } // extern "C" diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index 3f23923216fb..05a9b5f7cefb 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -315,13 +315,13 @@ XMLFile::XMLFile( const OString &rFileName ) // the file name, empty if created : XMLParentNode( nullptr ) , m_sFileName( rFileName ) { - m_aNodes_localize.insert( TagMap::value_type(OString("bookmark") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("variable") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("paragraph") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("alt") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("caption") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("title") , sal_True) ); - m_aNodes_localize.insert( TagMap::value_type(OString("link") , sal_True) ); + m_aNodes_localize.insert( TagMap::value_type(OString("bookmark") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("variable") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("paragraph") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("alt") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("caption") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("title") , true) ); + m_aNodes_localize.insert( TagMap::value_type(OString("link") , true) ); } void XMLFile::Extract() |