From 5eb938208e3ef0f9c2d8aecde27d03cd4564e255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 18 Sep 2016 20:13:23 +0200 Subject: Fix build with KDE_DEFAULT_CXXFLAGS Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/cite/openoffice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cite') diff --git a/src/cite/openoffice.cpp b/src/cite/openoffice.cpp index 91e96ed..7ae0712 100644 --- a/src/cite/openoffice.cpp +++ b/src/cite/openoffice.cpp @@ -87,7 +87,7 @@ bool OpenOffice::connect() { d->port = config.readNumEntry("Port", 2083); d->pipe = config.readPathEntry("Pipe"); // 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); if(!d->pipe.isEmpty()) { d->handler->setPipe(TQFile::encodeName(d->pipe)); @@ -246,7 +246,7 @@ bool OpenOffice::connectionDialog() { d->pipe = s; if(!d->host.isEmpty()) { - d->handler->setHost(d->host); + d->handler->setHost(d->host.ascii()); } d->handler->setPort(d->port); if(!d->pipe.isEmpty()) { -- cgit v1.2.1