diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-06-05 00:38:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-06-05 00:38:04 +0200 |
commit | 278befd174dbb5a5cf74cb3ad4f5ada89f78206b (patch) | |
tree | b18690e1f42b3cae89ae3e4a327216755bffa16a /lotuswordpro | |
parent | 61fed3c77afa93d8f209eb5b2a27d7018d0869d8 (diff) |
Unused private func 'LwpFontAttrEntry::IsSuperSubOverridden'
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpchangemgr.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpfont.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpfont.hxx | 1 |
3 files changed, 1 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx index 9e592b0dc8a4..a9a11dfa6b51 100644 --- a/lotuswordpro/source/filter/lwpchangemgr.cxx +++ b/lotuswordpro/source/filter/lwpchangemgr.cxx @@ -140,7 +140,7 @@ void LwpChangeMgr::ConvertAllChange(IXFStream* pStream) std::vector<XFChangeRegion*>::iterator iter1; pStream->GetAttrList()->Clear(); - if (m_ChangeList.size() == 0) + if (m_ChangeList.empty()) return; // Add for disable change tracking pStream->GetAttrList()->AddAttribute( A2OUSTR("text:track-changes"),A2OUSTR("false")); diff --git a/lotuswordpro/source/filter/lwpfont.cxx b/lotuswordpro/source/filter/lwpfont.cxx index b5f1db79d842..87f279df79c8 100644 --- a/lotuswordpro/source/filter/lwpfont.cxx +++ b/lotuswordpro/source/filter/lwpfont.cxx @@ -201,12 +201,6 @@ sal_Bool LwpFontAttrEntry::IsSubOverridden() } -sal_Bool LwpFontAttrEntry::IsSuperSubOverridden() -{ - return (0 != (m_nAttrOverrideBits - & (SUPERSCRIPT | SUBSCRIPT))); -} - sal_Bool LwpFontAttrEntry::IsUnderlineOverridden() { return (0 != (m_nAttrOverrideBits2 & UNDER)); diff --git a/lotuswordpro/source/filter/lwpfont.hxx b/lotuswordpro/source/filter/lwpfont.hxx index 3d27bac87858..5ed214219d7c 100644 --- a/lotuswordpro/source/filter/lwpfont.hxx +++ b/lotuswordpro/source/filter/lwpfont.hxx @@ -227,7 +227,6 @@ private: sal_Bool IsSmallCapsOverridden(); sal_Bool IsSuperOverridden(); sal_Bool IsSubOverridden(); - sal_Bool IsSuperSubOverridden(); sal_Bool IsUnderlineOverridden(); sal_Bool IsCaseOverridden(); |