[Libreoffice-commits] .: sfx2/source

David Tardon dtardon at kemper.freedesktop.org
Mon Jan 31 00:44:31 PST 2011


 sfx2/source/bastyp/fltfnc.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 6cc9300b607069046d5824f4bcc1697db7bec7de
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Jan 31 09:44:09 2011 +0100

    remove dead code

diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 6065f72..ae31181 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -1139,17 +1139,6 @@ void SfxFilterContainer::ReadFilters_Impl( BOOL bUpdate )
                     // Try to get filter .. but look for any exceptions!
                     // May be filter was deleted by another thread ...
                     ::rtl::OUString sFilterName = lFilterNames[nFilter];
-
-                    // This debug code can be used to break on inserting/updating
-                    // special debug filters at runtime.
-                    // Otherwise you have to check more then 300 filter names manually .-)
-                    // And conditional breakpoints on unicode values seams not to be supported .-(
-                    #ifdef DEBUG
-                    bool bDBGStop = FALSE;
-                    if (sFilterName.indexOf(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DBG_")))>-1)
-                        bDBGStop = TRUE;
-                    #endif
-
                     ReadSingleFilter_Impl( sFilterName, xTypeCFG, xFilterCFG, bUpdate );
                 }
             }


More information about the Libreoffice-commits mailing list