sd/source/ui/view/sdview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aceb413b2001c64edb077e9ea98db4eeff7de3b9
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon Aug 26 15:17:20 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Aug 26 20:44:43 2024 +0200

    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.mcnam...@collabora.com>
    Tested-by: Jenkins

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

Reply via email to