[Libreoffice-commits] core.git: 2 commits - oox/source sd/source

2023-10-11 Thread Marco Cecchetti (via logerrit)
 oox/source/export/drawingml.cxx  |4 
 sd/source/ui/unoidl/unomodel.cxx |3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 4c7e8b3593c6311375603616c8d5bbd8ce5022f5
Author: Marco Cecchetti 
AuthorDate: Wed Jun 14 12:42:22 2023 +0200
Commit: Caolán McNamara 
CommitDate: Wed Oct 11 09:31:31 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 
Tested-by: Jenkins CollaboraOffice 
(cherry picked from commit 93a28b3bc8a50226a111464b08ac51d1feb05988)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157761
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index f5a7f112ca6e..c087ade87b5e 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2369,7 +2369,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 60a51b8397154e9685e63cff0a60c1a3da034423
Author: Darshan-upadhyay1110 
AuthorDate: Tue Sep 26 12:29:15 2023 +0530
Commit: Caolán McNamara 
CommitDate: Wed Oct 11 09:31:17 2023 +0200

tdf#51510 Blurry QR code after save/reload (docx)

- without GfxLinkType::NativeSvg CASE in writeToStorage method by default 
QR svg changes to low resolution image type and that is the why QR got blurry 
in doc or docx format
- added svg option when we change from odt to doc or docx format


Change-Id: I74aec0619992c1f455cc9cbf3c19e352c3037e04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157264
Reviewed-by: Szymon Kłos 
Tested-by: Szymon Kłos 
(cherry picked from commit 1d7dc53f19d188ae12603ca3cd526eb0a5016cf4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157729
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 0d1b8a5e1eda..ebe1df3a72d8 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1442,6 +1442,10 @@ OUString GraphicExport::writeToStorage(const Graphic& 
rGraphic , bool bRelPathTo
 sMediaType = "image/png";
 pExtension = ".png";
 break;
+case GfxLinkType::NativeSvg:
+sMediaType = "image/svg";
+pExtension = ".svg";
+break;
 case GfxLinkType::NativeTif:
 sMediaType = "image/tiff";
 pExtension = ".tif";


[Libreoffice-commits] core.git: 2 commits - oox/source sd/source sd/util

2013-06-04 Thread Stephan Bergmann
 oox/source/core/services.cxx |5 +
 sd/source/filter/eppt/pptx-epptooxml.cxx |4 +---
 sd/util/sdfilt.component |4 +---
 3 files changed, 7 insertions(+), 6 deletions(-)

New commits:
commit 547217ecf2348cf511b1f058ecbab6f15f2bceff
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon Jun 3 16:23:10 2013 +0200

Document seemingly dead QuickDiagrammingImport, QuickDiagrammingLayout

Change-Id: I9662671d8dbce87993ba67cf8e4fd993ad1eb27a

diff --git a/oox/source/core/services.cxx b/oox/source/core/services.cxx
index 6873e4d..d62f159 100644
--- a/oox/source/core/services.cxx
+++ b/oox/source/core/services.cxx
@@ -48,6 +48,11 @@ namespace {
 #define IMPLEMENTATION_ENTRY( className ) \
 { className##_createInstance, className##_getImplementationName, 
className##_getSupportedServiceNames, ::cppu::createSingleComponentFactory, 0, 
0 }
 
+//TODO: QuickDiagrammingImport and QuickDiagrammingLayout are not listed in
+// oox/util/oox.component (and not directly referenced from anywhere in the 
code
+// either); it is unclear whether they are dead code or whether
+// a81327ff2faaf21c22f1a902bea170942d5207e6 Import SmartArt graphics to
+// Impress would actually want to make use of them:
 static ::cppu::ImplementationEntry const spServices[] =
 {
 IMPLEMENTATION_ENTRY( ::oox::core::FastTokenHandler ),
commit 9d0fcedaecc84c147f19c88bac1469b359eab16e
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon Jun 3 15:53:08 2013 +0200

Remove odd, unused com.sun.star.comp.ooxpptx service name

Change-Id: I746e1fa25137db786f82dda50bfa4b497e94cefd

diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx 
b/sd/source/filter/eppt/pptx-epptooxml.cxx
index ba04809..2535689 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -2141,9 +2141,7 @@ OUString SAL_CALL 
PowerPointExport_getImplementationName() throw()
 
 uno::Sequence OUString  SAL_CALL PowerPointExport_getSupportedServiceNames() 
throw()
 {
-const OUString aServiceName( com.sun.star.comp.ooxpptx );
-const Sequence OUString  aSeq( aServiceName, 1 );
-return aSeq;
+return Sequence OUString ();
 }
 
 uno::Reference uno::XInterface  SAL_CALL 
PowerPointExport_createInstance(const uno::Reference XComponentContext   
rxCtxt ) throw( uno::Exception )
diff --git a/sd/util/sdfilt.component b/sd/util/sdfilt.component
index 3b1d3b0..83a3ad1 100644
--- a/sd/util/sdfilt.component
+++ b/sd/util/sdfilt.component
@@ -9,7 +9,5 @@
 --
 component loader=com.sun.star.loader.SharedLibrary prefix=sdfilt
 xmlns=http://openoffice.org/2010/uno-components;
-  implementation name=com.sun.star.comp.Impress.oox.PowerPointExport
-service name=com.sun.star.comp.ooxpptx/
-  /implementation
+  implementation name=com.sun.star.comp.Impress.oox.PowerPointExport/
 /component
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits