diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-23 18:30:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-23 18:39:07 +0200 |
commit | 22401181774dfb3882e7ad0335f1267d7885ff48 (patch) | |
tree | cc31d4ef17eef1e76458e47cef8675458c8719ea /forms/source | |
parent | 6425f7ff616f9aaad8b4e279385ed3f5ab65bfe2 (diff) |
Improved loplugin:literaltoboolconversion looking into cond. exprs.
...automatic rewriter fixes
Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/navigationbar.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx index acc4c37844dd..e5a712e43cd8 100644 --- a/forms/source/component/navigationbar.cxx +++ b/forms/source/component/navigationbar.cxx @@ -310,12 +310,12 @@ namespace frm // our boolean flags sal_Int32 nFlags = _rxInStream->readLong( ); - m_bEnabled = ( nFlags & PERSIST_ENABLED ) ? sal_True : sal_False; + m_bEnabled = ( nFlags & PERSIST_ENABLED ) ? true : false; m_nIconSize = ( nFlags & PERSIST_LARGEICONS ) ? 1 : 0; - m_bShowPosition = ( nFlags & PERSIST_SHOW_POSITION ) ? sal_True : sal_False; - m_bShowNavigation = ( nFlags & PERSIST_SHOW_NAVIGATION ) ? sal_True : sal_False; - m_bShowActions = ( nFlags & PERSIST_SHOW_ACTIONS ) ? sal_True : sal_False; - m_bShowFilterSort = ( nFlags & PERSIST_SHOW_FILTERSORT ) ? sal_True : sal_False; + m_bShowPosition = ( nFlags & PERSIST_SHOW_POSITION ) ? true : false; + m_bShowNavigation = ( nFlags & PERSIST_SHOW_NAVIGATION ) ? true : false; + m_bShowActions = ( nFlags & PERSIST_SHOW_ACTIONS ) ? true : false; + m_bShowFilterSort = ( nFlags & PERSIST_SHOW_FILTERSORT ) ? true : false; // our strings m_sHelpText = _rxInStream->readUTF( ); |