diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:42 +0100 |
commit | 369be908c37ca0d062ab94355b01badc51f793fa (patch) | |
tree | d4dddb9878c2d53c7fa3cf125958503d27ddbb7b /sal/rtl | |
parent | 8b6ed2d28861de44a580d0c743d485df70c48913 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I95283ccf78e4ca699e88ea226d38153a8a92845a
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index e7874db098ea..e41b89aae062 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -250,7 +250,7 @@ static OUString & getIniFileName_Impl() resolvePathnameUrl(&fileName); #else if(getFromCommandLineArgs( - OUString("INIFILENAME"), &fileName)) + "INIFILENAME", &fileName)) { resolvePathnameUrl(&fileName); } @@ -433,7 +433,7 @@ struct FundamentalIniData: private boost::noncopyable { ini = ((static_cast< Bootstrap_Impl * >(get_static_bootstrap_handle())-> getValue( - rtl::OUString("URE_BOOTSTRAP"), + "URE_BOOTSTRAP", &uri.pData, 0, LOOKUP_MODE_NORMAL, false, 0)) && resolvePathnameUrl(&uri)) ? rtl_bootstrap_args_open(uri.pData) : NULL; |