diff options
Diffstat (limited to 'codemaker/source/cppumaker/dumputils.hxx')
-rw-r--r-- | codemaker/source/cppumaker/dumputils.hxx | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/codemaker/source/cppumaker/dumputils.hxx b/codemaker/source/cppumaker/dumputils.hxx index c89b40df994b..24e5bae3bede 100644 --- a/codemaker/source/cppumaker/dumputils.hxx +++ b/codemaker/source/cppumaker/dumputils.hxx @@ -17,26 +17,24 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DUMPUTILS_HXX -#define INCLUDED_CODEMAKER_SOURCE_CPPUMAKER_DUMPUTILS_HXX +#pragma once #include <sal/config.h> +#include <string_view> -namespace rtl { class OUString; } +namespace rtl +{ +class OUString; +} class FileStream; -namespace codemaker::cppumaker { - -bool dumpNamespaceOpen( - FileStream & out, rtl::OUString const & entityName, bool fullModuleType); +namespace codemaker::cppumaker +{ +bool dumpNamespaceOpen(FileStream& out, std::u16string_view entityName, bool fullModuleType); -bool dumpNamespaceClose( - FileStream & out, rtl::OUString const & entityName, bool fullModuleType); - -void dumpTypeIdentifier(FileStream & out, rtl::OUString const & entityName); +bool dumpNamespaceClose(FileStream& out, std::u16string_view entityName, bool fullModuleType); +void dumpTypeIdentifier(FileStream& out, std::u16string_view entityName); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |