[ooo-build-commit] .: patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Apr 13 15:01:35 PDT 2010


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

New commits:
commit ad6f49f8437d5401423e902fcc40acf8b6a6a6d5
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 6b8e83c..2d20818 100644
--- a/patches/dev300/sc-datapilot-autoformat.diff
+++ b/patches/dev300/sc-datapilot-autoformat.diff
@@ -70,7 +70,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