[Libreoffice-commits] core.git: sfx2/source

Michael Stahl mstahl at redhat.com
Mon Mar 25 13:59:38 PDT 2013


 sfx2/source/doc/objserv.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit dea45f0c8567dc387096798001a9f67633c7b616
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Mar 25 21:56:47 2013 +0100

    sfx2: pViewOnlyItem: -Werror=unused-variable
    
    Change-Id: I6564edb9dcd07481a202d0154e77439dee9bf673

diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 48599b8..6c5b6d2 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 ) );
                 }
 


More information about the Libreoffice-commits mailing list