From 075271062ac719a2790713b7f301a4a4ac7505c0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 Jun 2012 09:31:30 +0200 Subject: -Werror,-Wself-assign (Clang) Change-Id: Ic541f6539a34ea20b19613edc4fe8670b1a69dee --- reportdesign/source/core/sdr/UndoEnv.cxx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx index 487bbafbb2ed..46b898681627 100644 --- a/reportdesign/source/core/sdr/UndoEnv.cxx +++ b/reportdesign/source/core/sdr/UndoEnv.cxx @@ -176,20 +176,6 @@ void OXUndoEnvironment::Clear(const Accessor& /*_r*/) { OUndoEnvLock aLock(*this); -#if OSL_DEBUG_LEVEL > 0 - // TODO: LLA->OJ please describe what you are doing in this code fragment. - PropertySetInfoCache::iterator aIter = m_pImpl->m_aPropertySetCache.begin(); - PropertySetInfoCache::iterator aEnd = m_pImpl->m_aPropertySetCache.end(); - int ndbg_len = m_pImpl->m_aPropertySetCache.size(); - ndbg_len = ndbg_len; - for (int idbg_ = 0; aIter != aEnd; ++aIter,++idbg_) - { - uno::Reference xProp(aIter->first,uno::UNO_QUERY); - xProp->getPropertySetInfo(); - int nlen = aIter->second.aProperties.size(); - nlen = nlen; - } -#endif m_pImpl->m_aPropertySetCache.clear(); sal_uInt16 nCount = m_pImpl->m_rModel.GetPageCount(); @@ -267,10 +253,6 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv // no Undo for transient and readonly props. // let's see if we know something about the set -#if OSL_DEBUG_LEVEL > 0 - int nlen = m_pImpl->m_aPropertySetCache.size(); - nlen = nlen; -#endif PropertySetInfoCache::iterator objectPos = m_pImpl->m_aPropertySetCache.find(xSet); if (objectPos == m_pImpl->m_aPropertySetCache.end()) { -- cgit v1.2.3