summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-01-19 16:37:33 +0200
committerAndras Timar <andras.timar@collabora.com>2015-01-20 16:40:47 +0000
commit9cebcb0d49f92c08d5a8b9eb9c02959b86d6aefb (patch)
tree6d9f6836bf407cb856c5f4ac6e29406da7a644e0 /desktop
parentef93d0ccb0c2ef010fc1f1089e55f1d9c74e61fd (diff)
operator ?: has lower precedence than <<; << will be evaluated first
Change-Id: I84037cf90c8de534c215200fe19793126ae07b11 Reviewed-on: https://gerrit.libreoffice.org/14043 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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