summaryrefslogtreecommitdiff
path: root/test/source/util
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/util')
-rw-r--r--test/source/util/xreplaceable.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/source/util/xreplaceable.cxx b/test/source/util/xreplaceable.cxx
index 42a31102a649..598a7ddf46ec 100644
--- a/test/source/util/xreplaceable.cxx
+++ b/test/source/util/xreplaceable.cxx
@@ -16,6 +16,8 @@
#include <iostream>
+#include <test/callgrind.hxx>
+
using namespace css;
using namespace css::uno;
@@ -50,7 +52,9 @@ void XReplaceable::testReplaceAll()
xReplaceDescr->setSearchString(maSearchString);
xReplaceDescr->setReplaceString(maReplaceString);
+ callgrindStart();
xReplaceable->replaceAll(uno::Reference< util::XSearchDescriptor >(xReplaceDescr, UNO_QUERY_THROW));
+ callgrindDump("replaceAll");
//check that now at least one element is found
xElement = xReplaceable->findFirst(xSearchDescr);