summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.hxx4
-rw-r--r--linguistic/source/hyphdsp.cxx2
-rw-r--r--linguistic/source/hyphdsp.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index a11a50e75982..de5fada1466e 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -76,14 +76,14 @@ class ConvDicXMLImport : public SvXMLImport
// but the language and conversion type will
// still be determined!
- sal_Int16 nLanguage; // language of the dictionary
+ sal_Int16 nLanguage; // language of the dictionary
sal_Int16 nConversionType; // conversion type the dictionary is used for
sal_Bool bSuccess;
public:
//!! see comment for pDic member
- ConvDicXMLImport( ConvDic *pConvDic, const OUString /*&rFileName*/ ) :
+ ConvDicXMLImport( ConvDic *pConvDic, const OUString& /*&rFileName*/ ) :
SvXMLImport ( comphelper::getProcessComponentContext(), "com.sun.star.lingu2.ConvDicXMLImport", IMPORT_ALL ),
pDic ( pConvDic )
{
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index f8770618eac9..3202c7857ea4 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -65,7 +65,7 @@ void HyphenatorDispatcher::ClearSvcList()
Reference<XHyphenatedWord> HyphenatorDispatcher::buildHyphWord(
- const OUString rOrigWord,
+ const OUString& rOrigWord,
const Reference<XDictionaryEntry> &xEntry,
sal_Int16 nLang, sal_Int16 nMaxLeading )
{
diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx
index fdcfcbf0bc5a..4b6fdd6afec6 100644
--- a/linguistic/source/hyphdsp.hxx
+++ b/linguistic/source/hyphdsp.hxx
@@ -75,7 +75,7 @@ class HyphenatorDispatcher :
com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenatedWord>
- buildHyphWord( const OUString rOrigWord,
+ buildHyphWord( const OUString& rOrigWord,
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionaryEntry> &xEntry,
sal_Int16 nLang, sal_Int16 nMaxLeading );