[Libreoffice-commits] .: binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Wed May 25 02:50:16 PDT 2011


 binfilter/bf_sw/source/core/fields/sw_expfld.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 65d106482b9e0c6dbd0a3747c691428355f0f41c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 25 10:50:03 2011 +0100

    WaE: fix for older compiler

diff --git a/binfilter/bf_sw/source/core/fields/sw_expfld.cxx b/binfilter/bf_sw/source/core/fields/sw_expfld.cxx
index 6023a22..bf0d186 100644
--- a/binfilter/bf_sw/source/core/fields/sw_expfld.cxx
+++ b/binfilter/bf_sw/source/core/fields/sw_expfld.cxx
@@ -157,7 +157,7 @@ using namespace ::rtl;
 /*N*/ SwTxtNode* GetFirstTxtNode( const SwDoc& rDoc, SwPosition& rPos,
 /*N*/ 							const SwCntntFrm *pCFrm, Point &rPt )
 /*N*/ {
-/*N*/ 	SwTxtNode* pTxtNode;
+/*N*/ 	SwTxtNode* pTxtNode = NULL;
 /*N*/ 	if ( !pCFrm )
 /*N*/ 	{
 /*?*/ 		rPos.nNode = *rDoc.GetNodes().GetEndOfContent().StartOfSectionNode();


More information about the Libreoffice-commits mailing list