summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc')
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectExport.cxx4
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectExport.hxx4
-rw-r--r--editeng/source/misc/splwrap.cxx2
-rw-r--r--editeng/source/misc/svxacorr.cxx6
-rw-r--r--editeng/source/misc/unolingu.cxx2
5 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.cxx b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
index b69640617565..b2bc8e52d056 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.cxx
@@ -30,7 +30,7 @@ SvXMLAutoCorrectExport::SvXMLAutoCorrectExport(
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const SvxAutocorrWordList * pNewAutocorr_List,
const OUString &rFileName,
- css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler)
+ css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler)
: SvXMLExport( xContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
pAutocorr_List( pNewAutocorr_List )
{
@@ -74,7 +74,7 @@ SvXMLExceptionListExport::SvXMLExceptionListExport(
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const SvStringsISortDtor &rNewList,
const OUString &rFileName,
- css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler)
+ css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler)
: SvXMLExport( xContext, "", rFileName, util::MeasureUnit::CM, rHandler ),
rList( rNewList )
{
diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.hxx b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
index 6c15f81ee913..b100212da5e6 100644
--- a/editeng/source/misc/SvXMLAutoCorrectExport.hxx
+++ b/editeng/source/misc/SvXMLAutoCorrectExport.hxx
@@ -34,7 +34,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const SvxAutocorrWordList * pNewAutocorr_List,
const OUString &rFileName,
- css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler);
+ css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler);
ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override;
void ExportAutoStyles_() override {}
@@ -53,7 +53,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const SvStringsISortDtor &rNewList,
const OUString &rFileName,
- css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler);
+ css::uno::Reference< css::xml::sax::XDocumentHandler> const &rHandler);
ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override;
void ExportAutoStyles_() override {}
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index a4db40002037..272a6388947a 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -154,7 +154,7 @@ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn,
SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn,
- Reference< XHyphenator > &xHyphenator,
+ Reference< XHyphenator > const &xHyphenator,
const bool bStart, const bool bOther ) :
pWin ( pWn ),
xHyph ( xHyphenator ),
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 75528c98f1fa..3f52dec6ff34 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1234,7 +1234,7 @@ OUString SvxAutoCorrect::GetQuote( SvxAutoCorrDoc const & rDoc, sal_Int32 nInsPo
void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
sal_Int32 nInsPos, sal_Unicode cChar,
- bool bInsert, vcl::Window* pFrameWin )
+ bool bInsert, vcl::Window const * pFrameWin )
{
bool bIsNextRun = bRunNext;
bRunNext = false; // if it was set, then it has to be turned off
@@ -1515,7 +1515,7 @@ bool SvxAutoCorrect::AddWrtSttException( const OUString& rNew,
return pLists && pLists->AddToWrdSttExceptList(rNew);
}
-bool SvxAutoCorrect::GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc,
+bool SvxAutoCorrect::GetPrevAutoCorrWord( SvxAutoCorrDoc const & rDoc,
const OUString& rTxt, sal_Int32 nPos,
OUString& rWord ) const
{
@@ -2048,7 +2048,7 @@ void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp(
void SvxAutoCorrectLanguageLists::SaveExceptList_Imp(
const SvStringsISortDtor& rLst,
const sal_Char* pStrmName,
- tools::SvRef<SotStorage> &rStg,
+ tools::SvRef<SotStorage> const &rStg,
bool bConvert )
{
if( rStg.is() )
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 7cf530d78aed..00d06a8c15fb 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -710,7 +710,7 @@ SvxAlternativeSpelling SvxGetAltSpelling(
}
-SvxDicListChgClamp::SvxDicListChgClamp( uno::Reference< XSearchableDictionaryList > &rxDicList ) :
+SvxDicListChgClamp::SvxDicListChgClamp( uno::Reference< XSearchableDictionaryList > const &rxDicList ) :
xDicList ( rxDicList )
{
if (xDicList.is())