[Libreoffice-commits] .: Branch 'feature/gnumake2.1' - sfx2/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Wed Jan 19 11:40:53 PST 2011


 sfx2/source/dialog/mgetempl.cxx |    5 -----
 sfx2/source/dialog/templdlg.cxx |    4 ----
 2 files changed, 9 deletions(-)

New commits:
commit c374318085de463bf179cec2a92a3e5d9bf7f61f
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Wed Jan 19 13:40:31 2011 -0600

    remove broken debugging code

diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index 036c97e..e7c513f 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -435,11 +435,6 @@ BOOL SfxManageStyleSheetPage::FillItemSet( SfxItemSet& rSet )
         bModified = TRUE;
         DBG_ASSERT( pItem, "kein Item" );
         // geht nur bei Benutzervorlagen
-#if OSL_DEBUG_LEVEL > 1
-        USHORT nIdx = (USHORT)(long)aFilterLb.GetEntryData( nFilterIdx );
-        SfxFilterTupel* p;
-        p = pItem->GetFilterList().GetObject( nIdx );
-#endif
         USHORT nMask = pItem->GetFilterList().at(
             (size_t)aFilterLb.GetEntryData( nFilterIdx ) )->nFlags | SFXSTYLEBIT_USERDEF;
         pStyle->SetMask( nMask );
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 0b8a17a..661de02 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1509,10 +1509,6 @@ void SfxCommonTemplateDialog_Impl::Update_Impl()
          // anderer Filter fuer automatisch
          CheckItem( nActFamily, TRUE );
          const SfxStyleFamilyItem *pStyleItem =  GetFamilyItem_Impl();
-#if OSL_DEBUG_LEVEL > 1
-         SfxFilterTupel *pT;
-         pT = pStyleItem->GetFilterList().GetObject(nActFilter);
-#endif
          if(0 == pStyleItem->GetFilterList().at(nActFilter)->nFlags
             && nAppFilter != pItem->GetValue())
          {


More information about the Libreoffice-commits mailing list