[Libreoffice-commits] core.git: basctl/source sc/inc sc/source svx/source sw/inc sw/source writerfilter/source
Stephan Bergmann
sbergman at redhat.com
Tue Aug 23 08:59:02 UTC 2016
basctl/source/dlged/managelang.cxx | 4 ++--
basctl/source/inc/managelang.hxx | 4 ++--
sc/inc/linkuno.hxx | 2 +-
sc/inc/textuno.hxx | 2 +-
sc/source/core/tool/scmatrix.cxx | 14 +++++++-------
sc/source/filter/excel/xelink.cxx | 4 ++--
sc/source/filter/excel/xlroot.cxx | 2 +-
sc/source/filter/inc/condformatcontext.hxx | 4 ++--
sc/source/filter/inc/xlroot.hxx | 2 +-
sc/source/filter/oox/condformatcontext.cxx | 4 ++--
sc/source/ui/unoobj/linkuno.cxx | 2 +-
sc/source/ui/unoobj/textuno.cxx | 2 +-
svx/source/tbxctrls/colorwindow.hxx | 2 +-
svx/source/tbxctrls/tbcontrl.cxx | 2 +-
sw/inc/ToxTextGenerator.hxx | 2 +-
sw/inc/unostyle.hxx | 2 +-
sw/source/core/inc/UndoManager.hxx | 2 +-
sw/source/core/tox/ToxTextGenerator.cxx | 2 +-
sw/source/core/undo/docundo.cxx | 2 +-
sw/source/core/unocore/unostyle.cxx | 4 ++--
sw/source/filter/xml/xmlimpit.cxx | 2 +-
sw/source/filter/xml/xmlimpit.hxx | 2 +-
sw/source/ui/vba/vbalistlevel.cxx | 2 +-
sw/source/ui/vba/vbalistlevel.hxx | 2 +-
sw/source/ui/vba/vbalistlevels.cxx | 2 +-
sw/source/ui/vba/vbalistlevels.hxx | 2 +-
writerfilter/source/dmapper/FormControlHelper.cxx | 2 +-
writerfilter/source/dmapper/FormControlHelper.hxx | 2 +-
writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx | 2 +-
writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx | 2 +-
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 2 +-
writerfilter/source/ooxml/OOXMLDocumentImpl.hxx | 2 +-
writerfilter/source/ooxml/OOXMLPropertySet.cxx | 2 +-
writerfilter/source/ooxml/OOXMLPropertySet.hxx | 2 +-
34 files changed, 46 insertions(+), 46 deletions(-)
New commits:
commit ff28315af105b1ec934a9b7181fadda8face3697
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Aug 23 10:57:32 2016 +0200
Remaining clang-tidy misc-move-constructor-init
...by turning the relevant ctor parameters into "const &" (following
8f30da6386fa414b9fe4c704b294a978df77347b "Some clang-tidy
misc-move-constructor-init").
Change-Id: I6686dabe2f05156d6ecd49aa76a3a1166ccac045
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index 56c0e8c..0716056 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -55,7 +55,7 @@ bool localesAreEqual( const Locale& rLocaleLeft, const Locale& rLocaleRight )
return bRet;
}
-ManageLanguageDialog::ManageLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> xLMgr)
+ManageLanguageDialog::ManageLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & xLMgr)
: ModalDialog(pParent, "ManageLanguagesDialog", "modules/BasicIDE/ui/managelanguages.ui")
, m_xLocalizationMgr(xLMgr)
, m_sDefLangStr(IDE_RESSTR(RID_STR_DEF_LANG))
@@ -228,7 +228,7 @@ IMPL_LINK_NOARG_TYPED(ManageLanguageDialog, SelectHdl, ListBox&, void)
// class SetDefaultLanguageDialog -----------------------------------------------
-SetDefaultLanguageDialog::SetDefaultLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> xLMgr)
+SetDefaultLanguageDialog::SetDefaultLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & xLMgr)
: ModalDialog(pParent, "DefaultLanguageDialog", "modules/BasicIDE/ui/defaultlanguage.ui")
, m_pCheckLangLB(nullptr)
, m_xLocalizationMgr(xLMgr)
diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx
index 14bf403..baf7c4f 100644
--- a/basctl/source/inc/managelang.hxx
+++ b/basctl/source/inc/managelang.hxx
@@ -69,7 +69,7 @@ private:
DECL_LINK_TYPED(SelectHdl, ListBox&, void);
public:
- ManageLanguageDialog( vcl::Window* pParent, std::shared_ptr<LocalizationMgr> _pLMgr );
+ ManageLanguageDialog( vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & _pLMgr );
virtual ~ManageLanguageDialog();
virtual void dispose() override;
};
@@ -89,7 +89,7 @@ private:
void FillLanguageBox();
public:
- SetDefaultLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> xLMgr);
+ SetDefaultLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & xLMgr);
virtual ~SetDefaultLanguageDialog();
virtual void dispose() override;
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index 3145dd4c..da89214 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -474,7 +474,7 @@ public:
class ScExternalSheetCacheObj : public cppu::WeakImplHelper< css::sheet::XExternalSheetCache >
{
public:
- explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex);
+ explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef const & pTable, size_t nIndex);
virtual ~ScExternalSheetCacheObj();
// XExternalSheetCache
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index a2ed46e..d70f17f 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -120,7 +120,7 @@ public:
ScHeaderFooterTextData(const ScHeaderFooterTextData&) = delete;
const ScHeaderFooterTextData& operator=(const ScHeaderFooterTextData&) = delete;
ScHeaderFooterTextData(
- css::uno::WeakReference<css::sheet::XHeaderFooterContent> xContent, ScHeaderFooterPart nP, const EditTextObject* pTextObj);
+ css::uno::WeakReference<css::sheet::XHeaderFooterContent> const & xContent, ScHeaderFooterPart nP, const EditTextObject* pTextObj);
~ScHeaderFooterTextData();
// helper functions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 8808b7f..5e19a6c 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2053,7 +2053,7 @@ private:
public:
- wrapped_iterator(typename T::const_iterator it_, U aOp):
+ wrapped_iterator(typename T::const_iterator const & it_, U const & aOp):
it(it_),
val(value_type()),
maOp(aOp)
@@ -2118,7 +2118,7 @@ private:
typename T::const_iterator m_itEnd;
U maOp;
public:
- MatrixIteratorWrapper(typename T::const_iterator itBegin, typename T::const_iterator itEnd, U aOp):
+ MatrixIteratorWrapper(typename T::const_iterator const & itBegin, typename T::const_iterator const & itEnd, U const & aOp):
m_itBegin(itBegin),
m_itEnd(itEnd),
maOp(aOp)
@@ -2170,7 +2170,7 @@ private:
T maOp;
public:
- MatrixOpWrapper(MatrixImplType& rMat, T aOp):
+ MatrixOpWrapper(MatrixImplType& rMat, T const & aOp):
mrMat(rMat),
pos(rMat.position(0,0)),
maOp(aOp)
@@ -2253,10 +2253,10 @@ class WalkElementBlockOperation
public:
WalkElementBlockOperation(size_t nRowSize, size_t /*nColSize*/,
- ScFullMatrix::DoubleOpFunction aDoubleFunc,
- ScFullMatrix::BoolOpFunction aBoolFunc,
- ScFullMatrix::StringOpFunction aStringFunc,
- ScFullMatrix::EmptyOpFunction aEmptyFunc):
+ ScFullMatrix::DoubleOpFunction const & aDoubleFunc,
+ ScFullMatrix::BoolOpFunction const & aBoolFunc,
+ ScFullMatrix::StringOpFunction const & aStringFunc,
+ ScFullMatrix::EmptyOpFunction const & aEmptyFunc):
mnRowSize(nRowSize),
mnRowPos(0),
mnColPos(0),
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 54ae551..7918d46 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -193,7 +193,7 @@ class XclExpXct : public XclExpRecordBase, protected XclExpRoot
public:
explicit XclExpXct( const XclExpRoot& rRoot,
const OUString& rTabName, sal_uInt16 nSBTab,
- ScExternalRefCache::TableTypeRef xCacheTable );
+ ScExternalRefCache::TableTypeRef const & xCacheTable );
/** Returns the external sheet name. */
inline const XclExpString& GetTabName() const { return maTabName; }
@@ -1276,7 +1276,7 @@ void XclExpCrn::SaveXml( XclExpXmlStream& rStrm )
// Cached cells of a sheet ====================================================
XclExpXct::XclExpXct( const XclExpRoot& rRoot, const OUString& rTabName,
- sal_uInt16 nSBTab, ScExternalRefCache::TableTypeRef xCacheTable ) :
+ sal_uInt16 nSBTab, ScExternalRefCache::TableTypeRef const & xCacheTable ) :
XclExpRoot( rRoot ),
mxCacheTable( xCacheTable ),
maBoundRange( ScAddress::INITIALIZE_INVALID ),
diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx
index 55998aa..a1d9a20 100644
--- a/sc/source/filter/excel/xlroot.cxx
+++ b/sc/source/filter/excel/xlroot.cxx
@@ -73,7 +73,7 @@ XclDebugObjCounter::~XclDebugObjCounter()
#endif
XclRootData::XclRootData( XclBiff eBiff, SfxMedium& rMedium,
- tools::SvRef<SotStorage> xRootStrg, ScDocument& rDoc, rtl_TextEncoding eTextEnc, bool bExport ) :
+ tools::SvRef<SotStorage> const & xRootStrg, ScDocument& rDoc, rtl_TextEncoding eTextEnc, bool bExport ) :
meBiff( eBiff ),
meOutput( EXC_OUTPUT_BINARY ),
mrMedium( rMedium ),
diff --git a/sc/source/filter/inc/condformatcontext.hxx b/sc/source/filter/inc/condformatcontext.hxx
index 866ba27..ca42898 100644
--- a/sc/source/filter/inc/condformatcontext.hxx
+++ b/sc/source/filter/inc/condformatcontext.hxx
@@ -33,7 +33,7 @@ class CondFormatContext;
class ColorScaleContext : public WorksheetContextBase
{
public:
- explicit ColorScaleContext( CondFormatContext& rFragment, CondFormatRuleRef xRule );
+ explicit ColorScaleContext( CondFormatContext& rFragment, CondFormatRuleRef const & xRule );
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
virtual void onStartElement( const AttributeList& rAttribs ) override;
@@ -45,7 +45,7 @@ private:
class DataBarContext : public WorksheetContextBase
{
public:
- explicit DataBarContext( CondFormatContext& rFormat, CondFormatRuleRef xRule );
+ explicit DataBarContext( CondFormatContext& rFormat, CondFormatRuleRef const & xRule );
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) override;
virtual void onStartElement( const AttributeList& rAttribs ) override;
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index 3e8f1ce..f90598f 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -112,7 +112,7 @@ struct XclRootData
const bool mbExport; /// false = Import, true = Export.
explicit XclRootData( XclBiff eBiff, SfxMedium& rMedium,
- tools::SvRef<SotStorage> xRootStrg, ScDocument& rDoc,
+ tools::SvRef<SotStorage> const & xRootStrg, ScDocument& rDoc,
rtl_TextEncoding eTextEnc, bool bExport );
virtual ~XclRootData();
};
diff --git a/sc/source/filter/oox/condformatcontext.cxx b/sc/source/filter/oox/condformatcontext.cxx
index 638e5be..79c92d2 100644
--- a/sc/source/filter/oox/condformatcontext.cxx
+++ b/sc/source/filter/oox/condformatcontext.cxx
@@ -29,7 +29,7 @@ namespace xls {
using ::oox::core::ContextHandlerRef;
-ColorScaleContext::ColorScaleContext( CondFormatContext& rFragment, CondFormatRuleRef xRule ) :
+ColorScaleContext::ColorScaleContext( CondFormatContext& rFragment, CondFormatRuleRef const & xRule ) :
WorksheetContextBase( rFragment ),
mxRule( xRule )
{
@@ -65,7 +65,7 @@ void ColorScaleContext::onStartElement( const AttributeList& rAttribs )
}
}
-DataBarContext::DataBarContext( CondFormatContext& rFragment, CondFormatRuleRef xRule ) :
+DataBarContext::DataBarContext( CondFormatContext& rFragment, CondFormatRuleRef const & xRule ) :
WorksheetContextBase( rFragment ),
mxRule( xRule )
{
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 85e19f4..10d51f7 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -1430,7 +1430,7 @@ uno::Reference< sheet::XDDELink > ScDDELinksObj::addDDELink(
return xLink;
}
-ScExternalSheetCacheObj::ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex) :
+ScExternalSheetCacheObj::ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef const & pTable, size_t nIndex) :
mpDocShell(pDocShell),
mpTable(pTable),
mnIndex(nIndex)
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx
index 803e7d9..77380f6 100644
--- a/sc/source/ui/unoobj/textuno.cxx
+++ b/sc/source/ui/unoobj/textuno.cxx
@@ -184,7 +184,7 @@ void ScHeaderFooterContentObj::Init( const EditTextObject* pLeft,
}
ScHeaderFooterTextData::ScHeaderFooterTextData(
- uno::WeakReference<sheet::XHeaderFooterContent> xContent, ScHeaderFooterPart nP, const EditTextObject* pTextObj) :
+ uno::WeakReference<sheet::XHeaderFooterContent> const & xContent, ScHeaderFooterPart nP, const EditTextObject* pTextObj) :
mpTextObj(pTextObj ? pTextObj->Clone() : nullptr),
xContentObj( xContent ),
nPart( nP ),
diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx
index c2ffb56..185872e 100644
--- a/svx/source/tbxctrls/colorwindow.hxx
+++ b/svx/source/tbxctrls/colorwindow.hxx
@@ -70,7 +70,7 @@ public:
const css::uno::Reference< css::frame::XFrame >& rFrame,
const OUString& rWndTitle,
vcl::Window* pParentWindow,
- std::function<void(const OUString&, const Color&)> maColorSelectFunction);
+ std::function<void(const OUString&, const Color&)> const & maColorSelectFunction);
virtual ~SvxColorWindow_Impl();
virtual void dispose() override;
void StartSelection();
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 2dceb15..b8a68b7 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1253,7 +1253,7 @@ SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString& rCommand,
const Reference< XFrame >& rFrame,
const OUString& rWndTitle,
vcl::Window* pParentWindow,
- std::function<void(const OUString&, const Color&)> aFunction):
+ std::function<void(const OUString&, const Color&)> const & aFunction):
SfxPopupWindow( nSlotId, pParentWindow,
"palette_popup_window", "svx/ui/colorwindow.ui",
diff --git a/sw/inc/ToxTextGenerator.hxx b/sw/inc/ToxTextGenerator.hxx
index bbd4872..70155e7 100644
--- a/sw/inc/ToxTextGenerator.hxx
+++ b/sw/inc/ToxTextGenerator.hxx
@@ -57,7 +57,7 @@ class ToxTabStopTokenHandler;
class ToxTextGenerator
{
public:
- ToxTextGenerator(const SwForm& toxForm, std::shared_ptr<ToxTabStopTokenHandler> tabStopHandler);
+ ToxTextGenerator(const SwForm& toxForm, std::shared_ptr<ToxTabStopTokenHandler> const & tabStopHandler);
virtual ~ToxTextGenerator();
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index f20d594..57e7b5f 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -209,7 +209,7 @@ private:
public:
- SwXAutoStyle( SwDoc* pDoc, std::shared_ptr<SfxItemSet> pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
+ SwXAutoStyle( SwDoc* pDoc, std::shared_ptr<SfxItemSet> const & pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
virtual ~SwXAutoStyle();
//XPropertySet
diff --git a/sw/source/core/inc/UndoManager.hxx b/sw/source/core/inc/UndoManager.hxx
index b81dabc..74ce2b3 100644
--- a/sw/source/core/inc/UndoManager.hxx
+++ b/sw/source/core/inc/UndoManager.hxx
@@ -38,7 +38,7 @@ class UndoManager
, public SdrUndoManager
{
public:
- UndoManager(std::shared_ptr<SwNodes> pUndoNodes,
+ UndoManager(std::shared_ptr<SwNodes> const & pUndoNodes,
IDocumentDrawModelAccess & rDrawModelAccess,
IDocumentRedlineAccess & rRedlineAccess,
IDocumentState & rState);
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index 185cac4..dade91c 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -96,7 +96,7 @@ ToxTextGenerator::GetNumStringOfFirstNode( const SwTOXSortTabBase& rBase, bool b
ToxTextGenerator::ToxTextGenerator(const SwForm& toxForm,
- std::shared_ptr<ToxTabStopTokenHandler> tabStopHandler)
+ std::shared_ptr<ToxTabStopTokenHandler> const & tabStopHandler)
: mToxForm(toxForm),
mLinkProcessor(new ToxLinkProcessor()),
mTabStopTokenHandler(tabStopHandler)
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index f7bb4d0..e37375c 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -48,7 +48,7 @@ using namespace ::com::sun::star;
namespace sw {
-UndoManager::UndoManager(std::shared_ptr<SwNodes> xUndoNodes,
+UndoManager::UndoManager(std::shared_ptr<SwNodes> const & xUndoNodes,
IDocumentDrawModelAccess & rDrawModelAccess,
IDocumentRedlineAccess & rRedlineAccess,
IDocumentState & rState)
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 7957950..41948a2 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -112,7 +112,7 @@ namespace
GetCountOrName_t m_fGetCountOrName;
CreateStyle_t m_fCreateStyle;
TranslateIndex_t m_fTranslateIndex;
- StyleFamilyEntry(SfxStyleFamily eFamily, sal_uInt16 nPropMapType, SwGetPoolIdFromName aPoolId, OUString const& sName, sal_uInt32 nResId, GetCountOrName_t fGetCountOrName, CreateStyle_t fCreateStyle, TranslateIndex_t fTranslateIndex)
+ StyleFamilyEntry(SfxStyleFamily eFamily, sal_uInt16 nPropMapType, SwGetPoolIdFromName aPoolId, OUString const& sName, sal_uInt32 nResId, GetCountOrName_t const & fGetCountOrName, CreateStyle_t const & fCreateStyle, TranslateIndex_t const & fTranslateIndex)
: m_eFamily(eFamily)
, m_nPropMapType(nPropMapType)
, m_xPSInfo(aSwMapProvider.GetPropertySet(nPropMapType)->getPropertySetInfo())
@@ -3849,7 +3849,7 @@ uno::Any SwXAutoStylesEnumerator::nextElement( )
SwXAutoStyle::SwXAutoStyle(
SwDoc* pDoc,
- std::shared_ptr<SfxItemSet> pInitSet,
+ std::shared_ptr<SfxItemSet> const & pInitSet,
IStyleAccess::SwAutoStyleFamily eFam)
: mpSet(pInitSet),
meFamily(eFam),
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index fdb911c..340e1a0 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -57,7 +57,7 @@ using namespace ::xmloff::token;
using uno::Any;
SvXMLImportItemMapper::SvXMLImportItemMapper(
- SvXMLItemMapEntriesRef rMapEntries,
+ SvXMLItemMapEntriesRef const & rMapEntries,
sal_uInt16 nUnknWhich ) :
mrMapEntries( rMapEntries ),
nUnknownWhich( nUnknWhich )
diff --git a/sw/source/filter/xml/xmlimpit.hxx b/sw/source/filter/xml/xmlimpit.hxx
index 982da02..92517db 100644
--- a/sw/source/filter/xml/xmlimpit.hxx
+++ b/sw/source/filter/xml/xmlimpit.hxx
@@ -38,7 +38,7 @@ protected:
sal_uInt16 nUnknownWhich;
public:
- SvXMLImportItemMapper( SvXMLItemMapEntriesRef rMapEntries ,
+ SvXMLImportItemMapper( SvXMLItemMapEntriesRef const & rMapEntries ,
sal_uInt16 nUnknWhich=USHRT_MAX );
virtual ~SvXMLImportItemMapper();
diff --git a/sw/source/ui/vba/vbalistlevel.cxx b/sw/source/ui/vba/vbalistlevel.cxx
index 7b38e7e..9b7aa42 100644
--- a/sw/source/ui/vba/vbalistlevel.cxx
+++ b/sw/source/ui/vba/vbalistlevel.cxx
@@ -28,7 +28,7 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-SwVbaListLevel::SwVbaListLevel( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, SwVbaListHelperRef pHelper, sal_Int32 nLevel ) throw ( uno::RuntimeException ) : SwVbaListLevel_BASE( rParent, rContext ), pListHelper( pHelper ), mnLevel( nLevel )
+SwVbaListLevel::SwVbaListLevel( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, SwVbaListHelperRef const & pHelper, sal_Int32 nLevel ) throw ( uno::RuntimeException ) : SwVbaListLevel_BASE( rParent, rContext ), pListHelper( pHelper ), mnLevel( nLevel )
{
}
diff --git a/sw/source/ui/vba/vbalistlevel.hxx b/sw/source/ui/vba/vbalistlevel.hxx
index aa3f2bc..d2c4aac 100644
--- a/sw/source/ui/vba/vbalistlevel.hxx
+++ b/sw/source/ui/vba/vbalistlevel.hxx
@@ -33,7 +33,7 @@ private:
sal_Int32 mnLevel;
public:
- SwVbaListLevel( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, SwVbaListHelperRef pHelper, sal_Int32 nLevel ) throw ( css::uno::RuntimeException );
+ SwVbaListLevel( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, SwVbaListHelperRef const & pHelper, sal_Int32 nLevel ) throw ( css::uno::RuntimeException );
virtual ~SwVbaListLevel();
// Attributes
diff --git a/sw/source/ui/vba/vbalistlevels.cxx b/sw/source/ui/vba/vbalistlevels.cxx
index 5eecac7..ff4125b 100644
--- a/sw/source/ui/vba/vbalistlevels.cxx
+++ b/sw/source/ui/vba/vbalistlevels.cxx
@@ -42,7 +42,7 @@ public:
}
};
-SwVbaListLevels::SwVbaListLevels( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext > & xContext, SwVbaListHelperRef pHelper ) throw (uno::RuntimeException) : SwVbaListLevels_BASE( xParent, xContext, uno::Reference< container::XIndexAccess >() ), pListHelper( pHelper )
+SwVbaListLevels::SwVbaListLevels( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext > & xContext, SwVbaListHelperRef const & pHelper ) throw (uno::RuntimeException) : SwVbaListLevels_BASE( xParent, xContext, uno::Reference< container::XIndexAccess >() ), pListHelper( pHelper )
{
}
diff --git a/sw/source/ui/vba/vbalistlevels.hxx b/sw/source/ui/vba/vbalistlevels.hxx
index 2aef248..c13a17d 100644
--- a/sw/source/ui/vba/vbalistlevels.hxx
+++ b/sw/source/ui/vba/vbalistlevels.hxx
@@ -32,7 +32,7 @@ private:
SwVbaListHelperRef pListHelper;
public:
- SwVbaListLevels( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, SwVbaListHelperRef pHelper ) throw ( css::uno::RuntimeException );
+ SwVbaListLevels( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, SwVbaListHelperRef const & pHelper ) throw ( css::uno::RuntimeException );
virtual ~SwVbaListLevels() {}
virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException) override;
diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx
index 38899b0..93c3ae0 100644
--- a/writerfilter/source/dmapper/FormControlHelper.cxx
+++ b/writerfilter/source/dmapper/FormControlHelper.cxx
@@ -130,7 +130,7 @@ uno::Reference<container::XIndexContainer> FormControlHelper::FormControlHelper_
FormControlHelper::FormControlHelper(FieldId eFieldId,
uno::Reference<text::XTextDocument> const& xTextDocument,
- FFDataHandler::Pointer_t pFFData)
+ FFDataHandler::Pointer_t const & pFFData)
: m_pFFData(pFFData), m_pImpl(new FormControlHelper_Impl)
{
m_pImpl->m_eFieldId = eFieldId;
diff --git a/writerfilter/source/dmapper/FormControlHelper.hxx b/writerfilter/source/dmapper/FormControlHelper.hxx
index 1e6b858..89e0a1d 100644
--- a/writerfilter/source/dmapper/FormControlHelper.hxx
+++ b/writerfilter/source/dmapper/FormControlHelper.hxx
@@ -34,7 +34,7 @@ public:
typedef std::shared_ptr<FormControlHelper> Pointer_t;
FormControlHelper(FieldId eFieldId,
css::uno::Reference<css::text::XTextDocument> const& rTextDocument,
- FFDataHandler::Pointer_t pFFData);
+ FFDataHandler::Pointer_t const & pFFData);
~FormControlHelper();
void insertControl(css::uno::Reference<css::text::XTextRange> const& xTextRange);
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
index 2df5a17..6bcab2d 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.cxx
@@ -26,7 +26,7 @@ namespace ooxml
using namespace ::com::sun::star;
OOXMLBinaryObjectReference::OOXMLBinaryObjectReference
-(OOXMLStream::Pointer_t pStream)
+(OOXMLStream::Pointer_t const & pStream)
: mpStream(pStream), mbRead(false)
{
}
diff --git a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
index d77de26..794d700 100644
--- a/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
+++ b/writerfilter/source/ooxml/OOXMLBinaryObjectReference.hxx
@@ -36,7 +36,7 @@ class OOXMLBinaryObjectReference :
void read();
public:
- explicit OOXMLBinaryObjectReference(OOXMLStream::Pointer_t pStream);
+ explicit OOXMLBinaryObjectReference(OOXMLStream::Pointer_t const & pStream);
virtual ~OOXMLBinaryObjectReference();
virtual void resolve(BinaryObj & rHandler) override;
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 9ede743..6503fbd 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -50,7 +50,7 @@ namespace writerfilter {
namespace ooxml
{
-OOXMLDocumentImpl::OOXMLDocumentImpl(OOXMLStream::Pointer_t pStream, const uno::Reference<task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const uno::Sequence<beans::PropertyValue>& rDescriptor)
+OOXMLDocumentImpl::OOXMLDocumentImpl(OOXMLStream::Pointer_t const & pStream, const uno::Reference<task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const uno::Sequence<beans::PropertyValue>& rDescriptor)
: mpStream(pStream)
, mxStatusIndicator(xStatusIndicator)
, mnXNoteId(0)
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index a0f1fc5..f16be42 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
@@ -93,7 +93,7 @@ protected:
void resolveGlossaryStream(Stream & rStream);
void resolveEmbeddingsStream(const OOXMLStream::Pointer_t& pStream);
public:
- OOXMLDocumentImpl(OOXMLStream::Pointer_t pStream, const css::uno::Reference<css::task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor);
+ OOXMLDocumentImpl(OOXMLStream::Pointer_t const & pStream, const css::uno::Reference<css::task::XStatusIndicator>& xStatusIndicator, bool bSkipImages, const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor);
virtual ~OOXMLDocumentImpl();
virtual void resolve(Stream & rStream) override;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.cxx b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
index 8dde532..9a09591 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.cxx
@@ -181,7 +181,7 @@ OOXMLValue * OOXMLValue::clone() const
class OOXMLBinaryValue
*/
-OOXMLBinaryValue::OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t
+OOXMLBinaryValue::OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t const &
pBinaryObj)
: mpBinaryObj(pBinaryObj)
{
diff --git a/writerfilter/source/ooxml/OOXMLPropertySet.hxx b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
index f79cb68..8cc3772 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySet.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySet.hxx
@@ -77,7 +77,7 @@ class OOXMLBinaryValue : public OOXMLValue
protected:
mutable OOXMLBinaryObjectReference::Pointer_t mpBinaryObj;
public:
- explicit OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t pBinaryObj);
+ explicit OOXMLBinaryValue(OOXMLBinaryObjectReference::Pointer_t const & pBinaryObj);
virtual ~OOXMLBinaryValue();
virtual writerfilter::Reference<BinaryObj>::Pointer_t getBinary() override;
More information about the Libreoffice-commits
mailing list