sc/source/ui/collab/sendfunc.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5db9b41638b66b1198b65b72d31c36613475fd25
Author: Michael Meeks <michael.me...@suse.com>
Date:   Fri Mar 23 11:32:13 2012 +0000

    tubes: fix crash with no collaboration setup

diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index 4e16629..50d6649 100644
--- a/sc/source/ui/collab/sendfunc.cxx
+++ b/sc/source/ui/collab/sendfunc.cxx
@@ -374,7 +374,8 @@ class ScDocFuncSend : public ScDocFunc
         fprintf( stderr, "Temp file is '%s'\n",
                  rtl::OUStringToOString( aFileURL, RTL_TEXTENCODING_UTF8 
).getStr() );
 
-        mpCollab->sendFile( aFileURL );
+        if ( mpCollab )
+            mpCollab->sendFile( aFileURL );
     }
 
 public:
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to