[Libreoffice-commits] core.git: include/oox
Stephan Bergmann
sbergman at redhat.com
Thu Jan 14 06:02:14 PST 2016
include/oox/helper/refvector.hxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 03631195ff7b73c25e5a3f5554e2eb293ffc31c5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 14 15:01:44 2016 +0100
-Werror=misleading-indentation (GCC 6)
Change-Id: I83beda380dc35544b9bc6fd5b1c7359546f8c8c5
diff --git a/include/oox/helper/refvector.hxx b/include/oox/helper/refvector.hxx
index eff649b..e7aca39 100644
--- a/include/oox/helper/refvector.hxx
+++ b/include/oox/helper/refvector.hxx
@@ -134,7 +134,10 @@ private:
FunctorType maFunctor;
sal_Int32 mnIndex;
explicit ForEachFunctorWithIndex( const FunctorType& rFunctor ) : maFunctor( rFunctor ), mnIndex( 0 ) {}
- void operator()( const value_type& rxValue ) { if( rxValue.get() ) maFunctor( mnIndex, *rxValue ); ++mnIndex; }
+ void operator()( const value_type& rxValue ) {
+ if( rxValue.get() ) maFunctor( mnIndex, *rxValue );
+ ++mnIndex;
+ }
};
template< typename FunctorType >
More information about the Libreoffice-commits
mailing list