summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-07 16:18:28 +0200
committerNoel Grandin <noel@peralex.com>2015-04-09 11:01:06 +0200
commit14505bb67eb671ebcb91c81cbefbbc1aab930b44 (patch)
tree0ad2166f5c6c95d01f2f7204b13aaa0ca8119acc /sd
parent6ea42ddf8f06b7551e80a906908dbad0766a68c6 (diff)
loplugin:staticmethods
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 51c860914b73..12c2bcb08ebc 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -1440,7 +1440,7 @@ TriState SdPageObjsTLB::NotifyMoving(
else
{
rpNewParent = GetParent(pDestination);
- rNewChildPos = pModel->GetRelPos(pDestination) + 1;
+ rNewChildPos = SvTreeList::GetRelPos(pDestination) + 1;
rNewChildPos += nCurEntrySelPos;
nCurEntrySelPos++;
}