summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-02 20:53:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-02 15:20:31 -0600
commite059218a83ddb5c0e3d5b4ae0ca932d281683edf (patch)
treea0dc8d0aec0521a1fa71615e9542ccb13f28f057 /lotuswordpro
parentbd1014e245676335c7830f7bcc56afd5adf90fa6 (diff)
coverity#735356 Operands don't affect result
Change-Id: Icd54558abb9d28a5439310ac04613222211e3c61 Reviewed-on: https://gerrit.libreoffice.org/8423 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpfribheader.hxx2
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx5
-rw-r--r--lotuswordpro/source/filter/lwppara.hxx5
3 files changed, 0 insertions, 12 deletions
diff --git a/lotuswordpro/source/filter/lwpfribheader.hxx b/lotuswordpro/source/filter/lwpfribheader.hxx
index e6863a6ff367..4bed45e2c482 100644
--- a/lotuswordpro/source/filter/lwpfribheader.hxx
+++ b/lotuswordpro/source/filter/lwpfribheader.hxx
@@ -72,8 +72,6 @@
#define FT_MAXIMUM 30
-#define DOC_BADFILEPARAHINTS 0x00800000UL
-
/* Registration definitions */
enum
{
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index deff61d8d77d..9b95a3855265 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -203,11 +203,6 @@ void LwpPara::Read()
if(!Simple)
{
m_Hint.Read(m_pObjStrm);
- if (IsBadHintsInFile())
- {
- // This hint is no good, so throw it away -- SDC 9/28/95
- m_Hint.Reset();
- }
}
m_Story.ReadIndexed(m_pObjStrm);
diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx
index aa9b9a9c6b7a..1c4db95ced6d 100644
--- a/lotuswordpro/source/filter/lwppara.hxx
+++ b/lotuswordpro/source/filter/lwppara.hxx
@@ -284,7 +284,6 @@ private:
void OverrideParaBullet(LwpParaProperty* pProps);
void OverrideParaNumbering(LwpParaProperty* pProps);
- sal_Bool IsBadHintsInFile();
sal_Bool RegisterMasterPage(XFParaStyle* pBaseStyle);
void RegisterNewSectionStyle(LwpPageLayout* pLayout);
@@ -393,10 +392,6 @@ inline void LwpPara::SetDropcapLayout(LwpDropcapLayout* pLayout)
{
m_pDropcapLayout = pLayout;
}
-inline sal_Bool LwpPara::IsBadHintsInFile()
-{
- return (sal_Bool) ((m_nFlags & DOC_BADFILEPARAHINTS) != 0);
-}
inline double LwpPara::GetBelowSpacing()
{
return m_BelowSpacing;