summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2015-11-29 22:56:45 +0000
committerPedro Giffuni <pfg@apache.org>2015-11-29 22:56:45 +0000
commit648ba742f8f3439efc3a0e215ad008fe66f8c855 (patch)
tree8beb628f81192104a96e81c22aec878a17a6f2ab /sw/source
parentaedf0b56773481bf22546ab318667cb9c08ae7c5 (diff)
initialize pState
Notes
Notes: prefer: 17605133e01c7a58d5e2f10c441bf67582ae4898
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/docvw/romenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/romenu.cxx b/sw/source/ui/docvw/romenu.cxx
index 48443633c253..4508052ee8cb 100644
--- a/sw/source/ui/docvw/romenu.cxx
+++ b/sw/source/ui/docvw/romenu.cxx
@@ -226,7 +226,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) :
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 );