[Libreoffice-commits] .: lotuswordpro/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Jun 4 15:38:23 PDT 2011


 lotuswordpro/source/filter/lwpchangemgr.cxx |    2 +-
 lotuswordpro/source/filter/lwpfont.cxx      |    6 ------
 lotuswordpro/source/filter/lwpfont.hxx      |    1 -
 3 files changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 5282244a812bf87af6cc5baf0c29cb294b9cecf4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jun 5 00:38:04 2011 +0200

    Unused private func 'LwpFontAttrEntry::IsSuperSubOverridden'

diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx
index 37036df..edb39a0 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 e9a95be..9d3b064 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 fee57bb..91eb3ca 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();
 


More information about the Libreoffice-commits mailing list