[ooo-build-commit] .: Branch 'ooo-build-3-2' - patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Apr 13 15:02:14 PDT 2010


 patches/dev300/sc-datapilot-autoformat.diff |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dd1c42457ea8f307180d39fbab8e2c6581e1aec2
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Apr 13 18:01:03 2010 -0400

    Fixed a crash on data pilot deletion.
    
    * patches/dev300/sc-datapilot-autoformat.diff: fixes n#595617.

diff --git a/patches/dev300/sc-datapilot-autoformat.diff b/patches/dev300/sc-datapilot-autoformat.diff
index 2610b2e..3f2e83d 100644
--- a/patches/dev300/sc-datapilot-autoformat.diff
+++ b/patches/dev300/sc-datapilot-autoformat.diff
@@ -68,7 +68,7 @@ index 8ee336e..d525da1 100644
      delete pNewUndoDoc;
      delete pUndoDPObj;
  
-+    if (const_cast<ScDPObject *>(pNewObj)->GetAutoFormatIndex() != 65535)
++    if (pNewObj && pNewObj->GetAutoFormatIndex() != 65535)
 +    {
 +        ScViewData* pViewData = rDocShell.GetViewData();
 +        ScTabViewShell* pViewShell = pViewData->GetViewShell();


More information about the ooo-build-commit mailing list