From 03518d08cb0a38c1223f51ba7d985291afaec39a Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Mon, 17 Apr 2017 22:52:53 +0200 Subject: Fix indentation Change-Id: If2c567450c27fe442e8c68627888fe7d39a65acb --- sfx2/source/doc/doctemplates.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 295312833853..cd7e93a03753 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -1629,8 +1629,8 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName, // check that the group can be renamed ( all the contents must be in target location ) bool bCanBeRenamed = false; - try - { + try + { uno::Reference< XResultSet > xResultSet; Sequence< OUString > aProps { TARGET_URL }; ResultSetInclude eInclude = INCLUDE_DOCUMENTS_ONLY; @@ -1638,11 +1638,11 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName, if ( xResultSet.is() ) { - uno::Reference< XContentAccess > xContentAccess( xResultSet, UNO_QUERY_THROW ); - uno::Reference< XRow > xRow( xResultSet, UNO_QUERY_THROW ); + uno::Reference< XContentAccess > xContentAccess( xResultSet, UNO_QUERY_THROW ); + uno::Reference< XRow > xRow( xResultSet, UNO_QUERY_THROW ); - while ( xResultSet->next() ) - { + while ( xResultSet->next() ) + { if ( !::utl::UCBContentHelper::IsSubPath( aGroupTargetURL, xRow->getString( 1 ) ) ) throw uno::Exception(); } -- cgit