[Libreoffice-commits] core.git: include/tools

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 28 13:28:27 UTC 2019


 include/tools/urlobj.hxx |   15 ---------------
 1 file changed, 15 deletions(-)

New commits:
commit eddc29b82ce13f406ee310f8ecf98c189d3362a0
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Aug 27 08:58:33 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Aug 28 15:26:26 2019 +0200

    INetURLObject FSysStyle ctor is unused now
    
    ...after 90e33df14a1bdff55c4759102658dba7510a733a "Always using
    translateToInternal should be fine in SalGtkPicker::uritounicode"
    
    Change-Id: I3712109ef875ce8961d2da904a38400e0cf97496
    Reviewed-on: https://gerrit.libreoffice.org/78166
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 869b79e94cc4..3187ea24cb92 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -755,14 +755,6 @@ public:
 
     // File URLs:
 
-    /** Create an INetURLObject from a file system path.
-
-        @param rFSysPath  A file system path.  A URL is not allowed here!
-
-        @param eStyle  The notation of rFSysPath.
-     */
-    inline INetURLObject(OUString const & rFSysPath, FSysStyle eStyle);
-
     /** Set this INetURLObject to a file URL constructed from a file system
         path.
 
@@ -1309,13 +1301,6 @@ inline bool INetURLObject::SetMark(OUString const & rTheFragment,
                setFragment(rTheFragment, eMechanism, eCharset);
 }
 
-inline INetURLObject::INetURLObject(OUString const & rFSysPath,
-                                    FSysStyle eStyle):
-    m_eScheme(INetProtocol::NotValid), m_eSmartScheme(INetProtocol::Http)
-{
-    setFSysPath(rFSysPath, eStyle);
-}
-
 // static
 inline OUString INetURLObject::encode(OUString const & rText, Part ePart,
                                        EncodeMechanism eMechanism,


More information about the Libreoffice-commits mailing list