summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-04-17 23:09:44 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-04-18 17:55:31 +0200
commit0191f643a2a79af94630d08abbb3e422c05020e7 (patch)
treea5442f99dbe2ec68c9a21dc93f454242c851bd89 /sfx2
parent1d40b59db5eaf548392b8373994e9d793563731d (diff)
Clarify intended behaviour
Change-Id: Ib1edda4886940223bd32c8a78d3aa4241f57ec84
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctemplates.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 167c5337ecb9..ad1e5627efd7 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -1294,7 +1294,8 @@ void SfxDocTplService_Impl::RemoveUINamesForTemplateDir_Impl( const OUString& aU
aNewUINames.resize( nNewLen );
- !bChanged || WriteUINamesForTemplateDir_Impl( aUserPath, aNewUINames );
+ if (bChanged)
+ WriteUINamesForTemplateDir_Impl( aUserPath, aNewUINames );
}