diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-06 09:31:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-06 14:09:49 +0200 |
commit | 075271062ac719a2790713b7f301a4a4ac7505c0 (patch) | |
tree | 20be18c5e94d273813b354cc61384d4be1765e7a /reportdesign | |
parent | a519cacd61624784eff0646c8a472349373b2993 (diff) |
-Werror,-Wself-assign (Clang)
Change-Id: Ic541f6539a34ea20b19613edc4fe8670b1a69dee
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/sdr/UndoEnv.cxx | 18 |
1 files changed, 0 insertions, 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<beans::XPropertySet> 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()) { |