diff options
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/PageMasterExportPropMapper.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/PageMasterExportPropMapper.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/StyleMap.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlexppr.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/PageMasterExportPropMapper.cxx b/xmloff/source/style/PageMasterExportPropMapper.cxx index 3aecf06b96d7..3bec5d6884c5 100644 --- a/xmloff/source/style/PageMasterExportPropMapper.cxx +++ b/xmloff/source/style/PageMasterExportPropMapper.cxx @@ -55,7 +55,7 @@ static void lcl_RemoveStateIfZero16( XMLPropertyState* pState ) lcl_RemoveState( pState ); } -static void lcl_AddState(::std::vector< XMLPropertyState >& rPropState, sal_Int32 nIndex, const OUString& rProperty, uno::Reference< beans::XPropertySet >& xProps) +static void lcl_AddState(::std::vector< XMLPropertyState >& rPropState, sal_Int32 nIndex, const OUString& rProperty, const uno::Reference< beans::XPropertySet >& xProps) { if(::cppu::any2bool(xProps->getPropertyValue(rProperty))) rPropState.push_back(XMLPropertyState (nIndex, css::uno::Any(true))); @@ -300,7 +300,7 @@ void XMLPageMasterExportPropMapper::handleSpecialItem( void XMLPageMasterExportPropMapper::ContextFilter( bool bEnableFoFontFamily, ::std::vector< XMLPropertyState >& rPropState, - Reference< XPropertySet > rPropSet ) const + const Reference< XPropertySet >& rPropSet ) const { XMLPropertyStateBuffer aPageBuffer; XMLPropertyStateBuffer aHeaderBuffer; diff --git a/xmloff/source/style/PageMasterExportPropMapper.hxx b/xmloff/source/style/PageMasterExportPropMapper.hxx index f3312493f63e..8ee27e53e6c1 100644 --- a/xmloff/source/style/PageMasterExportPropMapper.hxx +++ b/xmloff/source/style/PageMasterExportPropMapper.hxx @@ -35,7 +35,7 @@ protected: virtual void ContextFilter( bool bEnableFoFontFamily, ::std::vector< XMLPropertyState >& rProperties, - css::uno::Reference< css::beans::XPropertySet > rPropSet + const css::uno::Reference< css::beans::XPropertySet >& rPropSet ) const override; public: diff --git a/xmloff/source/style/StyleMap.cxx b/xmloff/source/style/StyleMap.cxx index 73ee7980d015..0ebcbc0985b3 100644 --- a/xmloff/source/style/StyleMap.cxx +++ b/xmloff/source/style/StyleMap.cxx @@ -50,7 +50,7 @@ const Sequence<sal_Int8>& StyleMap::getUnoTunnelId() throw() return theStyleMapUnoTunnelId::get().getSeq(); } -StyleMap* StyleMap::getImplementation(Reference<XInterface> xInterface) throw() +StyleMap* StyleMap::getImplementation(const Reference<XInterface>& xInterface) throw() { Reference<XUnoTunnel> xUnoTunnel(xInterface, UNO_QUERY); if (xUnoTunnel.is()) diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 5c8f673f77a2..1201dbcaf2b9 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -667,7 +667,7 @@ vector<XMLPropertyState> SvXMLExportPropertyMapper::Filter_( void SvXMLExportPropertyMapper::ContextFilter( bool bEnableFoFontFamily, vector< XMLPropertyState >& rProperties, - Reference< XPropertySet > rPropSet ) const + const Reference< XPropertySet >& rPropSet ) const { // Derived class could implement this. if (mpImpl->mxNextMapper.is()) diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 21cc05987bde..b841e599876d 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -104,8 +104,8 @@ void SvXMLImportPropertyMapper::ChainImportMapper( /** fills the given itemset with the attributes in the given list */ void SvXMLImportPropertyMapper::importXML( vector< XMLPropertyState >& rProperties, - Reference< XAttributeList > xAttrList, - const SvXMLUnitConverter& rUnitConverter, + const Reference< XAttributeList >& xAttrList, + const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, sal_uInt32 nPropType, sal_Int32 nStartIdx, |