diff options
author | Slávek Banko <[email protected]> | 2016-09-18 20:13:23 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-18 20:16:12 +0200 |
commit | 0a78c9adbf4ec3cf77bad3a803706a10cc07b432 (patch) | |
tree | b7d5f2e0bc882ee7225879bb3cb58dfd420aa209 /src/cite | |
parent | 024330fca86b8ab53d7dd7e7d05206cdc99807a2 (diff) | |
download | tellico-0a78c9adbf4ec3cf77bad3a803706a10cc07b432.tar.gz tellico-0a78c9adbf4ec3cf77bad3a803706a10cc07b432.zip |
Fix build with KDE_DEFAULT_CXXFLAGS
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 5eb938208e3ef0f9c2d8aecde27d03cd4564e255)
Diffstat (limited to 'src/cite')
-rw-r--r-- | src/cite/openoffice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()) { |