summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-04 15:29:53 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-04 17:35:01 +0200
commitbe575f31ede7aea4b09174a131cb3b7e36dfdd4d (patch)
treee4dbf5d6859b3958ca08ec5fb41bc9aa7b7f7130
parent8c2301bf7575b7afbacca6bac10f5db97c73d3d6 (diff)
sw: ApplyStyle: remove highly suspicious conditional
This contradicts the test in the next line. Change-Id: I8c762af8789cd5e116abef7be2a438fba74d669f
-rw-r--r--sw/source/uibase/app/docst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index b9c27d8973f7..cc03d2c14994 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -591,7 +591,7 @@ IMPL_LINK_NOARG(ApplyStyle, ApplyHdl)
}
//UUUU
- if(m_bNew && SFX_STYLE_FAMILY_FRAME == m_nFamily)
+ if(m_bNew)
{
if(SFX_STYLE_FAMILY_FRAME == m_nFamily || SFX_STYLE_FAMILY_PARA == m_nFamily)
{