diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:19 +0200 |
commit | b052e1775a658514283e4b019830f0bd460f2e54 (patch) | |
tree | 5fef1a06216ee05e938918c46b8344d4d659910f /unotools | |
parent | 057db51cd95ca8e063f8c51c6651e9ad7b0d708e (diff) |
loplugin:stringcopy: unotools
Change-Id: Id7560e7b0c0aa2ad48d022198d0681e50f47cd3b
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/optionsdlg.cxx | 4 | ||||
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx index 7d1f1846b0bf..471dad5a365e 100644 --- a/unotools/source/config/optionsdlg.cxx +++ b/unotools/source/config/optionsdlg.cxx @@ -32,7 +32,7 @@ using namespace utl; using namespace com::sun::star::beans; using namespace com::sun::star::uno; -#define CFG_FILENAME OUString( "Office.OptionsDialog" ) +#define CFG_FILENAME "Office.OptionsDialog" #define ROOT_NODE "OptionsDialogGroups" #define PAGES_NODE "Pages" #define OPTIONS_NODE "Options" @@ -80,7 +80,7 @@ namespace } SvtOptionsDlgOptions_Impl::SvtOptionsDlgOptions_Impl() - : ConfigItem( OUString( CFG_FILENAME ) ), + : ConfigItem( CFG_FILENAME ), m_sPathDelimiter( "/" ), m_aOptionNodeList( OptionNodeList() ) diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index b77dfb90eb03..7a7d8bc6b8c5 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -126,7 +126,7 @@ OUString SAL_CALL OTempFileService::getUri() throw css::uno::RuntimeException(); } - return OUString( mpTempFile->GetURL() ); + return mpTempFile->GetURL(); }; OUString SAL_CALL OTempFileService::getResourceName() @@ -138,7 +138,7 @@ OUString SAL_CALL OTempFileService::getResourceName() throw css::uno::RuntimeException(); } - return OUString( mpTempFile->GetFileName() ); + return mpTempFile->GetFileName(); }; // XInputStream |