Browse Source

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
Julien Nabet 6 months ago
parent
commit
23120b6ade
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Dictionary_ca.mk

+ 4 - 1
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 \
 ))