summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtfldi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 15:04:48 +0200
committerNoel Grandin <noel@peralex.com>2014-03-13 15:05:31 +0200
commitfddde2b74a24b1e88e33940ee98f7fa2887dc58c (patch)
tree4cae7cb69b60c2c4628195caf36b7ec56e573c66 /xmloff/inc/txtfldi.hxx
parent22684273d58b1ae9146fcc6c8dfceb90ddf846d9 (diff)
xmloff,vbahelper: prefer passing OUString and OString by reference
Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
Diffstat (limited to 'xmloff/inc/txtfldi.hxx')
-rw-r--r--xmloff/inc/txtfldi.hxx4
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>) */