summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/dumputils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/dumputils.cxx')
-rw-r--r--codemaker/source/cppumaker/dumputils.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/codemaker/source/cppumaker/dumputils.cxx b/codemaker/source/cppumaker/dumputils.cxx
index 2a3e809e70f3..54867523b0d4 100644
--- a/codemaker/source/cppumaker/dumputils.cxx
+++ b/codemaker/source/cppumaker/dumputils.cxx
@@ -74,6 +74,20 @@ void dumpTypeIdentifier(FileStream & out, std::u16string_view entityName) {
out << entityName.substr(entityName.rfind('.') + 1);
}
+bool dumpTypeFullWithDecorator(FileStream& out, std::u16string_view entityName, std::u16string_view decorator)
+{
+ bool bOutput = false;
+ for (sal_Int32 i = 0; i >= 0;)
+ {
+ std::u16string_view id(o3tl::getToken(entityName, 0, '.', i));
+ if (i >= 0)
+ {
+ out << id << decorator;
+ bOutput = true;
+ }
+ }
+ return bOutput;
+}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */