summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-13 17:57:16 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-13 19:17:40 +0100
commit9a4fb0643e51cb89649000493e8c5dac5a306bc4 (patch)
tree35fa8b50dbb4fdb14c8974b27742345574c98031 /svtools
parent54e6159aae3c5a84fe7c2a71e57bc8657145dfde (diff)
fix incorrect code alignment
Change-Id: I71985c728ea4ecc415f76641dcf89c3cbce38248
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 2865e991d46c..3df3fbff76d0 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -409,9 +409,11 @@ void AssignmentPersistentData::Commit()
if (_rAssignment.isEmpty())
{
if (hasFieldAssignment(_rLogicalName))
+ {
// the assignment exists but it should be reset
clearFieldAssignment(_rLogicalName);
- return;
+ }
+ return;
}
// Fields