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

Stephan Bergmann sbergman at redhat.com
Wed Oct 2 08:41:28 PDT 2013


 sfx2/source/dialog/templdlg.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit d07bffc55f7c3f54862bdd5bd7d18692d503cbc5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 2 17:41:05 2013 +0200

    -Werror,-Wunused-variable
    
    Change-Id: Icf7976fe38402d7e6d0b25186b57a2b4dc68c0ae

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 4b6c8f6..c882ab9 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -2017,7 +2017,6 @@ sal_Int32 SfxCommonTemplateDialog_Impl::LoadFactoryStyleFilter( SfxObjectShell*
     OSL_ENSURE( i_pObjSh, "SfxCommonTemplateDialog_Impl::LoadFactoryStyleFilter(): no ObjectShell" );
     sal_Int32 nFilter = -1;
 
-    Sequence< PropertyValue > lProps;
     ::comphelper::SequenceAsHashMap aFactoryProps(
         xModuleManager->getByName( getModuleIdentifier( xModuleManager, i_pObjSh ) ) );
     sal_Int32 nDefault = -1;
@@ -2797,7 +2796,6 @@ IMPL_LINK( SfxTemplateDialog_Impl, ToolBoxRClick, ToolBox *, pBox )
             return 0;
         try
         {
-            uno::Sequence< beans::PropertyValue > aPropSeq;
             uno::Any aCommand = xUICommands->getByName(".uno:StyleNewByExample");
             OUString sLabel = lcl_GetLabel( aCommand );
             pMenu->InsertItem( SID_STYLE_NEW_BY_EXAMPLE, sLabel );


More information about the Libreoffice-commits mailing list