summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-11 13:01:15 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-11 14:10:51 +0200
commiteca8497238ac331db5ce9cdc35fb2e2f5f5354b3 (patch)
tree90918d433f6b90dfa4dc64786ddef0725726e96e
parentc994d59fe05a6b54d8821ac0db9efa9b87fe2e7e (diff)
sd: remove pointless micro-optimization
Change-Id: Ib5c9e79d21969922feeed5cd1908f238608401e4
-rw-r--r--extensions/source/propctrlr/propertyeditor.hxx1
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx15
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx1
3 files changed, 5 insertions, 12 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx
index 6162d3e1bfb7..eafdf3653db3 100644
--- a/extensions/source/propctrlr/propertyeditor.hxx
+++ b/extensions/source/propctrlr/propertyeditor.hxx
@@ -25,7 +25,6 @@
#include <com/sun/star/inspection/XPropertyControl.hpp>
#include <vcl/tabctrl.hxx>
#include <vcl/vclptr.hxx>
-#include <boost/mem_fn.hpp>
#include <map>
namespace pcr
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index b3084b2cc82d..0f702e50eafe 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -3364,40 +3364,35 @@ void SAL_CALL SlideShowListenerProxy::paused( ) throw (css::uno::RuntimeExcepti
{
::osl::MutexGuard aGuard( m_aMutex );
- if( maListeners.getLength() >= 0 )
- maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::paused ) );
+ maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::paused ) );
}
void SAL_CALL SlideShowListenerProxy::resumed( ) throw (css::uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
- if( maListeners.getLength() >= 0 )
- maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::resumed ) );
+ maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::resumed ) );
}
void SAL_CALL SlideShowListenerProxy::slideTransitionStarted( ) throw (RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
- if( maListeners.getLength() >= 0 )
- maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideTransitionStarted ) );
+ maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideTransitionStarted ) );
}
void SAL_CALL SlideShowListenerProxy::slideTransitionEnded( ) throw (css::uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
- if( maListeners.getLength() >= 0 )
- maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideTransitionEnded ) );
+ maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideTransitionEnded ) );
}
void SAL_CALL SlideShowListenerProxy::slideAnimationsEnded( ) throw (css::uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
- if( maListeners.getLength() >= 0 )
- maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideAnimationsEnded ) );
+ maListeners.forEach<XSlideShowListener>( boost::mem_fn( &XSlideShowListener::slideAnimationsEnded ) );
}
void SlideShowListenerProxy::slideEnded(sal_Bool bReverse) throw (RuntimeException, std::exception)
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index 56529e69f0bf..17dee4ebbbf8 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -51,7 +51,6 @@
#include <unordered_map>
#include <utility>
#include <vector>
-#include <boost/assign/list_of.hpp>
#include <boost/intrusive_ptr.hpp>
#include <boost/optional.hpp>
#include <boost/optional/optional.hpp>