summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-03-01 18:53:33 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-03-01 18:59:27 +0100
commit2c334494efd4ee52638435a9b55b1e4b33b04b54 (patch)
tree2dbdf575e7838f1ea6cf3e98d73938de266ccffd /cui
parent3d3e883b15ae688031ffbc9f0e709848e2d629ad (diff)
unconditional break in while loop
Change-Id: Ia5c28300ba6c299c7625e8b63a46327123ebb98e
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/personalization.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 1bf0132ab6ef..ddea9fed3c17 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -443,15 +443,13 @@ IMPL_LINK( SvxPersonalizationTabPage, SelectPersona, PushButton*, /*pButton*/ )
{
SelectPersonaDialog aDialog( NULL );
- while ( aDialog.Execute() == RET_OK )
+ if ( aDialog.Execute() == RET_OK )
{
OUString aPersonaSetting( aDialog.GetAppliedPersonaSetting() );
if ( !aPersonaSetting.isEmpty() )
{
SetPersonaSettings( aPersonaSetting );
}
-
- break;
}
return 0;