summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-06-05 00:38:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-06-05 00:38:04 +0200
commit5282244a812bf87af6cc5baf0c29cb294b9cecf4 (patch)
treeae6f3f9acb42748ef0a479623a315ba1df225c80 /lotuswordpro/source
parentfcee78fa31cc87416020c41e11292ff5888a22a0 (diff)
Unused private func 'LwpFontAttrEntry::IsSuperSubOverridden'
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/lwpchangemgr.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfont.cxx6
-rw-r--r--lotuswordpro/source/filter/lwpfont.hxx1
3 files changed, 1 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx
index 37036dfe2..edb39a004 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 e9a95bec4..9d3b064b5 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 fee57bb1a..91eb3cae9 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();