diff --git a/lotuswordpro/source/filter/lwpnotes.cxx b/lotuswordpro/source/filter/lwpnotes.cxx index 01cc28a2dc93..91bc8bd69435 100644 --- a/lotuswordpro/source/filter/lwpnotes.cxx +++ b/lotuswordpro/source/filter/lwpnotes.cxx @@ -88,7 +88,7 @@ void LwpFribNote::RegisterNewStyle() { //register font style LwpFrib::RegisterStyle(m_pPara->GetFoundry()); - //register footnote style + //register note style pLayout->SetFoundry(m_pPara->GetFoundry()); pLayout->DoRegisterStyle(); } @@ -207,7 +207,7 @@ OUString LwpNoteLayout::GetAuthor() return m_UserName.str(); } } - //if username is null or writerspace, get username from noteheaderlayout + //if username is null or whitespace, get username from noteheaderlayout LwpNoteHeaderLayout* pTextLayout = static_cast(FindChildByType(LWP_NOTEHEADER_LAYOUT)); if (pTextLayout) diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index 199a779a7146..a487f4b83417 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -812,14 +812,14 @@ void LwpHeaderLayout::ParseMargins(XFHeaderStyle* ph1) //left margin in SODC: the space from the left edge of body to the left edge of header double left = GetMarginsValue(MARGIN_LEFT) - (parent ? parent->GetMarginsValue(MARGIN_LEFT) : 0); - if (left <= 0) //The left margin in SODC can not be minus value + if (left <= 0) //The left margin in SODC can not be a negative value { left = -1; } - //left margin in SODC: the space from the right edge of header to the right edge of body + //right margin in SODC: the space from the right edge of header to the right edge of body double right = GetMarginsValue(MARGIN_RIGHT) - (parent ? parent->GetMarginsValue(MARGIN_RIGHT) : 0); - if (right <= 0) //The right margin in SODC can not be minus value + if (right <= 0) //The right margin in SODC can not be a negative value { right = -1; } @@ -959,7 +959,7 @@ void LwpFooterLayout::RegisterStyle(XFPageMaster* pm1) void LwpFooterLayout::ParseMargins(XFFooterStyle* pFooterStyle) { - //Set height: from top of header to top of body, including the spacing between header and body + //Set height: from bottom of footer to bottom of body, including the spacing between footer and body double height = GetGeometryHeight() - GetMarginsValue(MARGIN_BOTTOM); if (IsAutoGrowUp()) { @@ -974,13 +974,13 @@ void LwpFooterLayout::ParseMargins(XFFooterStyle* pFooterStyle) LwpMiddleLayout* parent = dynamic_cast(GetParent().obj().get()); double left = GetMarginsValue(MARGIN_LEFT) - (parent ? parent->GetMarginsValue(MARGIN_LEFT) : 0); - if (left <= 0) //The left margin in SODC can not be minus value + if (left <= 0) //The left margin in SODC can not be a negative value { left = -1; } double right = GetMarginsValue(MARGIN_RIGHT) - (parent ? parent->GetMarginsValue(MARGIN_RIGHT) : 0); - if (right <= 0) //The left margin in SODC can not be minus value + if (right <= 0) //The right margin in SODC can not be a negative value { right = -1; } diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java index 0ce3edb8e8d8..cbe7a641751b 100644 --- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java +++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java @@ -80,11 +80,11 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob *
  • generic job configuration data
  • *
  • job specific configuration data
  • *
  • some environment information
  • - *
  • may optional arguments of a corresponding dispatch request
  • + *
  • optional arguments of a corresponding dispatch request
  • * * - * @params xListener - * callback to the executor of this job, which control our life time + * @param xListener + * callback to the executor of this job, which controls our life time * * @throws com.sun.star.lang.IllegalArgumentException * if given argument list seems to be wrong @@ -243,7 +243,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob * is shown as title of the info box. * * @param sMessage - * included the message body, which is shown as info. + * includes the message body, which is shown as info. */ private void showInfoModal( com.sun.star.awt.XWindow xParent , @@ -258,7 +258,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob m_xCmpCtx.getServiceManager().createInstanceWithContext("com.sun.star.awt.Toolkit", m_xCmpCtx)); - // describe the info box ini its parameters + // describe the info box in its parameters com.sun.star.awt.WindowDescriptor aDescriptor = new com.sun.star.awt.WindowDescriptor(); aDescriptor.WindowServiceName = "infobox"; aDescriptor.Bounds = new com.sun.star.awt.Rectangle(0,0,300,200); @@ -334,7 +334,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob * contains some environment information * * @param lDynamicData - * contains optional data of a might corresponding dispatch() request + * contains optional data of a corresponding dispatch() request */ private String formatOutArgs(com.sun.star.beans.NamedValue[] lGenericConfig,