[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 23 22:56:59 PDT 2012


 sw/source/filter/basflt/fltini.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 6e86706c498fe5d672137f5ef0624308265ff220
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Sep 24 08:40:21 2012 +0300

    As far as I can see this function is unused
    
    Avoids duplicate symbol clash with the other function with an
    identical name and signature in sw/source/ui/uno/swdet2.cxx in the
    case of disable-dynloading.
    
    The IsDocShellRegistered() function used in
    sw/source/filter/basflt/iodetect.cxx presumably refers to the one in
    swdet2.cxx, as iodetect and swdet2 both go into the swd library, while
    fltini goes into the sw library.
    
    Change-Id: I2916f1698542679bf18abf9a7981fc32ef2d9829

diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index bf7ccfb..6591775 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -119,11 +119,6 @@ SwRead SwGetReaderXML() // SW_DLLPUBLIC
         return ReadXML;
 }
 
-bool IsDocShellRegistered()
-{
-    return 0 != SwDocShell::_GetInterface();
-}
-
 inline void _SetFltPtr( sal_uInt16 rPos, SwRead pReader )
 {
         aReaderWriter[ rPos ].pReader = pReader;


More information about the Libreoffice-commits mailing list