summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-30 11:06:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-01 06:57:19 +0000
commite209d115d41e25f5658dd52ae94ceb873b33013f (patch)
tree58b49bdcc833ec48bc8542f81b7918f50e07bb6d /cui
parent8e27c68847c6461c7bc0bdbff44412d6bfb0b1e8 (diff)
remove old standalone Sun bug numbers
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hlinettp.cxx2
-rw-r--r--cui/source/dialogs/hltpbase.cxx1
-rw-r--r--cui/source/inc/cuitabline.hxx3
-rw-r--r--cui/source/options/optinet2.cxx1
-rw-r--r--cui/source/tabpages/grfpage.cxx1
-rw-r--r--cui/source/tabpages/numpages.cxx4
-rw-r--r--cui/source/tabpages/tparea.cxx1
-rw-r--r--cui/source/tabpages/tpline.cxx11
-rw-r--r--cui/source/tabpages/transfrm.cxx1
9 files changed, 1 insertions, 24 deletions
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index 3f8a73256211..094f05e41e61 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -129,7 +129,7 @@ void SvxHyperlinkInternetTp::FillDlgFields(const OUString& rStrURL)
if ( aURL.GetProtocol() != INetProtocol::NotValid )
m_pCbbTarget->SetText( aURL.GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS ) );
else
- m_pCbbTarget->SetText(rStrURL); // #77696#
+ m_pCbbTarget->SetText(rStrURL);
SetScheme(aStrScheme);
}
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 8d94eae2d59c..966947a98bff 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -422,7 +422,6 @@ OUString SvxHyperlinkTabPageBase::GetSchemeFromURL( const OUString& rStrURL )
INetURLObject aURL( rStrURL );
INetProtocol aProtocol = aURL.GetProtocol();
- // #77696#
// our new INetUrlObject now has the ability
// to detect if an Url is valid or not :-(
if ( aProtocol == INetProtocol::NotValid )
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 56db07bc19bc..d9126586d850 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -110,7 +110,6 @@ private:
VclPtr<CheckBox> m_pCbxSynchronize;
VclPtr<SvxXLinePreview> m_pCtlPreview;
- // #116827#
VclPtr<VclFrame> m_pFLEdgeStyle;
VclPtr<VclGrid> m_pGridEdgeCaps;
VclPtr<ListBox> m_pLBEdgeStyle;
@@ -169,7 +168,6 @@ private:
SfxMapUnit m_ePoolUnit;
- // #63083#
sal_Int32 m_nActLineWidth;
// handler for gallery popup menu button + size
@@ -186,7 +184,6 @@ private:
DECL_LINK( ChangePreviewHdl_Impl, void * );
DECL_LINK( ChangeTransparentHdl_Impl, void * );
- // #116827#
DECL_LINK( ChangeEdgeStyleHdl_Impl, void * );
// LineCaps
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 5c17f39066c2..3033918c8751 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -552,7 +552,6 @@ IMPL_STATIC_LINK_TYPED( SvxProxyTabPage, LoseFocusHdl_Impl, Control&, rControl,
-//#98647#----------------------------------------------
void SvxScriptExecListBox::RequestHelp( const HelpEvent& rHEvt )
{ // try to show tips just like as on toolbars
sal_Int32 nPos=LISTBOX_ENTRY_NOTFOUND;
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 9988726f86a6..d085a99e0896 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -272,7 +272,6 @@ bool SvxGrfCropPage::FillItemSet(SfxItemSet *rSet)
SvxSizeItem aSz( nW );
// size could already have been set from another page
- // #44204#
const SfxItemSet* pExSet = GetTabDialog() ? GetTabDialog()->GetExampleSet() : NULL;
const SfxPoolItem* pItem = 0;
if( pExSet && SfxItemState::SET ==
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 3877183e4921..14abb1d56f60 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -357,7 +357,6 @@ IMPL_LINK_NOARG_TYPED(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, voi
else
aFmt.SetSuffix(_pSet->sSuffix);
aFmt.SetCharFormatName(sNumCharFmtName);
- // #62069# // #92724#
aFmt.SetBulletRelSize(100);
pActNum->SetLevel(i, aFmt);
}
@@ -513,7 +512,6 @@ IMPL_LINK_NOARG_TYPED(SvxBulletPickTabPage, NumSelectHdl_Impl, ValueSet*, void)
aFmt.SetBulletFont(&rActBulletFont);
aFmt.SetBulletChar(cChar );
aFmt.SetCharFormatName(sBulletCharFormatName);
- // #62069# // #92724#
aFmt.SetBulletRelSize(45);
pActNum->SetLevel(i, aFmt);
}
@@ -763,14 +761,12 @@ IMPL_LINK_NOARG_TYPED(SvxNumPickTabPage, NumSelectHdl_Impl, ValueSet*, void)
? pLevelSettings->sBulletChar[0]
: 0 );
aFmt.SetCharFormatName( sBulletCharFormatName );
- // #62069# // #92724#
aFmt.SetBulletRelSize(45);
}
else
{
aFmt.SetIncludeUpperLevels(sal::static_int_cast< sal_uInt8 >(0 != nUpperLevelOrChar ? pActNum->GetLevelCount() : 0));
aFmt.SetCharFormatName(sNumCharFmtName);
- // #62069# // #92724#
aFmt.SetBulletRelSize(100);
// #i93908#
aFmt.SetPrefix(pLevelSettings->sPrefix);
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index b604038fa78e..3d0e20cf2ce3 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -314,7 +314,6 @@ bool SvxTransparenceTabPage::FillItemSet(SfxItemSet* rAttrs)
bool bGradActive = (eStateGradient == SfxItemState::SET && static_cast<const XFillFloatTransparenceItem*>(pGradientItem)->IsEnabled());
bool bLinearActive = (eStateLinear == SfxItemState::SET && static_cast<const XFillTransparenceItem*>(pLinearItem)->GetValue() != 0);
- // #103765#
bool bGradUsed = (eStateGradient == SfxItemState::DONTCARE);
bool bLinearUsed = (eStateLinear == SfxItemState::DONTCARE);
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index e044eb34c49e..5c2227d13cbb 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -196,7 +196,6 @@ SvxLineTabPage::SvxLineTabPage
m_pTsbCenterStart->SetClickHdl( LINK( this, SvxLineTabPage, ChangeStartClickHdl_Impl ) );
m_pTsbCenterEnd->SetClickHdl( LINK( this, SvxLineTabPage, ChangeEndClickHdl_Impl ) );
- // #116827#
Link<> aEdgeStyle = LINK( this, SvxLineTabPage, ChangeEdgeStyleHdl_Impl );
m_pLBEdgeStyle->SetSelectHdl( aEdgeStyle );
@@ -682,7 +681,6 @@ void SvxLineTabPage::ActivatePage( const SfxItemSet& rSet )
m_nDlgType == 1101 )
{
m_pFlLineEnds->Hide();
- // #116827#
m_pFLEdgeStyle->Hide();
}
}
@@ -874,7 +872,6 @@ bool SvxLineTabPage::FillItemSet( SfxItemSet* rAttrs )
}
}
- // #116827#
nPos = m_pLBEdgeStyle->GetSelectEntryPos();
if( LISTBOX_ENTRY_NOTFOUND != nPos && m_pLBEdgeStyle->IsValueChangedFromSaved() )
{
@@ -1038,7 +1035,6 @@ bool SvxLineTabPage::FillXLSet_Impl()
m_pLineEndList->GetLineEnd( nPos - 1 )->GetLineEnd() ) );
}
- // #116827#
nPos = m_pLBEdgeStyle->GetSelectEntryPos();
if(LISTBOX_ENTRY_NOTFOUND != nPos)
{
@@ -1112,7 +1108,6 @@ bool SvxLineTabPage::FillXLSet_Impl()
sal_uInt16 nVal = (sal_uInt16)m_pMtrTransparent->GetValue();
m_rXLSet.Put( XLineTransparenceItem( nVal ) );
- // #116827#
m_pCtlPreview->SetLineAttributes(m_aXLineAttr.GetItemSet());
return true;
@@ -1452,7 +1447,6 @@ void SvxLineTabPage::Reset( const SfxItemSet* rAttrs )
OUString aStr = GetUserData();
m_pCbxSynchronize->Check( aStr.toInt32() != 0 );
- // #116827#
if(m_bObjSelected && SfxItemState::DEFAULT == rAttrs->GetItemState(XATTR_LINEJOINT))
{
// maFTEdgeStyle.Disable();
@@ -1511,7 +1505,6 @@ void SvxLineTabPage::Reset( const SfxItemSet* rAttrs )
m_pTsbCenterEnd->SaveValue();
m_pMtrTransparent->SaveValue();
- // #116827#
m_pLBEdgeStyle->SaveValue();
// LineCaps
@@ -1617,7 +1610,6 @@ IMPL_LINK( SvxLineTabPage, ChangeStartHdl_Impl, void *, p )
}
-// #116827#
IMPL_LINK_NOARG(SvxLineTabPage, ChangeEdgeStyleHdl_Impl)
{
@@ -1652,7 +1644,6 @@ IMPL_LINK_NOARG(SvxLineTabPage, ClickInvisibleHdl_Impl)
m_pBoxArrowStyles->Disable();
- // #116827#
m_pGridEdgeCaps->Disable();
}
}
@@ -1664,7 +1655,6 @@ IMPL_LINK_NOARG(SvxLineTabPage, ClickInvisibleHdl_Impl)
if( m_pFlLineEnds->IsEnabled() )
{
m_pBoxArrowStyles->Enable();
- // #116827#
m_pGridEdgeCaps->Enable();
}
}
@@ -1705,7 +1695,6 @@ IMPL_LINK_NOARG(SvxLineTabPage, ChangeTransparentHdl_Impl)
m_rXLSet.Put( XLineTransparenceItem( aItem ) );
- // #116827#
FillXLSet_Impl();
m_pCtlPreview->Invalidate();
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 7a8ea1920177..9bfb6e875329 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -496,7 +496,6 @@ bool SvxSlantTabPage::FillItemSet(SfxItemSet* rAttrs)
if( bModified )
{
// set reference points
- // #75897#
Rectangle aObjectRect(pView->GetAllMarkedRect());
pView->GetSdrPageView()->LogicToPagePos(aObjectRect);
Point aPt = aObjectRect.Center();