summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-07-21 18:49:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-22 11:14:37 +0200
commite7903c01b112665a300350b7e86c2bf65f81b8a7 (patch)
treefe95ebf0f8e5ff232b1bc453129c2efa23905ca1 /pyuno
parente7cc97d1e95fae3271fddafaa7a13bdf7c62b6ee (diff)
elide some makeStringAndClear() calls
Change-Id: I3b80d0f5b6d39c071242bc6ccc1e4333886c835d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137309 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_util.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx
index 12d58f0eca20..b66700773d00 100644
--- a/pyuno/source/module/pyuno_util.cxx
+++ b/pyuno/source/module/pyuno_util.cxx
@@ -154,7 +154,7 @@ void logException( RuntimeCargo *cargo, const char *intro,
buf.append( OUString::Concat("].") + aFunctionName + " = " );
buf.append(
val2str( data, type.getTypeLibType(), VAL2STR_MODE_SHALLOW ) );
- log( cargo,LogLevel::CALL, buf.makeStringAndClear() );
+ log( cargo,LogLevel::CALL, buf );
}
}
@@ -181,7 +181,7 @@ void logReply(
buf.append( val2str( p.getValue(), p.getValueTypeRef(), VAL2STR_MODE_SHALLOW) );
}
}
- log( cargo,LogLevel::CALL, buf.makeStringAndClear() );
+ log( cargo,LogLevel::CALL, buf );
}
@@ -204,7 +204,7 @@ void logCall( RuntimeCargo *cargo, const char *intro,
}
}
buf.append( ")" );
- log( cargo,LogLevel::CALL, buf.makeStringAndClear() );
+ log( cargo,LogLevel::CALL, buf );
}