summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx15
-rw-r--r--connectivity/source/inc/dbase/dindexnode.hxx12
-rw-r--r--cui/source/dialogs/AdditionsDialog.cxx3
-rw-r--r--drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx26
-rw-r--r--extensions/source/dbpilots/listcombowizard.cxx11
-rw-r--r--sc/inc/fstalgorithm.hxx6
-rw-r--r--sc/source/core/data/dptabsrc.cxx3
-rw-r--r--sd/source/ui/view/drviews2.cxx20
-rw-r--r--svx/source/sdr/contact/viewobjectcontact.cxx11
-rw-r--r--svx/source/sdr/primitive2d/sdrdecompositiontools.cxx14
-rw-r--r--svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx6
-rw-r--r--sw/source/uibase/shells/basesh.cxx6
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx6
-rw-r--r--writerfilter/source/dmapper/DomainMapper.hxx6
-rw-r--r--writerfilter/source/dmapper/FontTable.cxx6
-rw-r--r--writerfilter/source/dmapper/FontTable.hxx6
-rw-r--r--writerfilter/source/dmapper/GraphicImport.cxx13
-rw-r--r--writerfilter/source/dmapper/GraphicImport.hxx6
-rw-r--r--writerfilter/source/dmapper/LoggedResources.hxx6
19 files changed, 85 insertions, 97 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
index aab6f4992b09..ba286cc62623 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
@@ -64,16 +64,11 @@ void Chart2ModelContact::setDocumentModel( ChartModel* pChartModel )
if( !pChartModel )
return;
- uno::Reference< container::XNameContainer > xDashTable( pChartModel->createInstance("com.sun.star.drawing.DashTable"), uno::UNO_QUERY );
- uno::Reference< container::XNameContainer > xGradientTable( pChartModel->createInstance("com.sun.star.drawing.GradientTable"), uno::UNO_QUERY );
- uno::Reference< container::XNameContainer > xHatchTable( pChartModel->createInstance("com.sun.star.drawing.HatchTable"), uno::UNO_QUERY );
- uno::Reference< container::XNameContainer > xBitmapTable( pChartModel->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY );
- uno::Reference< container::XNameContainer > xTransparencyGradientTable( pChartModel->createInstance("com.sun.star.drawing.TransparencyGradientTable"), uno::UNO_QUERY );
- m_aTableMap["LineDashName"] = xDashTable;
- m_aTableMap["FillGradientName"] = xGradientTable;
- m_aTableMap["FillHatchName"] = xHatchTable;
- m_aTableMap["FillBitmapName"] = xBitmapTable;
- m_aTableMap["FillTransparenceGradientName"] = xTransparencyGradientTable;
+ m_aTableMap["LineDashName"].set(pChartModel->createInstance("com.sun.star.drawing.DashTable"), uno::UNO_QUERY);
+ m_aTableMap["FillGradientName"].set(pChartModel->createInstance("com.sun.star.drawing.GradientTable"), uno::UNO_QUERY);
+ m_aTableMap["FillHatchName"].set(pChartModel->createInstance("com.sun.star.drawing.HatchTable"), uno::UNO_QUERY);
+ m_aTableMap["FillBitmapName"].set(pChartModel->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY);
+ m_aTableMap["FillTransparenceGradientName"].set(pChartModel->createInstance("com.sun.star.drawing.TransparencyGradientTable"), uno::UNO_QUERY);
}
void Chart2ModelContact::clear()
diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx
index 85666f9e5290..8369a15dfab5 100644
--- a/connectivity/source/inc/dbase/dindexnode.hxx
+++ b/connectivity/source/inc/dbase/dindexnode.hxx
@@ -163,8 +163,8 @@ namespace connectivity::dbase
const ODbaseIndex& GetIndex() const {return rIndex;}
// Setting the child, via reference to retain the PagePos
- void SetChild(ONDXPagePtr aCh);
- void SetParent(ONDXPagePtr aPa);
+ void SetChild(const ONDXPagePtr& rCh);
+ void SetParent(const ONDXPagePtr& rPa);
sal_uInt16 Search(const ONDXKey& rSearch);
sal_uInt16 Search(const ONDXPage* pPage);
@@ -209,14 +209,14 @@ namespace connectivity::dbase
inline bool ONDXPage::HasParent() const {return aParent.Is();}
inline const ONDXPagePtr& ONDXPage::GetParent() const {return aParent;}
- inline void ONDXPage::SetParent(ONDXPagePtr aPa = ONDXPagePtr())
+ inline void ONDXPage::SetParent(const ONDXPagePtr& rPa = ONDXPagePtr())
{
- aParent = aPa;
+ aParent = rPa;
}
- inline void ONDXPage::SetChild(ONDXPagePtr aCh = ONDXPagePtr())
+ inline void ONDXPage::SetChild(const ONDXPagePtr& rCh = ONDXPagePtr())
{
- aChild = aCh;
+ aChild = rCh;
if (aChild.Is())
aChild->SetParent(this);
}
diff --git a/cui/source/dialogs/AdditionsDialog.cxx b/cui/source/dialogs/AdditionsDialog.cxx
index f0dedf626acf..4d39ad937664 100644
--- a/cui/source/dialogs/AdditionsDialog.cxx
+++ b/cui/source/dialogs/AdditionsDialog.cxx
@@ -484,8 +484,7 @@ AdditionsDialog::AdditionsDialog(weld::Window* pParent, const OUString& sAdditio
INetURLObject::EncodeMechanism::All);
//FIXME: Temporary URL - v0 is not using actual api
- OUString rURL = "https://extensions.libreoffice.org/api/v0/" + sEncodedURLPart + ".json";
- m_sURL = rURL;
+ m_sURL = "https://extensions.libreoffice.org/api/v0/" + sEncodedURLPart + ".json";
m_xExtensionManager
= deployment::ExtensionManager::get(::comphelper::getProcessComponentContext());
diff --git a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
index c97b7a83bcae..0e564eb8bc72 100644
--- a/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textdecoratedprimitive2d.cxx
@@ -271,23 +271,25 @@ namespace drawinglayer::primitive2d
}
}
- Primitive2DReference aNewTextEffect(new TextEffectPrimitive2D(
- std::move(aRetval),
- aDecTrans.getTranslate(),
- aDecTrans.getRotate(),
- aTextEffectStyle2D));
- aRetval = Primitive2DContainer { aNewTextEffect };
+ aRetval = Primitive2DContainer {
+ Primitive2DReference(new TextEffectPrimitive2D(
+ std::move(aRetval),
+ aDecTrans.getTranslate(),
+ aDecTrans.getRotate(),
+ aTextEffectStyle2D))
+ };
}
else if(bHasOutline)
{
// create outline using an own helper primitive since this will
// be view-dependent
- Primitive2DReference aNewTextEffect(new TextEffectPrimitive2D(
- std::move(aRetval),
- aDecTrans.getTranslate(),
- aDecTrans.getRotate(),
- TextEffectStyle2D::Outline));
- aRetval = Primitive2DContainer { aNewTextEffect };
+ aRetval = Primitive2DContainer {
+ Primitive2DReference(new TextEffectPrimitive2D(
+ std::move(aRetval),
+ aDecTrans.getTranslate(),
+ aDecTrans.getRotate(),
+ TextEffectStyle2D::Outline))
+ };
}
if(aShadow.is())
diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx
index 886e7ff131e2..b6a628987250 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -177,11 +177,12 @@ namespace dbp
// BoundColumn: 1
getContext().xObjectModel->setPropertyValue("BoundColumn", Any(sal_Int16(1)));
- // build the statement to set as list source
- OUString sStatement = "SELECT " +
- getSettings().sListContentField + ", " + getSettings().sLinkedListField +
- " FROM " + getSettings().sListContentTable;
- Sequence< OUString > aListSource { sStatement };
+ Sequence< OUString > aListSource {
+ // build the statement to set as list source
+ OUString("SELECT " +
+ getSettings().sListContentField + ", " + getSettings().sLinkedListField +
+ " FROM " + getSettings().sListContentTable)
+ };
getContext().xObjectModel->setPropertyValue("ListSource", Any(aListSource));
}
else
diff --git a/sc/inc/fstalgorithm.hxx b/sc/inc/fstalgorithm.hxx
index f3f189184360..7db039fd0905 100644
--- a/sc/inc/fstalgorithm.hxx
+++ b/sc/inc/fstalgorithm.hxx
@@ -76,12 +76,8 @@ void buildSpanWithValue(
template<typename Key, typename Span>
std::vector<Span> toSpanArray( const mdds::flat_segment_tree<Key,bool>& rTree )
{
- typedef mdds::flat_segment_tree<Key,bool> FstType;
-
std::vector<Span> aSpans;
-
- typename FstType::const_iterator it = rTree.begin(), itEnd = rTree.end();
- buildSpan<Key,Span>(aSpans, it, itEnd, nullptr);
+ buildSpan<Key,Span>(aSpans, rTree.begin(), rTree.end(), nullptr);
return aSpans;
}
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index f589e1b538e8..c896fc022b15 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -372,9 +372,8 @@ uno::Sequence< uno::Sequence<sheet::DataResult> > SAL_CALL ScDPSource::getResult
uno::Sequence<sheet::DataResult>* pRowAry = aSeq.getArray();
for (sal_Int32 nRow = 0; nRow < nRowCount; nRow++)
{
- uno::Sequence<sheet::DataResult> aColSeq( nColCount );
// use default values of DataResult
- pRowAry[nRow] = aColSeq;
+ pRowAry[nRow] = uno::Sequence<sheet::DataResult>(nColCount);
}
ScDPResultFilterContext aFilterCxt;
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 90cde7c792f5..54b16db4b1e7 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -289,23 +289,27 @@ private:
const OUString& aKey = pCustomPropertyField->GetName();
if (m_aKeyCreator.isMarkingTextKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::TEXT, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::TEXT,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isCategoryNameKey(aKey) || m_aKeyCreator.isCategoryIdentifierKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::CATEGORY, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::CATEGORY,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isMarkingKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::MARKING, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::MARKING,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
else if (m_aKeyCreator.isIntellectualPropertyPartKey(aKey))
{
- OUString aValue = svx::classification::getProperty(m_xPropertyContainer, aKey);
- m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART, aValue, sBlank, sBlank });
+ m_aResults.push_back({ svx::ClassificationType::INTELLECTUAL_PROPERTY_PART,
+ svx::classification::getProperty(m_xPropertyContainer, aKey),
+ sBlank, sBlank });
}
}
}
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index 55ea9681785d..acb33fb10484 100644
--- a/svx/source/sdr/contact/viewobjectcontact.cxx
+++ b/svx/source/sdr/contact/viewobjectcontact.cxx
@@ -479,11 +479,12 @@ drawinglayer::primitive2d::Primitive2DContainer const & ViewObjectContact::getPr
const basegfx::B2DHomMatrix aTranslateGridOffset(
basegfx::utils::createTranslateB2DHomMatrix(
rGridOffset));
- drawinglayer::primitive2d::Primitive2DReference aEmbed(
- new drawinglayer::primitive2d::TransformPrimitive2D(
- aTranslateGridOffset,
- std::move(xNewPrimitiveSequence)));
- xNewPrimitiveSequence = drawinglayer::primitive2d::Primitive2DContainer { aEmbed };
+ xNewPrimitiveSequence = drawinglayer::primitive2d::Primitive2DContainer {
+ drawinglayer::primitive2d::Primitive2DReference(
+ new drawinglayer::primitive2d::TransformPrimitive2D(
+ aTranslateGridOffset,
+ std::move(xNewPrimitiveSequence)))
+ };
}
}
diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
index 50f66391d95e..deacb3aa7c35 100644
--- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
+++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
@@ -450,13 +450,13 @@ sal_uInt32 SlideBackgroundFillPrimitive2D::getPrimitive2DID() const
// create FillGradientPrimitive2D for transparence and add to new sequence
// fillGradientPrimitive is enough here (compared to PolyPolygonGradientPrimitive2D) since float transparence will be masked anyways
- const basegfx::B2DRange aRange(basegfx::utils::getRange(rPolyPolygon));
- Primitive2DReference xRefB(
- new FillGradientPrimitive2D(
- aRange,
- rDefinitionRange,
- rFillGradient));
- Primitive2DContainer aAlpha { xRefB };
+ Primitive2DContainer aAlpha {
+ Primitive2DReference(
+ new FillGradientPrimitive2D(
+ basegfx::utils::getRange(rPolyPolygon),
+ rDefinitionRange,
+ rFillGradient))
+ };
// create TransparencePrimitive2D using alpha and content
return Primitive2DReference(new TransparencePrimitive2D(std::move(aContent), std::move(aAlpha)));
diff --git a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
index aada2aee0774..3e9dff78bb24 100644
--- a/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrmeasureprimitive2d.cxx
@@ -391,9 +391,9 @@ namespace drawinglayer::primitive2d
if(getSdrLSTAttribute().getLine().isDefault())
{
// embed line geometry to invisible (100% transparent) line group for HitTest
- Primitive2DReference xHiddenLines(new HiddenGeometryPrimitive2D(std::move(aRetval)));
-
- aRetval = Primitive2DContainer { xHiddenLines };
+ aRetval = Primitive2DContainer {
+ Primitive2DReference(new HiddenGeometryPrimitive2D(std::move(aRetval)))
+ };
}
if(xBlockText.is())
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index f4fe850450f0..39b7fb3c7227 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -835,12 +835,10 @@ bool UpdateFieldContents(SfxRequest& rReq, SwWrtShell& rWrtSh)
break;
}
comphelper::SequenceAsHashMap aMap(aFields[nFieldIndex++]);
- auto aName = aMap["Name"].get<OUString>();
- pRefMark->GetRefName() = aName;
+ pRefMark->GetRefName() = aMap["Name"].get<OUString>();
- OUString aContent = aMap["Content"].get<OUString>();
auto pTextRefMark = const_cast<SwTextRefMark*>(pRefMark->GetTextRefMark());
- pTextRefMark->UpdateFieldContent(pDoc, rWrtSh, aContent);
+ pTextRefMark->UpdateFieldContent(pDoc, rWrtSh, aMap["Content"].get<OUString>());
}
rWrtSh.EndAction();
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index 98d763b709b6..ec3285a4fa40 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -4529,12 +4529,12 @@ void DomainMapper::lcl_utext(const sal_Unicode *const data_, size_t len)
}
}
-void DomainMapper::lcl_props(writerfilter::Reference<Properties>::Pointer_t ref)
+void DomainMapper::lcl_props(const writerfilter::Reference<Properties>::Pointer_t& ref)
{
ref->resolve(*this);
}
-void DomainMapper::lcl_table(Id name, writerfilter::Reference<Table>::Pointer_t ref)
+void DomainMapper::lcl_table(Id name, const writerfilter::Reference<Table>::Pointer_t& ref)
{
m_pImpl->SetAnyTableImport(true);
switch(name)
@@ -4571,7 +4571,7 @@ void DomainMapper::lcl_table(Id name, writerfilter::Reference<Table>::Pointer_t
m_pImpl->SetAnyTableImport(false);
}
-void DomainMapper::lcl_substream(Id rName, ::writerfilter::Reference<Stream>::Pointer_t ref)
+void DomainMapper::lcl_substream(Id rName, const writerfilter::Reference<Stream>::Pointer_t& ref)
{
m_pImpl->substream(rName, ref);
}
diff --git a/writerfilter/source/dmapper/DomainMapper.hxx b/writerfilter/source/dmapper/DomainMapper.hxx
index f9c163ab1f29..ffcde49ef982 100644
--- a/writerfilter/source/dmapper/DomainMapper.hxx
+++ b/writerfilter/source/dmapper/DomainMapper.hxx
@@ -159,11 +159,11 @@ private:
virtual css::awt::Point getPositionOffset() override;
virtual void lcl_align(const OUString& rText, bool bVertical) override;
virtual void lcl_positivePercentage(const OUString& rText) override;
- virtual void lcl_props(writerfilter::Reference<Properties>::Pointer_t ref) override;
+ virtual void lcl_props(const writerfilter::Reference<Properties>::Pointer_t& ref) override;
virtual void lcl_table(Id name,
- writerfilter::Reference<Table>::Pointer_t ref) override;
+ const writerfilter::Reference<Table>::Pointer_t& ref) override;
virtual void lcl_substream(Id name,
- ::writerfilter::Reference<Stream>::Pointer_t ref) override;
+ const writerfilter::Reference<Stream>::Pointer_t& ref) override;
virtual void lcl_startGlossaryEntry() override;
virtual void lcl_endGlossaryEntry() override;
virtual void lcl_checkId(const sal_Int32 nId) override;
diff --git a/writerfilter/source/dmapper/FontTable.cxx b/writerfilter/source/dmapper/FontTable.cxx
index 0b5f6c6747dc..964470e24d60 100644
--- a/writerfilter/source/dmapper/FontTable.cxx
+++ b/writerfilter/source/dmapper/FontTable.cxx
@@ -193,15 +193,15 @@ void FontTable::lcl_utext(const sal_Unicode*, size_t)
{
}
-void FontTable::lcl_props(writerfilter::Reference<Properties>::Pointer_t)
+void FontTable::lcl_props(const writerfilter::Reference<Properties>::Pointer_t&)
{
}
-void FontTable::lcl_table(Id, writerfilter::Reference<Table>::Pointer_t)
+void FontTable::lcl_table(Id, const writerfilter::Reference<Table>::Pointer_t&)
{
}
-void FontTable::lcl_substream(Id, ::writerfilter::Reference<Stream>::Pointer_t)
+void FontTable::lcl_substream(Id, const writerfilter::Reference<Stream>::Pointer_t&)
{
}
diff --git a/writerfilter/source/dmapper/FontTable.hxx b/writerfilter/source/dmapper/FontTable.hxx
index 1b6c04c73f54..41c1f8dbd02c 100644
--- a/writerfilter/source/dmapper/FontTable.hxx
+++ b/writerfilter/source/dmapper/FontTable.hxx
@@ -73,11 +73,11 @@ class FontTable : public LoggedProperties, public LoggedTable
virtual void lcl_endCharacterGroup() override;
virtual void lcl_text(const sal_uInt8 * data, size_t len) override;
virtual void lcl_utext(const sal_Unicode * data, size_t len) override;
- virtual void lcl_props(writerfilter::Reference<Properties>::Pointer_t ref) override;
+ virtual void lcl_props(const writerfilter::Reference<Properties>::Pointer_t& ref) override;
virtual void lcl_table(Id name,
- writerfilter::Reference<Table>::Pointer_t ref) override;
+ const writerfilter::Reference<Table>::Pointer_t& ref) override;
virtual void lcl_substream(Id name,
- ::writerfilter::Reference<Stream>::Pointer_t ref) override;
+ const writerfilter::Reference<Stream>::Pointer_t& ref) override;
virtual void lcl_startShape(css::uno::Reference<css::drawing::XShape> const& xShape) override;
virtual void lcl_endShape( ) override;
virtual void lcl_startTextBoxContent() override {};
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 63330c477cbd..3a7c5454b66c 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -1994,38 +1994,31 @@ void GraphicImport::lcl_endParagraphGroup()
{
}
-
void GraphicImport::lcl_startCharacterGroup()
{
}
-
void GraphicImport::lcl_endCharacterGroup()
{
}
-
void GraphicImport::lcl_text(const sal_uInt8 * /*_data*/, size_t /*len*/)
{
}
-
void GraphicImport::lcl_utext(const sal_Unicode * /*_data*/, size_t /*len*/)
{
}
-
-void GraphicImport::lcl_props(writerfilter::Reference<Properties>::Pointer_t /*ref*/)
+void GraphicImport::lcl_props(const writerfilter::Reference<Properties>::Pointer_t& /*ref*/)
{
}
-
-void GraphicImport::lcl_table(Id /*name*/, writerfilter::Reference<Table>::Pointer_t /*ref*/)
+void GraphicImport::lcl_table(Id /*name*/, const writerfilter::Reference<Table>::Pointer_t& /*ref*/)
{
}
-
-void GraphicImport::lcl_substream(Id /*name*/, ::writerfilter::Reference<Stream>::Pointer_t /*ref*/)
+void GraphicImport::lcl_substream(Id /*name*/, const writerfilter::Reference<Stream>::Pointer_t& /*ref*/)
{
}
diff --git a/writerfilter/source/dmapper/GraphicImport.hxx b/writerfilter/source/dmapper/GraphicImport.hxx
index d2462433ade5..932c09f4a958 100644
--- a/writerfilter/source/dmapper/GraphicImport.hxx
+++ b/writerfilter/source/dmapper/GraphicImport.hxx
@@ -119,10 +119,10 @@ public:
virtual void lcl_endCharacterGroup() override;
virtual void lcl_text(const sal_uInt8 * data, size_t len) override;
virtual void lcl_utext(const sal_Unicode * data, size_t len) override;
- virtual void lcl_props(writerfilter::Reference<Properties>::Pointer_t ref) override;
+ virtual void lcl_props(const writerfilter::Reference<Properties>::Pointer_t& ref) override;
virtual void lcl_table(Id name,
- writerfilter::Reference<Table>::Pointer_t ref) override;
- virtual void lcl_substream(Id name, writerfilter::Reference<Stream>::Pointer_t ref) override;
+ const writerfilter::Reference<Table>::Pointer_t& ref) override;
+ virtual void lcl_substream(Id name, const writerfilter::Reference<Stream>::Pointer_t& ref) override;
virtual void lcl_startShape(css::uno::Reference<css::drawing::XShape> const& xShape) override;
virtual void lcl_startTextBoxContent() override {};
virtual void lcl_endTextBoxContent() override {};
diff --git a/writerfilter/source/dmapper/LoggedResources.hxx b/writerfilter/source/dmapper/LoggedResources.hxx
index b5c5c0bd04d3..b729f861373c 100644
--- a/writerfilter/source/dmapper/LoggedResources.hxx
+++ b/writerfilter/source/dmapper/LoggedResources.hxx
@@ -94,9 +94,9 @@ protected:
virtual css::awt::Point getPositionOffset() override { return css::awt::Point(); }
virtual void lcl_align(const OUString& /*rText*/, bool /*bVertical*/) {}
virtual void lcl_positivePercentage(const OUString& /*rText*/) {}
- virtual void lcl_props(writerfilter::Reference<Properties>::Pointer_t ref) = 0;
- virtual void lcl_table(Id name, writerfilter::Reference<Table>::Pointer_t ref) = 0;
- virtual void lcl_substream(Id name, writerfilter::Reference<Stream>::Pointer_t ref) = 0;
+ virtual void lcl_props(const writerfilter::Reference<Properties>::Pointer_t& ref) = 0;
+ virtual void lcl_table(Id name, const writerfilter::Reference<Table>::Pointer_t& ref) = 0;
+ virtual void lcl_substream(Id name, const writerfilter::Reference<Stream>::Pointer_t& ref) = 0;
virtual void lcl_startGlossaryEntry() {}
virtual void lcl_endGlossaryEntry() {}
virtual void lcl_checkId(const sal_Int32) {}