summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
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 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx3
-rw-r--r--svtools/source/config/extcolorcfg.cxx3
-rw-r--r--svtools/source/contnr/fileview.cxx10
-rw-r--r--svtools/source/contnr/svimpbox.cxx1
-rw-r--r--svtools/source/inc/svimpbox.hxx5
5 files changed, 0 insertions, 22 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index e54f896dbf29..578f6f74c779 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -100,7 +100,6 @@ public:
void SettingsChanged();
bool GetAutoDetectSystemHC() {return m_bAutoDetectSystemHC;}
- // #100822#
DECL_LINK_TYPED( DataChangedEventListener, VclSimpleEvent&, void );
void ImplUpdateApplicationSettings();
@@ -206,14 +205,12 @@ ColorConfig_Impl::ColorConfig_Impl(bool bEditMode) :
ImplUpdateApplicationSettings();
- // #100822#
::Application::AddEventListener( LINK(this, ColorConfig_Impl, DataChangedEventListener) );
}
ColorConfig_Impl::~ColorConfig_Impl()
{
- // #100822#
::Application::RemoveEventListener( LINK(this, ColorConfig_Impl, DataChangedEventListener) );
}
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 62eba2033a18..584f4dcc8857 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -131,7 +131,6 @@ public:
static void LockBroadcast();
static void UnlockBroadcast();
- // #100822#
DECL_LINK_TYPED( DataChangedEventListener, VclSimpleEvent&, void );
};
@@ -209,14 +208,12 @@ ExtendedColorConfig_Impl::ExtendedColorConfig_Impl(bool bEditMode) :
}
Load(OUString());
- // #100822#
::Application::AddEventListener( LINK(this, ExtendedColorConfig_Impl, DataChangedEventListener) );
}
ExtendedColorConfig_Impl::~ExtendedColorConfig_Impl()
{
- // #100822#
::Application::RemoveEventListener( LINK(this, ExtendedColorConfig_Impl, DataChangedEventListener) );
}
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 8b0e3683bfef..fa2a2c4b3e2a 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -176,7 +176,6 @@ void FilterMatch::createWildCardFilterList(const OUString& _rFilterList,::std::v
_rFilters.push_back( WildCard(OUString("*")) );
}
}
-// class ViewTabListBox_Impl ---------------------------------------------
class ViewTabListBox_Impl : public SvHeaderTabListBox
{
@@ -229,7 +228,6 @@ public:
virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopentry ) SAL_OVERRIDE;
};
-// class NameTranslationList -----------------------------------------
// provides a list of _unique_ Entries
class NameTranslationList
{ // contains a list of substitutes of strings for a given folder (as URL)
@@ -309,8 +307,6 @@ const OUString* NameTranslationList::Translate( const OUString& rName ) const
return (iter != m_Translation.end()) ? &iter->second : nullptr;
}
-// class NameTranslator_Impl ------------------------------------------
-
// enables the user to get string substitutions (translations for the content) for a given folder
// see more explanations above in the description for NameTranslationList
class NameTranslator_Impl : public ::svt::IContentTitleTranslation
@@ -393,7 +389,6 @@ public:
void CancelRunningAsyncAction();
void OpenFolder_Impl();
- // #83004# -------
static void ReplaceTabWithString( OUString& aValue );
void CreateDisplayText_Impl();
void SortFolderContent_Impl();
@@ -492,9 +487,6 @@ OUString CreateExactSizeText( sal_Int64 nSize )
}
-// class ViewTabListBox_Impl ---------------------------------------------
-
-
ViewTabListBox_Impl::ViewTabListBox_Impl( vcl::Window* pParentWin,
SvtFileView_Impl* pParent,
FileViewFlags nFlags ) :
@@ -1000,7 +992,6 @@ bool ViewTabListBox_Impl::Kill( const OUString& rContent )
return bRet;
}
-// class SvtFileView -----------------------------------------------------
SvtFileView::SvtFileView( vcl::Window* pParent, WinBits nBits,
bool bOnlyFolder, bool bMultiSelection, bool bShowType ) :
@@ -1927,7 +1918,6 @@ void SvtFileView_Impl::CreateDisplayText_Impl()
{
// title, type, size, date
aValue = (*aIt)->GetTitle();
- // #83004# --------------------
ReplaceTabWithString( aValue );
aValue += aTab;
aValue += (*aIt)->maType;
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 1e6f7699aae6..aac8af7d8a00 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -155,7 +155,6 @@ void SvImpLBox::UpdateStringSorter()
}
}
-// #97680# ----------------------
short SvImpLBox::UpdateContextBmpWidthVector( SvTreeListEntry* pEntry, short nWidth )
{
DBG_ASSERT( pView->pModel, "View and Model aren't valid!" );
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index 6b9a375083c1..9db0d062bc5e 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -23,9 +23,7 @@
#include <vcl/seleng.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/vclevent.hxx>
-// #102891# ----------------
#include <unotools/intlwrapper.hxx>
-// #97680# -----------------
#include <vector>
#include "svtaccessiblefactory.hxx"
@@ -155,10 +153,8 @@ private:
Point aEditClickPos;
Idle aEditIdle;
- // #102891# -------------------
comphelper::string::NaturalStringSorter *m_pStringSorter;
- // #97680# --------------------
std::vector< short > aContextBmpWidthVector;
DECL_LINK_TYPED(EditTimerCall, Idle *, void);
@@ -230,7 +226,6 @@ private:
void UpdateStringSorter();
- // #97680# --------------------
short UpdateContextBmpWidthVector( SvTreeListEntry* pEntry, short nWidth );
void UpdateContextBmpWidthMax( SvTreeListEntry* pEntry );
void UpdateContextBmpWidthVectorFromMovedEntry( SvTreeListEntry* pEntry );