From 6671fa81db0ecea4ada005bb79f55f08fb440ad4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 27 Sep 2011 20:21:15 +0200 Subject: Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). --- registry/tools/checksingleton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/tools') diff --git a/registry/tools/checksingleton.cxx b/registry/tools/checksingleton.cxx index e1995d6fdfd1..406af9dfeb84 100644 --- a/registry/tools/checksingleton.cxx +++ b/registry/tools/checksingleton.cxx @@ -121,7 +121,7 @@ bool Options_Impl::initOptions_Impl(std::vector< std::string > & rArgs) { return badOption("invalid", option.c_str()); } - m_typeRegName = OString((*first).c_str(), (*first).size()); + m_typeRegName = *first; break; } case 'o': -- cgit