[PATCH] fix Writer table functions printed wrongly

Tim Hardeck (via Code Review) gerrit at gerrit.libreoffice.org
Tue Jan 8 03:46:59 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1597

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/97/1597/1

fix Writer table functions printed wrongly

This patch fixes fdo#58074: Writer table functions are not calculated
before printing.

Change-Id: Idd3a634f1e8a1f97e4ee8359a11da9793f9ac307
---
M sw/source/core/doc/docfld.cxx
1 file changed, 3 insertions(+), 1 deletion(-)



diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 3fe8a0b..14a5a4f 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -347,7 +347,9 @@
             if( !pNewHt )
                 break;
         default:
-            (*pFldTypes)[i]->ModifyNotification ( 0, pNewHt );
+            if( pNewHt ) {
+                (*pFldTypes)[i]->ModifyNotification ( 0, pNewHt );
+            }
         }
     }
 

-- 
To view, visit https://gerrit.libreoffice.org/1597
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idd3a634f1e8a1f97e4ee8359a11da9793f9ac307
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Tim Hardeck <thardeck at suse.com>



More information about the LibreOffice mailing list