diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-30 11:06:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 06:57:19 +0000 |
commit | e209d115d41e25f5658dd52ae94ceb873b33013f (patch) | |
tree | 58b49bdcc833ec48bc8542f81b7918f50e07bb6d /fpicker | |
parent | 8e27c68847c6461c7bc0bdbff44412d6bfb0b1e8 (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 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 8 | ||||
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.hxx | 1 | ||||
-rw-r--r-- | fpicker/source/office/iodlgimp.cxx | 2 |
3 files changed, 0 insertions, 11 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 134b661b78a9..454c144b8331 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -44,8 +44,6 @@ #include "osl/mutex.hxx" #include "vcl/svapp.hxx" -// using ---------------------------------------------------------------- - using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::ui::dialogs; @@ -56,8 +54,6 @@ using namespace ::utl; - - struct FilterEntry { protected: @@ -114,8 +110,6 @@ sal_Int32 FilterEntry::getSubFilters( UnoFilterList& _rSubFilterList ) return m_aSubFilters.getLength(); } -// struct ElementEntry_Impl ---------------------------------------------- - struct ElementEntry_Impl { sal_Int16 m_nElementID; @@ -572,12 +566,10 @@ OUString SAL_CALL SvtFilePicker::getDisplayDirectory() throw( RuntimeException, { OUString aPath = getDialog()->GetPath(); - // #97148# ---- if( m_aOldHideDirectory == aPath ) return m_aOldDisplayDirectory; m_aOldHideDirectory = aPath; - // #102204# ----- if( !getDialog()->ContentIsFolder( aPath ) ) { INetURLObject aFolder( aPath ); diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 3fa7c6e62fa4..8182624233f4 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -70,7 +70,6 @@ protected: OUString m_aDefaultName; OUString m_aCurrentFilter; - // #97148# -------------- OUString m_aOldDisplayDirectory; OUString m_aOldHideDirectory; diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index b30e07807f2a..9da9f7ab4c47 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -25,7 +25,6 @@ #include <vcl/msgbox.hxx> #include <vcl/lstbox.hxx> #include <vcl/svapp.hxx> -// #97148# --------------- #include "svl/ctypeitm.hxx" #include "svl/eitem.hxx" #include "unotools/viewoptions.hxx" @@ -165,7 +164,6 @@ void SvtUpButton_Impl::FillURLMenu( PopupMenu* _pMenu ) OUString aParentURL(aObject.GetMainURL(INetURLObject::NO_DECODE)); OUString aTitle; - // 97148# -------------------------------- if (!GetDialogParent()->ContentGetTitle(aParentURL, aTitle) || aTitle.isEmpty()) aTitle = aObject.getName(); |