https://bugs.documentfoundation.org/show_bug.cgi?id=162728

--- Comment #10 from Julien Nabet <[email protected]> ---
With this patch, it works:
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 3cd788f5dc4b..79cae14cf75b 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -226,7 +226,7 @@ public:
         try
         {
             uno::Reference< lang::XMultiServiceFactory > xDocSettingsSupplier(
xModel, uno::UNO_QUERY );
-            if (xModel)
+            if (xModel && xDocSettingsSupplier)
             {
                 m_xDocumentSettings.set(
                     xDocSettingsSupplier->createInstance(
u"com.sun.star.document.Settings"_ustr ),

but as often, perhaps it's just hidding the pb?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to