From 7f305223fa6d6a1ad4a6f906b14f879cb01539be Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 2 Nov 2019 19:52:33 +0100 Subject: New loplugin:conditionalstring Change-Id: I2eab990c15f845b44a3b598571aca361dadf9ff3 Reviewed-on: https://gerrit.libreoffice.org/81946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- cui/source/options/dbregister.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index 171e3f869ecc..24df2e4930c6 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -183,7 +183,7 @@ void DbRegistrationOptionsPage::FillUserData() { OUString aUserData = OUString::number( m_xPathBox->get_column_width(COL_TYPE) ) + ";"; bool bUp = m_xPathBox->get_sort_order(); - aUserData += (bUp ? OUString("1") : OUString("0")); + aUserData += (bUp ? OUStringLiteral("1") : OUStringLiteral("0")); SetUserData( aUserData ); } -- cgit