summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/optionsdlg.cxx4
-rw-r--r--unotools/source/ucbhelper/xtempfile.cxx4
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