[Libreoffice-commits] dictionaries.git: Dictionary_ca.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun May 5 14:04:03 UTC 2019


 Dictionary_ca.mk |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 23120b6ade924b892055e26148c18f44896821c6
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun May 5 14:10:40 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun May 5 14:10:40 2019 +0200

    Fix logo management for "ca"
    
    Thread 1 "soffice.bin" hit Breakpoint 1, (anonymous namespace)::GraphicProvider::queryGraphic
    (this=0x55555b446140, rMediaProperties=uno::Sequence of length 1 = {...})
        at /home/julien/lo/libreoffice/vcl/source/graphic/UnoGraphicProvider.cxx:430
    430                     SAL_WARN("svtools", "Could not create graphic: " << error);
    (gdb) p rMediaProperties
    $2 = uno::Sequence of length 1 = {{Name = "URL", Handle = 0, Value =
    uno::Any("string": "file:///home/julien/lo/libreoffice/instdir/program/../share/extensions/dict-ca/images/SC-logo.png"),
        State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}}
    (gdb) c
    Continuing.
    warn:svtools:21636:21636:vcl/source/graphic/UnoGraphicProvider.cxx:430:
    Could not create graphic: 0x8201(Error Area:Vcl Class:General Code:1)
    
    Change-Id: I4b160ccd6777988ddb0107b663006efdaa48e366

diff --git a/Dictionary_ca.mk b/Dictionary_ca.mk
index eae51d2..487db29 100644
--- a/Dictionary_ca.mk
+++ b/Dictionary_ca.mk
@@ -15,11 +15,14 @@ $(eval $(call gb_Dictionary_add_root_files,dict-ca,\
 	dictionaries/ca/dictionaries/ca-valencia.aff \
 	dictionaries/ca/dictionaries/ca-valencia.dic \
 	dictionaries/ca/dictionaries/hyph_ca.dic \
-	dictionaries/ca/images/SC-logo.png \
 	dictionaries/ca/LICENSES-en.txt \
 	dictionaries/ca/LLICENCIES-ca.txt \
 ))
 
+$(eval $(call gb_Dictionary_add_files,dict-ca,images,\
+    dictionaries/ca/images/SC-logo.png \
+))
+
 $(eval $(call gb_Dictionary_add_thesauri,dict-ca,\
 	dictionaries/ca/dictionaries/th_ca_ES_v3.dat \
 ))


More information about the Libreoffice-commits mailing list