diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-25 21:56:47 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-25 21:56:47 +0100 |
commit | dea45f0c8567dc387096798001a9f67633c7b616 (patch) | |
tree | f59c378dad4fc80eedb3c577ae959e660b4a5f87 /sfx2 | |
parent | 221960b0281cf24a1c2402cce6ad1b7f0053973a (diff) |
sfx2: pViewOnlyItem: -Werror=unused-variable
Change-Id: I6564edb9dcd07481a202d0154e77439dee9bf673
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 48599b88243c..6c5b6d2f5cd2 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -579,7 +579,6 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) if ( nId == SID_SAVEACOPY ) { - SFX_ITEMSET_ARG( GetMedium()->GetItemSet(), pViewOnlyItem, SfxBoolItem, SID_VIEWONLY, sal_False ); rReq.AppendItem( SfxBoolItem( SID_SAVETO, sal_True ) ); } |