Kaydet (Commit) 6fb54d7b authored tarafından Julien Nabet's avatar Julien Nabet

loplugin:returnbyref (Fix TB Linux F19-x86-64)

Change-Id: Ibf00b617a10e2bbe1c1e722c235bb2b75dee79a6
Reviewed-on: https://gerrit.libreoffice.org/18354Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst fdbad676
......@@ -54,7 +54,7 @@ class ScDBDataContainerBase
public:
ScDBDataContainerBase( ScDocument& rDoc ) : mrDoc(rDoc) {}
virtual ~ScDBDataContainerBase() {}
ScDocument* GetDocument() const;
ScDocument& GetDocument() const;
ScRangeList& GetDirtyTableColumnNames();
protected:
......
......@@ -654,9 +654,9 @@ void ScDBData::StartTableColumnNamesListener()
{
if (mpContainer && bHasHeader)
{
ScDocument* pDoc = mpContainer->GetDocument();
if (!pDoc->IsClipOrUndo())
pDoc->StartListeningArea( GetHeaderArea(), false, this);
ScDocument& pDoc = mpContainer->GetDocument();
if (!pDoc.IsClipOrUndo())
pDoc.StartListeningArea( GetHeaderArea(), false, this);
}
}
......@@ -1017,9 +1017,9 @@ public:
}
ScDocument* ScDBDataContainerBase::GetDocument() const
ScDocument& ScDBDataContainerBase::GetDocument() const
{
return &mrDoc;
return mrDoc;
}
ScRangeList& ScDBDataContainerBase::GetDirtyTableColumnNames()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment