You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/11/29 23:56:45 UTC

svn commit: r1717132 - /openoffice/trunk/main/sw/source/ui/docvw/romenu.cxx

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 );