openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1717132 - /openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx
Date Sun, 29 Nov 2015 22:56:45 GMT
Author: pfg
Date: Sun Nov 29 22:56:45 2015
New Revision: 1717132

URL: http://svn.apache.org/viewvc?rev=1717132&view=rev
Log:
initialize pState

Modified:
    openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx

Modified: openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx?rev=1717132&r1=1717131&r2=1717132&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx Sun Nov 29 22:56:45 2015
@@ -226,7 +226,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const
 	Check( MN_READONLY_OPENURL,			SID_OPENDOC,		rDis );
 	Check( MN_READONLY_OPENURLNEW,		SID_OPENDOC,		rDis );
 
-	SfxPoolItem* pState;
+	SfxPoolItem* pState = NULL;
 
     SfxItemState eState = pVFrame->GetBindings().QueryState( SID_COPY, pState );
     Check( MN_READONLY_COPY,            SID_COPY,           rDis );



Mime
View raw message