diff options
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofsdrpathobj.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofsdrpathobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx index 3c7598115363..9cf85e52d530 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx @@ -96,7 +96,7 @@ namespace sdr //width/height to avoid oom and massive churn generating a huge //polygon chain to cover the length in applyLineDashing if this //line is dashed - const SdrPage* pPage = GetPathObj().GetPage(); + const SdrPage* pPage(GetPathObj().getSdrPageFromSdrObject()); sal_Int32 nPageWidth = pPage ? pPage->GetWidth() : 0; sal_Int32 nPageHeight = pPage ? pPage->GetHeight() : 0; |