desktop/source/lib/init.cxx      |    2 ++
 sd/source/ui/unoidl/unomodel.cxx |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 93a28b3bc8a50226a111464b08ac51d1feb05988
Author:     Marco Cecchetti <marco.cecche...@collabora.com>
AuthorDate: Wed Jun 14 12:42:22 2023 +0200
Commit:     Marco Cecchetti <marco.cecche...@collabora.com>
CommitDate: Wed Jun 14 21:18:36 2023 +0200

    fixup for: fe79008f70e7 sd: send correct slide visibility status
    
    Check pointer to be vaild
    
    Change-Id: Id7be4756496f034c4a6a4407cb625e68a66573c6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153051
    Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 92879fcd770a..438d2a81faa0 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2362,7 +2362,8 @@ OUString SdXImpressDocument::getPartInfo(int nPart)
     if (!pViewSh)
         return OUString();
 
-    const bool bIsVisible = !pViewSh->GetDoc()->GetSdPage(nPart, 
pViewSh->GetPageKind())->IsExcluded();
+    const SdPage* pSdPage = mpDoc->GetSdPage(nPart, pViewSh->GetPageKind());
+    const bool bIsVisible = pSdPage && !pSdPage->IsExcluded();
     const bool bIsSelected = pViewSh->IsSelected(nPart);
     const sal_Int16 nMasterPageCount= 
pViewSh->GetDoc()->GetMasterSdPageCount(pViewSh->GetPageKind());
 
commit cd4ad81ca334a3d2bc90bab81502ae5350bac84d
Author:     Marco Cecchetti <marco.cecche...@collabora.com>
AuthorDate: Tue Jun 13 19:30:05 2023 +0200
Commit:     Marco Cecchetti <marco.cecche...@collabora.com>
CommitDate: Wed Jun 14 21:18:25 2023 +0200

    lok: on switching from tabbed to compact ui 2 buttons were disabled
    
    Number Format Increase Decimals, Number Format Decrease Decimals were
    not enabled on switching ui.
    
    Change-Id: Ia81a43ef40168dcbf071d071231b795f9bf8659e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153050
    Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 743881175763..874e3ac1ffb2 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3466,6 +3466,8 @@ static void doc_iniUnoCommands ()
         OUString(".uno:NumberFormatCurrency"),
         OUString(".uno:NumberFormatPercent"),
         OUString(".uno:NumberFormatDecimal"),
+        OUString(".uno:NumberFormatIncDecimals"),
+        OUString(".uno:NumberFormatDecDecimals"),
         OUString(".uno:NumberFormatDate"),
         OUString(".uno:EditHeaderAndFooter"),
         OUString(".uno:FrameLineColor"),

Reply via email to