[Libreoffice-commits] core.git: 2 commits - bin/lolcat writerfilter/source
Tor Lillqvist
tml at collabora.com
Tue Oct 21 08:05:23 PDT 2014
bin/lolcat | 2 ++
writerfilter/source/dmapper/PropertyMapHelper.cxx | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit 2a6be9021075bae69cfac1305b6a70910a7a00dc
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Oct 21 17:12:03 2014 +0300
Flush output after each line
Change-Id: Id96ab8d9938725d780c475f2f892660f04448df1
diff --git a/bin/lolcat b/bin/lolcat
index a97137b..ecc3065 100755
--- a/bin/lolcat
+++ b/bin/lolcat
@@ -1,6 +1,7 @@
#!/usr/bin/perl -w
use strict;
+use IO::Handle;
die "Usage: $0 identifier\n" .
"(identifier is for example org.libreoffice)" unless $#ARGV == 0;
@@ -15,5 +16,6 @@ while (<LOGCAT>) {
$pid = $1;
} elsif (m!^[EIW]/[^(]+\( *$pid\)!) {
print $_;
+ STDOUT->flush();
}
}
commit fe2711dc10f0267a7495690dbfb28bfa80e2fc89
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Oct 21 12:20:23 2014 +0300
WaE: unused parameters
Change-Id: I080677b1add4f82315ed063af2478c9e41d267ac
diff --git a/writerfilter/source/dmapper/PropertyMapHelper.cxx b/writerfilter/source/dmapper/PropertyMapHelper.cxx
index 4e2921f..278b0cf 100644
--- a/writerfilter/source/dmapper/PropertyMapHelper.cxx
+++ b/writerfilter/source/dmapper/PropertyMapHelper.cxx
@@ -30,6 +30,8 @@ using namespace ::com::sun::star;
void lcl_DumpTableColumnSeparators(const TagLogger::Pointer_t pLogger, const uno::Any & rTableColumnSeparators)
{
+ (void) pLogger;
+ (void) rTableColumnSeparators;
#ifdef DEBUG_WRITERFILTER
uno::Sequence<text::TableColumnSeparator> aSeq;
rTableColumnSeparators >>= aSeq;
More information about the Libreoffice-commits
mailing list