summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-26 15:17:20 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-26 20:44:43 +0200
commitaceb413b2001c64edb077e9ea98db4eeff7de3b9 (patch)
treeaff04ef617ab0e91a8e491fdd6c480648b058db1 /sd
parent780728041982ff6980a9552a5b84dd9db6b9680c (diff)
a SdrPage* is sufficient, don't need to case to SdPage*
Change-Id: I1bbbf5f885dffecae071a06e313e1a91f5a9a776 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172403 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/sdview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index cfa0fa909f5a..79234a4c7d48 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -454,7 +454,7 @@ namespace
{
void setOutlinerBgFromPage(::Outliner& rOutl, SdrPageView& rPgView, bool bScreenDisplay)
{
- SdPage* pPage = static_cast<SdPage*>(rPgView.GetPage());
+ SdrPage* pPage = rPgView.GetPage();
if (pPage)
{
// #i75566# Name change GetBackgroundColor -> GetPageBackgroundColor and