From 4f4139a28679794b8372ea723a78c8834c56843e Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 31 Jul 2011 00:52:12 +0200 Subject: Some cppcheck cleaning + 2 fixes of last commit --- xmloff/inc/xmloff/txtimp.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') 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, -- cgit