summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-19 16:37:33 +0200
committerTor Lillqvist <tml@collabora.com>2015-01-19 16:38:25 +0200
commitd36143ad9ff9bfd777788c14c06c0d406ab0b09d (patch)
treedc5adf4d3757db83effbc7fce9daa10861f04322 /desktop
parent874fb3729453d5fd67e18203a7dfa6af7932235c (diff)
operator ?: has lower precedence than <<; << will be evaluated first
Change-Id: I84037cf90c8de534c215200fe19793126ae07b11
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/dispatchwatcher.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index 80eb9b6ff265..b22be3d3ea19 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -631,8 +631,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ
OString aTargetURL8 = OUStringToOString(aTempName, osl_getThreadTextEncoding() );
std::cout << "print " << aSource8 << " -> " << aTargetURL8;
- std::cout << " using " << aPrinterName.isEmpty() ?
- "<default_printer>" : OUStringToOString( aPrinterName, osl_getThreadTextEncoding() );
+ std::cout << " using " << (aPrinterName.isEmpty() ? "<default_printer>" : OUStringToOString( aPrinterName, osl_getThreadTextEncoding() ));
std::cout << std::endl;
// create the custom printer, if given