summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-04-29 18:25:15 +0200
committerMichael Stahl <mstahl@redhat.com>2015-04-29 18:25:34 +0200
commit6cf3cdce6d66651f69346fd342e8a7040bbb0786 (patch)
treea955191a445df128b95e35afe0abd35310d25aab /cui
parent4a7dcee7456495b03382aff7b04afa4ddfc74444 (diff)
cui: loplugin:literaltoboolconversion
Change-Id: I26b9778d2fe593dd5d4bdbc2cb737c6304bae120
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 3c3ecf215de1..61f10283f2b6 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -693,7 +693,7 @@ IMPL_LINK_NOARG(SvxColorTabPage, ClickAddHdl_Impl)
long j = 1;
// check if name is already existing
- while (1)
+ while (true)
{
bool bDifferent = true;