summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-24 08:24:26 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-24 07:45:56 +0100
commit5bbe79272ee91bd4c93064e75b7a403025cf5212 (patch)
treef7c8f6340df405712a327e3fca66d32dbe90d95d /sfx2
parentff66e912c4019c9d6320eeef4d75f265cd878d01 (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I5ca32214bab4b26208aecaa98eecc2a6297d9093 Reviewed-on: https://gerrit.libreoffice.org/65592 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 1f394aaf7844..b82638a82770 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1439,7 +1439,7 @@ void SfxCommonTemplateDialog_Impl::Notify(SfxBroadcaster& /*rBC*/, const SfxHint
if( pStyleSheetPool )
{
OUString aStr = GetSelectedEntry();
- if( !aStr.isEmpty() && pStyleSheetPool )
+ if (!aStr.isEmpty())
{
const SfxStyleFamilyItem *pItem = GetFamilyItem_Impl();
if( !pItem ) break;