diff options
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 4 | ||||
-rw-r--r-- | cui/source/customize/macropg.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/selector.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/SpellAttrib.hxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 32 | ||||
-rw-r--r-- | cui/source/inc/cuitabline.hxx | 16 | ||||
-rw-r--r-- | cui/source/inc/macropg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/selector.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/thesdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 |
13 files changed, 39 insertions, 39 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 2cdbfbaf3682..fd2a4a3dbb81 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -701,7 +701,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent Image SfxConfigGroupListBox::GetImage( const Reference< browse::XBrowseNode >& node, - Reference< XComponentContext > xCtx, + Reference< XComponentContext > const & xCtx, bool bIsRootNode ) { @@ -764,7 +764,7 @@ Image SfxConfigGroupListBox::GetImage( } Reference< XInterface > -SfxConfigGroupListBox::getDocumentModel( Reference< XComponentContext >& xCtx, OUString& docName ) +SfxConfigGroupListBox::getDocumentModel( Reference< XComponentContext > const & xCtx, OUString& docName ) { Reference< XInterface > xModel; Reference< frame::XDesktop2 > desktop = frame::Desktop::create( xCtx ); diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index ad8517c4b28a..781f3443ea8e 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -813,7 +813,7 @@ Any SvxMacroTabPage_::GetPropsByName( const OUString& eventName, EventsHash& eve SvxMacroTabPage::SvxMacroTabPage(vcl::Window* pParent, const Reference< frame::XFrame >& _rxDocumentFrame, const SfxItemSet& rSet, - Reference< container::XNameReplace > xNameReplace, + Reference< container::XNameReplace > const & xNameReplace, sal_uInt16 nSelectedIndex) : SvxMacroTabPage_(pParent, "MacroAssignPage", "cui/ui/macroassignpage.ui", rSet) { diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index d6a455308b2a..06894bac5c5f 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -556,7 +556,7 @@ void SvxConfigGroupListBox::Init(bool bShowSlots, const Reference< frame::XFrame Image SvxConfigGroupListBox::GetImage( const Reference< browse::XBrowseNode >& node, - Reference< XComponentContext > xCtx, + Reference< XComponentContext > const & xCtx, bool bIsRootNode ) { @@ -617,7 +617,7 @@ Image SvxConfigGroupListBox::GetImage( Reference< XInterface > SvxConfigGroupListBox::getDocumentModel( - Reference< XComponentContext >& xCtx, OUString& docName ) + Reference< XComponentContext > const & xCtx, OUString& docName ) { Reference< XInterface > xModel; Reference< frame::XDesktop2 > desktop = Desktop::create(xCtx); diff --git a/cui/source/dialogs/SpellAttrib.hxx b/cui/source/dialogs/SpellAttrib.hxx index 8578914890d0..77f0704ba9a4 100644 --- a/cui/source/dialogs/SpellAttrib.hxx +++ b/cui/source/dialogs/SpellAttrib.hxx @@ -48,7 +48,7 @@ struct SpellErrorDescription const OUString& rText, const css::lang::Locale& rLocale, const css::uno::Sequence< OUString >& rSuggestions, - css::uno::Reference< css::linguistic2::XProofreader > rxGrammarChecker, + css::uno::Reference< css::linguistic2::XProofreader > const & rxGrammarChecker, const OUString* pDialogTitle = nullptr, const OUString* pExplanation = nullptr, const OUString* pRuleId = nullptr, diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 23e5b2cc8647..ba03f6c5e6ba 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -440,7 +440,7 @@ IMPL_STATIC_LINK_TYPED( SvxThesaurusDialog, SelectFirstHdl_Impl, void *, p, void SvxThesaurusDialog::SvxThesaurusDialog( vcl::Window* pParent, - uno::Reference< linguistic2::XThesaurus > xThes, + uno::Reference< linguistic2::XThesaurus > const & xThes, const OUString &rWord, LanguageType nLanguage) : SvxStandardDialog(pParent, "ThesaurusDialog", "cui/ui/thesaurus.ui") diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index b9ca0d55b7cd..e766f130568a 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -304,7 +304,7 @@ public: void SetVisible( bool b ) { bIsVisible = b; } bool IsVisible() const { return bIsVisible; } - void SetBackupGraphic( css::uno::Reference< css::graphic::XGraphic > graphic ) + void SetBackupGraphic( css::uno::Reference< css::graphic::XGraphic > const & graphic ) { xBackupGraphic = graphic; } const css::uno::Reference< css::graphic::XGraphic >& GetBackupGraphic() diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 7701291910d1..628343c3d40a 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -135,12 +135,12 @@ class SfxConfigGroupListBox : public SvTreeListBox Image GetImage( const css::uno::Reference< css::script::browse::XBrowseNode >& node, - css::uno::Reference< css::uno::XComponentContext > xCtx, + css::uno::Reference< css::uno::XComponentContext > const & xCtx, bool bIsRootNode ); static css::uno::Reference< css::uno::XInterface > getDocumentModel( - css::uno::Reference< css::uno::XComponentContext >& xCtx, + css::uno::Reference< css::uno::XComponentContext > const & xCtx, OUString& docName ); diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index fb8625f49b7e..aa82276fd7ab 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -84,26 +84,26 @@ protected: public: SvxAreaTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, bool bShadow ); - void SetNewColorList( XColorListRef pColorList ) + void SetNewColorList( XColorListRef const & pColorList ) { mpNewColorList = pColorList; } const XColorListRef& GetNewColorList() const { return mpNewColorList; } const XColorListRef& GetColorList() const { return mpColorList; } - void SetNewGradientList( XGradientListRef pGrdLst) + void SetNewGradientList( XGradientListRef const & pGrdLst) { mpNewGradientList = pGrdLst; } const XGradientListRef& GetNewGradientList() const { return mpNewGradientList; } - void SetNewHatchingList( XHatchListRef pHtchLst) + void SetNewHatchingList( XHatchListRef const & pHtchLst) { mpNewHatchingList = pHtchLst; } const XHatchListRef& GetNewHatchingList() const { return mpNewHatchingList; } - void SetNewBitmapList( XBitmapListRef pBmpLst) + void SetNewBitmapList( XBitmapListRef const & pBmpLst) { mpNewBitmapList = pBmpLst; } const XBitmapListRef& GetNewBitmapList() const { return mpNewBitmapList; } - void SetNewPatternList( XPatternListRef pPtrnLst ) + void SetNewPatternList( XPatternListRef const & pPtrnLst ) { mpNewPatternList = pPtrnLst; } const XPatternListRef& GetNewPatternList() const { return mpNewPatternList; } }; @@ -303,12 +303,12 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; virtual void PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } - void SetGradientList( XGradientListRef pGrdLst) + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } + void SetGradientList( XGradientListRef const & pGrdLst) { m_pGradientList = pGrdLst; } - void SetHatchingList( XHatchListRef pHtchLst) + void SetHatchingList( XHatchListRef const & pHtchLst) { m_pHatchingList = pHtchLst; } - void SetBitmapList( XBitmapListRef pBmpLst) { m_pBitmapList = pBmpLst; } + void SetBitmapList( XBitmapListRef const & pBmpLst) { m_pBitmapList = pBmpLst; } void SetPageType( sal_uInt16 nInType ) { m_nPageType = nInType; } void SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; } @@ -369,7 +369,7 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; virtual void PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } void SetPageType( sal_uInt16 nInType ) { m_nPageType = nInType; } void SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; } void SetAreaTP( bool* pIn ) { m_pbAreaTP = pIn; } @@ -452,8 +452,8 @@ public: virtual void ActivatePage( const SfxItemSet& rSet ) override; virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } - void SetGradientList( XGradientListRef pGrdLst) + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } + void SetGradientList( XGradientListRef const & pGrdLst) { m_pGradientList = pGrdLst; } void SetPageType( sal_uInt16* pInType ) { m_pPageType = pInType; } @@ -534,8 +534,8 @@ public: virtual void PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } - void SetHatchingList( XHatchListRef pHtchLst) + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } + void SetHatchingList( XHatchListRef const & pHtchLst) { m_pHatchingList = pHtchLst; } void SetPageType( sal_uInt16* pInType ) { m_pPageType = pInType; } @@ -616,8 +616,8 @@ public: virtual void PointChanged( vcl::Window* pWindow, RECT_POINT eRP ) override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } - void SetPatternList( XPatternListRef pPatternList) { m_pPatternList = pPatternList; } + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } + void SetPatternList( XPatternListRef const & pPatternList) { m_pPatternList = pPatternList; } void SetPageType( sal_uInt16* pInType ) { m_pPageType = pInType; } void SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; } diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index 19d00eb0baff..a3df4fb20522 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -66,15 +66,15 @@ public: SdrModel* pModel, const SdrObject* pObj = nullptr, bool bHasObj = true ); - void SetNewDashList( XDashListRef pInLst) + void SetNewDashList( XDashListRef const & pInLst) { pNewDashList = pInLst; } const XDashListRef& GetNewDashList() const { return pNewDashList; } - void SetNewLineEndList( XLineEndListRef pInLst) + void SetNewLineEndList( XLineEndListRef const & pInLst) { pNewLineEndList = pInLst; } const XLineEndListRef& GetNewLineEndList() const { return pNewLineEndList; } - void SetNewColorList( XColorListRef pColTab ) { mpNewColorList = pColTab; } + void SetNewColorList( XColorListRef const & pColTab ) { mpNewColorList = pColTab; } const XColorListRef& GetNewColorList() const { return mpNewColorList; } const XColorListRef& GetColorList() const { return pColorList; } }; @@ -219,9 +219,9 @@ public: virtual void FillUserData() override; - void SetColorList( XColorListRef pColorList ) { m_pColorList = pColorList; } - void SetDashList( XDashListRef pDshLst ) { m_pDashList = pDshLst; } - void SetLineEndList( XLineEndListRef pLneEndLst) { m_pLineEndList = pLneEndLst; } + void SetColorList( XColorListRef const & pColorList ) { m_pColorList = pColorList; } + void SetDashList( XDashListRef const & pDshLst ) { m_pDashList = pDshLst; } + void SetLineEndList( XLineEndListRef const & pLneEndLst) { m_pLineEndList = pLneEndLst; } void SetObjSelected( bool bHasObj ) { m_bObjSelected = bHasObj; } void SetPageType( sal_uInt16 nInType ) { m_nPageType = nInType; } @@ -314,7 +314,7 @@ public: virtual void ActivatePage( const SfxItemSet& rSet ) override; virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; - void SetDashList( XDashListRef pDshLst ) { pDashList = pDshLst; } + void SetDashList( XDashListRef const & pDshLst ) { pDashList = pDshLst; } void SetObjSelected( bool bHasObj ) { bObjSelected = bHasObj; } void SetPageType( sal_uInt16* pInType ) { pPageType = pInType; } @@ -384,7 +384,7 @@ public: virtual void ActivatePage( const SfxItemSet& rSet ) override; virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; - void SetLineEndList( XLineEndListRef pInList ) { pLineEndList = pInList; } + void SetLineEndList( XLineEndListRef const & pInList ) { pLineEndList = pInList; } void SetPolyObj( const SdrObject* pObj ) { pPolyObj = pObj; } void SetObjSelected( bool bHasObj ) { bObjSelected = bHasObj; } diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx index b5eb5ab5ceba..256094d2ca2b 100644 --- a/cui/source/inc/macropg.hxx +++ b/cui/source/inc/macropg.hxx @@ -103,7 +103,7 @@ public: vcl::Window* pParent, const css::uno::Reference< css::frame::XFrame >& _rxDocumentFrame, const SfxItemSet& rSet, - css::uno::Reference< css::container::XNameReplace > xNameReplace, + css::uno::Reference< css::container::XNameReplace > const & xNameReplace, sal_uInt16 nSelectedIndex ); }; diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx index cb5dd4295fdf..a5fa1464cf54 100644 --- a/cui/source/inc/selector.hxx +++ b/cui/source/inc/selector.hxx @@ -136,12 +136,12 @@ class SvxConfigGroupListBox : public SvTreeListBox OUString m_sProdMacros; Image GetImage( const css::uno::Reference< css::script::browse::XBrowseNode >& node, - css::uno::Reference< css::uno::XComponentContext > xCtx, + css::uno::Reference< css::uno::XComponentContext > const & xCtx, bool bIsRootNode ); static css::uno::Reference< css::uno::XInterface > getDocumentModel( - css::uno::Reference< css::uno::XComponentContext >& xCtx, + css::uno::Reference< css::uno::XComponentContext > const & xCtx, OUString& docName ); diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 925ccf9c8675..6f338eb1bcc4 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -161,7 +161,7 @@ public: public: SvxThesaurusDialog( vcl::Window* pParent, - css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus, + css::uno::Reference< css::linguistic2::XThesaurus > const & xThesaurus, const OUString &rWord, LanguageType nLanguage ); void SetWindowTitle( LanguageType nLanguage ); diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 9862579df881..fed51d356d7c 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -2521,7 +2521,7 @@ struct ImplSmartTagLBUserData sal_Int32 mnSmartTagIdx; ImplSmartTagLBUserData( const OUString& rSmartTagType, - uno::Reference< smarttags::XSmartTagRecognizer > xRec, + uno::Reference< smarttags::XSmartTagRecognizer > const & xRec, sal_Int32 nSmartTagIdx ) : maSmartTagType( rSmartTagType ), mxRec( xRec ), |