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 /ucb | |
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 'ucb')
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchydata.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchydata.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyprovider.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyprovider.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 1 |
6 files changed, 8 insertions, 9 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index d746e6d865ca..c1cab9c8166f 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -239,8 +239,8 @@ struct PropertySetRegistry_Impl Reference< XInterface > m_xRootReadAccess; Reference< XInterface > m_xRootWriteAccess; osl::Mutex m_aMutex; - bool m_bTriedToGetRootReadAccess; // #82494# - bool m_bTriedToGetRootWriteAccess; // #82494# + bool m_bTriedToGetRootReadAccess; + bool m_bTriedToGetRootWriteAccess; explicit PropertySetRegistry_Impl(const Sequence<Any> &rInitArgs) : m_aInitArgs(rInitArgs) @@ -965,7 +965,7 @@ Reference< XInterface > PropertySetRegistry::getRootConfigReadAccess() if ( !m_pImpl->m_xRootReadAccess.is() ) { - if ( m_pImpl->m_bTriedToGetRootReadAccess ) // #82494# + if ( m_pImpl->m_bTriedToGetRootReadAccess ) { OSL_FAIL( "PropertySetRegistry::getRootConfigReadAccess - " "Unable to read any config data! -> #82494#" ); @@ -1023,7 +1023,7 @@ Reference< XInterface > PropertySetRegistry::getConfigWriteAccess( if ( !m_pImpl->m_xRootWriteAccess.is() ) { - if ( m_pImpl->m_bTriedToGetRootWriteAccess ) // #82494# + if ( m_pImpl->m_bTriedToGetRootWriteAccess ) { OSL_FAIL( "PropertySetRegistry::getConfigWriteAccess - " "Unable to write any config data! -> #82494#" ); diff --git a/ucb/source/ucp/hierarchy/hierarchydata.cxx b/ucb/source/ucp/hierarchy/hierarchydata.cxx index bd9805c1b557..2e73447251fd 100644 --- a/ucb/source/ucp/hierarchy/hierarchydata.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydata.cxx @@ -1035,7 +1035,7 @@ HierarchyEntry::getRootReadAccess() osl::Guard< osl::Mutex > aGuard( m_aMutex ); if ( !m_xRootReadAccess.is() ) { - if ( m_bTriedToGetRootReadAccess ) // #82494# + if ( m_bTriedToGetRootReadAccess ) { OSL_FAIL( "HierarchyEntry::getRootReadAccess - " "Unable to read any config data! -> #82494#" ); diff --git a/ucb/source/ucp/hierarchy/hierarchydata.hxx b/ucb/source/ucp/hierarchy/hierarchydata.hxx index 15fe58df6d3f..a9eb1a705106 100644 --- a/ucb/source/ucp/hierarchy/hierarchydata.hxx +++ b/ucb/source/ucp/hierarchy/hierarchydata.hxx @@ -91,7 +91,7 @@ class HierarchyEntry ::com::sun::star::uno::Reference< ::com::sun::star::util::XOfficeInstallationDirectories > m_xOfficeInstDirs; - bool m_bTriedToGetRootReadAccess; // #82494# + bool m_bTriedToGetRootReadAccess; private: static OUString createPathFromHierarchyURL( const HierarchyUri & rURI ); diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx index ac68a59590e9..18dd8f0bcd98 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx @@ -224,7 +224,7 @@ HierarchyContentProvider::getRootConfigReadNameAccess( { if ( !( (*it).second.xRootReadAccess.is() ) ) { - if ( (*it).second.bTriedToGetRootReadAccess ) // #82494# + if ( (*it).second.bTriedToGetRootReadAccess ) { OSL_FAIL( "HierarchyContentProvider::getRootConfigReadNameAccess - " "Unable to read any config data! -> #82494#" ); diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx index 494e11a3b105..973ff75957db 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx @@ -52,7 +52,7 @@ struct ConfigProviderMapEntry com::sun::star::lang::XMultiServiceFactory > xConfigProvider; com::sun::star::uno::Reference< com::sun::star::container::XHierarchicalNameAccess > xRootReadAccess; - bool bTriedToGetRootReadAccess; // #82494# + bool bTriedToGetRootReadAccess; ConfigProviderMapEntry() : bTriedToGetRootReadAccess( false ) {} }; diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 6f5ee4b6acb8..bb4e317484a8 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -1954,7 +1954,6 @@ uno::Any Content::open( OUStringBuffer aMsg; if ( getResourceType( xEnv ) == FTP ) { - // #114653# aMsg.append( "FTP over HTTP proxy: resource cannot " "be opened as folder! Wrong Open Mode!" ); } |