summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-04-17 22:52:53 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-04-18 17:55:30 +0200
commit03518d08cb0a38c1223f51ba7d985291afaec39a (patch)
tree26f4ef2d79bc058e36b9426661eafea32bf5cad1 /sfx2
parentddfb69a290a16bed3dddd3146caa4840f6f338f0 (diff)
Fix indentation
Change-Id: If2c567450c27fe442e8c68627888fe7d39a65acb
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctemplates.cxx12
1 files changed, 6 insertions, 6 deletions
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();
}