|
|
@ -87,7 +87,7 @@ bool OpenOffice::connect() {
|
|
|
|
d->port = config.readNumEntry("Port", 2083);
|
|
|
|
d->port = config.readNumEntry("Port", 2083);
|
|
|
|
d->pipe = config.readPathEntry("Pipe");
|
|
|
|
d->pipe = config.readPathEntry("Pipe");
|
|
|
|
// the ooohandler will depend on pipe.isEmpty() to indicate the port should be used
|
|
|
|
// the ooohandler will depend on pipe.isEmpty() to indicate the port should be used
|
|
|
|
d->handler->setHost(d->host);
|
|
|
|
d->handler->setHost(d->host.ascii());
|
|
|
|
d->handler->setPort(d->port);
|
|
|
|
d->handler->setPort(d->port);
|
|
|
|
if(!d->pipe.isEmpty()) {
|
|
|
|
if(!d->pipe.isEmpty()) {
|
|
|
|
d->handler->setPipe(TQFile::encodeName(d->pipe));
|
|
|
|
d->handler->setPipe(TQFile::encodeName(d->pipe));
|
|
|
@ -246,7 +246,7 @@ bool OpenOffice::connectionDialog() {
|
|
|
|
d->pipe = s;
|
|
|
|
d->pipe = s;
|
|
|
|
|
|
|
|
|
|
|
|
if(!d->host.isEmpty()) {
|
|
|
|
if(!d->host.isEmpty()) {
|
|
|
|
d->handler->setHost(d->host);
|
|
|
|
d->handler->setHost(d->host.ascii());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
d->handler->setPort(d->port);
|
|
|
|
d->handler->setPort(d->port);
|
|
|
|
if(!d->pipe.isEmpty()) {
|
|
|
|
if(!d->pipe.isEmpty()) {
|
|
|
|