summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTrevor Murphy <trevor.m.murphy@gmail.com>2010-10-19 23:45:24 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-19 23:45:24 -0500
commitf0fbd8e821571d548d46d89fe9516b25ee93753f (patch)
tree4d4529b46a3b26014033fb468078f331798e9dd4 /sfx2
parentb9dc08c74ddda286234e167b83028c8dcb83943d (diff)
Minor libs-core comment clean-up
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/newhelp.cxx4
-rw-r--r--sfx2/source/appl/newhelp.hxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 27a4a0231c..8d8ca17f18 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -901,7 +901,7 @@ sal_Bool IndexTabPage_Impl::HasKeyword() const
}
// -----------------------------------------------------------------------
-//added by BerryJia for fixing Bug98251, 2002-12-11
+
sal_Bool IndexTabPage_Impl::HasKeywordIgnoreCase()
{
sal_Bool bRet = sal_False;
@@ -1785,7 +1785,7 @@ IMPL_LINK( SfxHelpIndexWindow_Impl, KeywordHdl, IndexTabPage_Impl *, EMPTYARG )
{
// keyword found on index?
sal_Bool bIndex = pIPage->HasKeyword();
- //The following two lines are added by BerryJia for fixing Bug98251, 2002-12-11
+
if( !bIndex)
bIndex = pIPage->HasKeywordIgnoreCase();
// then set index or search page as current.
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 1e0b83c2c5..ad7510db8c 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -188,7 +188,7 @@ public:
inline void SetKeywordHdl( const Link& rLink ) { aKeywordLink = rLink; }
void SetKeyword( const String& rKeyword );
sal_Bool HasKeyword() const;
- sal_Bool HasKeywordIgnoreCase(); //added by BerryJia for fixing Bug98251, 2002-12-11
+ sal_Bool HasKeywordIgnoreCase();
void OpenKeyword();
inline void SelectExecutableEntry() { aIndexCB.SelectExecutableEntry(); }
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index fdf00b75c3..9b443e888c 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -374,7 +374,7 @@ SfxActionListBox::SfxActionListBox( SfxCommonTemplateDialog_Impl* pParent,
PopupMenu* SfxActionListBox::CreateContextMenu( void )
{
- //added by BerryJia for fixing Bug102739 2002-9-9 17:00(Beijing Time)
+
if( !( GetSelectionCount() > 0 ) )
{
pDialog->EnableEdit( FALSE );
@@ -1111,7 +1111,7 @@ void SfxCommonTemplateDialog_Impl::SelectStyle(const String &rStr)
{
aFmtLb.MakeVisible( pEntry );
aFmtLb.Select( pEntry );
- bWaterDisabled = !HasSelectedStyle(); //added by BerryJia for fixing Bug76391 2003-1-22
+ bWaterDisabled = !HasSelectedStyle();
FmtSelectHdl( NULL );
}
}
@@ -1373,7 +1373,7 @@ void SfxCommonTemplateDialog_Impl::SetWaterCanState(const SfxBoolItem *pItem)
{
// EnableItem(SID_STYLE_WATERCAN, pItem != 0);
bWaterDisabled = pItem == 0;
-//added by BerryJia for fixing Bug76391 2003-1-7
+
if(!bWaterDisabled)
bWaterDisabled = !HasSelectedStyle();