summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2011-06-12 16:40:20 +0700
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-06-12 16:44:43 -0500
commit655d930476045a2de7f3ead4768bb75df8cf7c82 (patch)
tree9f240c0f4ef720b1899d5797ac1fcdffe5be2f40 /lotuswordpro/source/filter
parent0fa6dbcdab49b79852c451c173867fac0d8f213a (diff)
Code cleanup
* Remove dead code * Fix comment typos Released under LGPLv3+/MPL
Diffstat (limited to 'lotuswordpro/source/filter')
-rw-r--r--lotuswordpro/source/filter/lwpatomholder.cxx4
-rw-r--r--lotuswordpro/source/filter/lwpfilter.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpfoundry.cxx5
-rw-r--r--lotuswordpro/source/filter/lwplaypiece.cxx6
-rw-r--r--lotuswordpro/source/filter/xfilter/ixfobject.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfnumfmt.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfparagraph.cxx2
8 files changed, 10 insertions, 15 deletions
diff --git a/lotuswordpro/source/filter/lwpatomholder.cxx b/lotuswordpro/source/filter/lwpatomholder.cxx
index 147571e3a58e..de680fe9350a 100644
--- a/lotuswordpro/source/filter/lwpatomholder.cxx
+++ b/lotuswordpro/source/filter/lwpatomholder.cxx
@@ -70,7 +70,7 @@ LwpAtomHolder::~LwpAtomHolder()
*/
void LwpAtomHolder::Read(LwpObjectStream *pStrm)
{
- //Refered to lwp: file40.cpp, QuickReadAtomHolder()
+ //Referred to lwp: file40.cpp, QuickReadAtomHolder()
sal_uInt16 diskSize = pStrm->QuickReaduInt16();
sal_uInt16 len = pStrm->QuickReaduInt16();
@@ -101,7 +101,7 @@ void LwpAtomHolder::Skip(LwpObjectStream *pStrm)
*/
void LwpAtomHolder::ReadPathAtom(LwpObjectStream *pStrm)
{
- //Refered to lwp: file40.cpp, QuickReadPathAtom()
+ //Referred to lwp: file40.cpp, QuickReadPathAtom()
// TODO: Read the data. Now just skip it. The method to skip is same as above.
Skip(pStrm);
}
diff --git a/lotuswordpro/source/filter/lwpfilter.hxx b/lotuswordpro/source/filter/lwpfilter.hxx
index 5653fd8d53f3..3471ad379616 100644
--- a/lotuswordpro/source/filter/lwpfilter.hxx
+++ b/lotuswordpro/source/filter/lwpfilter.hxx
@@ -164,7 +164,7 @@ public:
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw ();
/**
- * @descr function of interface XExtendedFilterDetection. If this interface is registed, it will be called whenever
+ * @descr function of interface XExtendedFilterDetection. If this interface is registered, it will be called whenever
* a file is to be loaded.
*/
virtual ::rtl::OUString SAL_CALL detect( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Descriptor ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/lotuswordpro/source/filter/lwpfoundry.cxx b/lotuswordpro/source/filter/lwpfoundry.cxx
index 88ce20601e2d..364550fd4fea 100644
--- a/lotuswordpro/source/filter/lwpfoundry.cxx
+++ b/lotuswordpro/source/filter/lwpfoundry.cxx
@@ -332,7 +332,7 @@ LwpObjectID * LwpFoundry::FindParaStyleByName(OUString name)
}
/**
-* @descr: Get style name registed according the original style name
+* @descr: Get style name registered according the original style name
*
*/
OUString LwpFoundry::FindActuralStyleName(OUString name)
@@ -358,7 +358,7 @@ void LwpVersionManager::Read(LwpObjectStream *pStrm)
void LwpVersionManager::Skip(LwpObjectStream *pStrm)
{
- /*sal_uInt32 cNextUserVersionID =*/ pStrm->QuickReaduInt32();
+ pStrm->QuickReaduInt32();
sal_uInt16 Count = pStrm->QuickReaduInt16();
while(Count--)
@@ -369,7 +369,6 @@ void LwpVersionManager::Skip(LwpObjectStream *pStrm)
case TAG_USER_VERSION:
// TODO: skip the CUserVersionControl
pStrm->SeekRel(pStrm->QuickReaduInt16());
- //pStrm->SkipExtra(); //The length has included the extra
break;
default:
diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx
index b8853dd6d449..05f8fab65d9c 100644
--- a/lotuswordpro/source/filter/lwplaypiece.cxx
+++ b/lotuswordpro/source/filter/lwplaypiece.cxx
@@ -57,10 +57,6 @@
* @file
* For LWP filter architecture prototype
************************************************************************/
-/*************************************************************************
- * Change History
- Jan 28 2005 Created
- ************************************************************************/
#include "lwplaypiece.hxx"
@@ -409,7 +405,7 @@ LwpLayoutRelativityGuts::LwpLayoutRelativityGuts()
m_nFlags = 0;
}
/**************************************************************************
- * @descr: Read LayoutRelativityGuts' infomation.
+ * @descr: Read LayoutRelativityGuts' information.
* @param:
* @param:
* @return:
diff --git a/lotuswordpro/source/filter/xfilter/ixfobject.hxx b/lotuswordpro/source/filter/xfilter/ixfobject.hxx
index 4ad884b2005e..150cfcca6dcb 100644
--- a/lotuswordpro/source/filter/xfilter/ixfobject.hxx
+++ b/lotuswordpro/source/filter/xfilter/ixfobject.hxx
@@ -63,7 +63,7 @@
class IXFStream;
/*************************************************************************
* @descr
- * This is the root interface for all object which will ouput something to
+ * This is the root interface for all object which will output something to
* the Sax Stream.
* I'll add reference management code later.
************************************************************************/
diff --git a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx
index c27aa22b6ff3..44a9c10fbfe6 100644
--- a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx
@@ -68,7 +68,7 @@
/**
* @brief
- * Config infomation for OOo document, ie, line count config, endnote and footnote config.
+ * Config information for OOo document, ie, line count config, endnote and footnote config.
* This object should only exist one instance.
* Don't make this obejct an singleton because it's managed by XFStyleManager.
*/
diff --git a/lotuswordpro/source/filter/xfilter/xfnumfmt.hxx b/lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
index 7383738cf40f..d9729dc68fef 100644
--- a/lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfnumfmt.hxx
@@ -100,7 +100,7 @@ public:
/**********************************************************************
* @descr: set the display value. ie. if you set format to '1',then
- the ouput would be:
+ the output would be:
1 item1
2 item2
or if you set the format to 'a', then the output would be:
diff --git a/lotuswordpro/source/filter/xfilter/xfparagraph.cxx b/lotuswordpro/source/filter/xfilter/xfparagraph.cxx
index 3d00d2a28116..e1db8df313dc 100644
--- a/lotuswordpro/source/filter/xfilter/xfparagraph.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfparagraph.cxx
@@ -85,7 +85,7 @@ enumXFContent XFParagraph::GetContentType()
}
/**
- * The paragraph obejct serial function,the ouput will be like:
+ * The paragraph object serial function,the output will be like:
* <text:p>
* <text:span text:style-name="T1">text content</text:span>
* text.