summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_mount.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:34 +0200
commitfd40ba1e2eb709c34672b0e20052fe4f9130739f (patch)
tree7906806a6b9836026a0277808e09e9840b5015f5 /ucb/source/ucp/gio/gio_mount.cxx
parent0416f002d7a43c4311703b59ba0ae725abfc1eda (diff)
loplugin:oncevar: empty strings: ucb
Change-Id: If97b0dbeaced579bf23f9f77d431d1085ab89594
Diffstat (limited to 'ucb/source/ucp/gio/gio_mount.cxx')
-rw-r--r--ucb/source/ucp/gio/gio_mount.cxx4
1 files changed, 2 insertions, 2 deletions
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() );