Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8b324e21
Kaydet (Commit)
8b324e21
authored
Nis 29, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
There is no images*_brand.zip files
Change-Id: I6ddeff7ae72693fd0951d71bd7b5444938bc7286
üst
d7ebca51
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
58 deletions
+13
-58
CustomTarget_images.mk
postprocess/CustomTarget_images.mk
+0
-6
Package_images.mk
postprocess/Package_images.mk
+0
-2
Package_images_install.mk
postprocess/Package_images_install.mk
+0
-1
common_brand.scp
scp2/source/ooo/common_brand.scp
+0
-8
impimagetree.cxx
vcl/source/gdi/impimagetree.cxx
+13
-41
No files found.
postprocess/CustomTarget_images.mk
Dosyayı görüntüle @
8b324e21
...
...
@@ -35,7 +35,6 @@ helpimages_DIR := $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxilia
packimages_CUSTOM_FALLBACKS := -c $(SRCDIR)/icon-themes/tango -c $(SRCDIR)/icon-themes/industrial
$(eval $(call gb_CustomTarget_register_targets,postprocess/images,\
images_brand.zip \
$(if $(filter default,$(WITH_THEMES)),images.zip) \
$(foreach theme,$(filter-out default,$(WITH_THEMES)),images_$(theme).zip) \
commandimagelist.ilst \
...
...
@@ -68,11 +67,6 @@ $(packimages_DIR)/%.zip : \
-s $< -o $@ \
$(if $(findstring s,$(MAKEFLAGS)),> /dev/null))
# make sure to have one to keep packing happy
$(packimages_DIR)/images_brand.zip :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),TCH,2)
touch $@
# commandimagelist.ilst and sorted.lst are phony to rebuild everything each time
.PHONY : $(packimages_DIR)/commandimagelist.ilst $(packimages_DIR)/sorted.lst
...
...
postprocess/Package_images.mk
Dosyayı görüntüle @
8b324e21
...
...
@@ -27,8 +27,6 @@
$(eval $(call gb_Package_Package,postprocess_images,$(call gb_CustomTarget_get_workdir,postprocess/images)))
$(eval $(call gb_Package_add_file,postprocess_images,bin/images_brand.zip,images_brand.zip))
$(if $(filter default,$(WITH_THEMES)),\
$(eval $(call gb_Package_add_file,postprocess_images,bin/images.zip,images.zip)))
...
...
postprocess/Package_images_install.mk
Dosyayı görüntüle @
8b324e21
...
...
@@ -12,7 +12,6 @@ $(eval $(call gb_Package_Package,postprocess_images_install,$(call gb_CustomTarg
$(eval $(call gb_Package_set_outdir,postprocess_images_install,$(INSTDIR)))
$(eval $(call gb_Package_add_files,postprocess_images_install,share/config,\
images_brand.zip \
$(if $(filter default,$(WITH_THEMES)),images.zip) \
$(foreach theme,$(filter-out default,$(WITH_THEMES)),images_$(theme).zip) \
))
...
...
scp2/source/ooo/common_brand.scp
Dosyayı görüntüle @
8b324e21
...
...
@@ -61,7 +61,6 @@ Module gid_Module_Root_Brand
gid_Brand_File_Bin_Libxml2,
gid_Brand_File_Bmp_IntroAboutShell,
gid_Brand_File_Html_Thirdpartylicensereadme,
gid_Brand_File_Images_Brand_Zip,
gid_Brand_File_Lib_Dbghelp,
gid_Brand_File_Lib_Mingw_GccS,
gid_Brand_File_Lib_Mingw_Stdcpp,
...
...
@@ -619,13 +618,6 @@ File gid_Brand_File_Bmp_IntroAboutShell
Styles = (ARCHIVE);
End
File gid_Brand_File_Images_Brand_Zip
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Share_Config;
Name = "images_brand.zip";
Styles = (PACKED);
End
File gid_Brand_File_Txt_Package
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Share_Extensions;
...
...
vcl/source/gdi/impimagetree.cxx
Dosyayı görüntüle @
8b324e21
...
...
@@ -163,26 +163,22 @@ bool ImplImageTree::checkStyle(OUString const & style)
setStyle
(
style
);
exists
=
false
;
const
OUString
sBrandURLSuffix
(
"_brand"
);
for
(
Paths
::
iterator
i
(
m_paths
.
begin
());
i
!=
m_paths
.
end
()
&&
!
exists
;
++
i
)
{
OUString
aURL
=
i
->
first
;
sal_Int32
nFromIndex
=
aURL
.
getLength
()
-
sBrandURLSuffix
.
getLength
();
// skip brand-specific icon themes; they are incomplete and thus not useful for this check
if
(
nFromIndex
<
0
||
!
aURL
.
match
(
sBrandURLSuffix
,
nFromIndex
))
{
osl
::
File
aZip
(
aURL
+
".zip"
);
if
(
aZip
.
open
(
osl_File_OpenFlag_Read
)
==
::
osl
::
FileBase
::
E_None
)
{
aZip
.
close
();
exists
=
true
;
}
osl
::
Directory
aLookaside
(
aURL
);
if
(
aLookaside
.
open
()
==
::
osl
::
FileBase
::
E_None
)
{
aLookaside
.
close
();
exists
=
true
;
m_cacheIcons
=
false
;
}
else
{
m_cacheIcons
=
true
;
}
osl
::
File
aZip
(
aURL
+
".zip"
);
if
(
aZip
.
open
(
osl_File_OpenFlag_Read
)
==
::
osl
::
FileBase
::
E_None
)
{
aZip
.
close
();
exists
=
true
;
}
osl
::
Directory
aLookaside
(
aURL
);
if
(
aLookaside
.
open
()
==
::
osl
::
FileBase
::
E_None
)
{
aLookaside
.
close
();
exists
=
true
;
m_cacheIcons
=
false
;
}
else
{
m_cacheIcons
=
true
;
}
}
m_checkStyleCache
[
style
]
=
exists
;
...
...
@@ -277,30 +273,6 @@ void ImplImageTree::setStyle(OUString const & style) {
void
ImplImageTree
::
resetPaths
()
{
m_paths
.
clear
();
{
OUString
url
(
"$BRAND_BASE_DIR/share/config"
);
rtl
::
Bootstrap
::
expandMacros
(
url
);
INetURLObject
u
(
url
);
OSL_ASSERT
(
!
u
.
HasError
());
OUStringBuffer
b
;
b
.
appendAscii
(
"images_"
);
b
.
append
(
m_style
);
b
.
appendAscii
(
"_brand"
);
bool
ok
=
u
.
Append
(
b
.
makeStringAndClear
(),
INetURLObject
::
ENCODE_ALL
);
OSL_ASSERT
(
ok
);
(
void
)
ok
;
m_paths
.
push_back
(
std
::
make_pair
(
u
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
()));
}
{
OUString
url
(
"$BRAND_BASE_DIR/share/config/images_brand"
);
rtl
::
Bootstrap
::
expandMacros
(
url
);
m_paths
.
push_back
(
std
::
make_pair
(
url
,
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
()));
}
{
OUString
url
(
"$BRAND_BASE_DIR/share/config"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment