summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-07-31 00:52:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-07-31 00:52:12 +0200
commit4f4139a28679794b8372ea723a78c8834c56843e (patch)
tree276c553b0cd4166f31f4ef42d444b83054ae093d /xmloff
parent1f7b66104dcb8ccad3efd2bd116c42e090ee9981 (diff)
Some cppcheck cleaning + 2 fixes of last commit
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xmloff/txtimp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/inc/xmloff/txtimp.hxx b/xmloff/inc/xmloff/txtimp.hxx
index e625cb66b0d4..1896ef227970 100644
--- a/xmloff/inc/xmloff/txtimp.hxx
+++ b/xmloff/inc/xmloff/txtimp.hxx
@@ -582,7 +582,7 @@ public:
/// save the start of a range reference
void InsertBookmarkStartRange(
- const ::rtl::OUString sName,
+ const ::rtl::OUString & sName,
const ::com::sun::star::uno::Reference<
::com::sun::star::text::XTextRange> & rRange,
::rtl::OUString const& i_rXmlId,
@@ -591,7 +591,7 @@ public:
/// process the start of a range reference
sal_Bool FindAndRemoveBookmarkStartRange(
- const ::rtl::OUString sName,
+ const ::rtl::OUString & sName,
::com::sun::star::uno::Reference<
::com::sun::star::text::XTextRange> & o_rRange,
::rtl::OUString & o_rXmlId,