diff options
Diffstat (limited to 'xmloff/inc/txtfldi.hxx')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 9333688a30f5..74b127b8d4cf 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -161,7 +161,7 @@ protected: inline XMLTextImportHelper& GetImportHelper() { return rTextImportHelper; } inline OUString GetServiceName() { return sServiceName; } - inline void SetServiceName(OUString sStr) { sServiceName = sStr; } + inline void SetServiceName(const OUString& sStr) { sServiceName = sStr; } OUString GetContent(); @@ -1197,7 +1197,7 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & xPropertySet); - static const sal_Char* MapBibliographyFieldName(OUString sName); + static const sal_Char* MapBibliographyFieldName(const OUString& sName); }; /** Import an annotation field (<text:annotation>) */ |