diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:26 +0200 |
commit | 60467763e32833232394e05642338f60346c0d53 (patch) | |
tree | 909ca991a159262aa6d86bf44c9b2c56834fec33 /sc/source/ui/view/tabvwsh3.cxx | |
parent | loplugin:simplifybool (diff) | |
download | core-60467763e32833232394e05642338f60346c0d53.tar.gz core-60467763e32833232394e05642338f60346c0d53.zip |
loplugin:simplifybool
Change-Id: Ib656d2da786511687fbcf3f0ef39094ef211eb97
Diffstat (limited to 'sc/source/ui/view/tabvwsh3.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index ee2bbab0c035..e4f1b71d91ff 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -138,7 +138,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) sal_uInt16 nId = ScPrintAreasDlgWrapper::GetChildWindowId(); SfxChildWindow* pWnd = pThisFrame->GetChildWindow( nId ); - pScMod->SetRefDialog( nId, pWnd ? false : true ); + pScMod->SetRefDialog( nId, pWnd == nullptr ); } break; @@ -894,7 +894,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) sal_uInt16 nId = ScHighlightChgDlgWrapper::GetChildWindowId(); SfxChildWindow* pWnd = pThisFrame->GetChildWindow( nId ); - pScMod->SetRefDialog( nId, pWnd ? false : true ); + pScMod->SetRefDialog( nId, pWnd == nullptr ); } break; |