tdf#158695 convert-to bogusly needs libcui (--disable-gui build)

Change-Id: I8e13902c4ee9b4b17e921b68b0626f7728cb0c18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162749
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 8d26ca7f9ac37b5ada0a2c463b37181bcc8301a8)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162811
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk
index f49117e..9840968 100644
--- a/sw/Library_sw.mk
+++ b/sw/Library_sw.mk
@@ -56,7 +56,6 @@ $(eval $(call gb_Library_use_libraries,sw,\
    comphelper \
    cppu \
    cppuhelper \
    cui \
    $(call gb_Helper_optional,DBCONNECTIVITY, \
        dbtools) \
    docmodel \