From fd40ba1e2eb709c34672b0e20052fe4f9130739f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:44:34 +0200 Subject: loplugin:oncevar: empty strings: ucb Change-Id: If97b0dbeaced579bf23f9f77d431d1085ab89594 --- ucb/source/ucp/gio/gio_mount.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb/source/ucp/gio/gio_mount.cxx') diff --git a/ucb/source/ucp/gio/gio_mount.cxx b/ucb/source/ucp/gio/gio_mount.cxx index 75aa07e7061f..aa955ac77d60 100644 --- a/ucb/source/ucp/gio/gio_mount.cxx +++ b/ucb/source/ucp/gio/gio_mount.cxx @@ -81,7 +81,7 @@ static void ooo_mount_operation_ask_password (GMountOperation *op, return; } - OUString aHostName, aDomain, aUserName, aPassword; + OUString aDomain, aUserName, aPassword; ucbhelper::SimpleAuthenticationRequest::EntityType eUserName = (flags & G_ASK_PASSWORD_NEED_USERNAME) @@ -118,7 +118,7 @@ static void ooo_mount_operation_ask_password (GMountOperation *op, aDomain = OUString(default_domain, strlen(default_domain), RTL_TEXTENCODING_UTF8); rtl::Reference< ucbhelper::SimpleAuthenticationRequest > xRequest - = new ucbhelper::SimpleAuthenticationRequest (OUString() /* FIXME: provide URL here */, aHostName, eDomain, aDomain, eUserName, aUserName, ePassword, aPassword); + = new ucbhelper::SimpleAuthenticationRequest (OUString() /* FIXME: provide URL here */, OUString(), eDomain, aDomain, eUserName, aUserName, ePassword, aPassword); xIH->handle( xRequest.get() ); -- cgit