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
baba1d14
Kaydet (Commit)
baba1d14
authored
Agu 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#93068 - UI: Crash when Character dialogue opened
Change-Id: I92a9e6f27ef649c9d7501df55287c95c4d796156
üst
d97cc94a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
find-unused-defines.sh
bin/find-unused-defines.sh
+7
-3
flagsdef.hxx
include/svx/flagsdef.hxx
+1
-1
No files found.
bin/find-unused-defines.sh
Dosyayı görüntüle @
baba1d14
...
...
@@ -16,11 +16,15 @@
# (6) use awk to to check if only one match for a given constant was found
# (7) if so, generate a sed command to remove the #define
#
git
grep
-hP
'^#define\s+\w+.*\\'
--
"[!e][!x][!t]*"
\
|
sed
-r
's/#define[ ]+([a-zA-Z0-9_]+).*/\1/'
\
(
git
grep
-hP
'^\w*#define\s+\w+.*\\'
--
"[!e][!x][!t]*"
\
&&
\
git
grep
-hP
'^\w*#define\s+\w+\s*$'
--
"[!e][!x][!t]*"
)
\
|
grep
-v
'_idl'
\
|
grep
-vE
'^INCLUDED_'
\
|
sed
-r
's/[ ]*#define[ ]+([a-zA-Z0-9_]+).*/\1/'
\
|
sort
\
|
uniq
\
| xargs
-Ixxx
sh
-c
\
| xargs
-Ixxx
-n
1
-P
8
sh
-c
\
"git grep -w 'xxx' | awk -f bin/find-unused-defines.awk -v p1=xxx && echo
\"
xxx
\"
1>&2"
include/svx/flagsdef.hxx
Dosyayı görüntüle @
baba1d14
...
...
@@ -47,7 +47,7 @@ enum class SvxBackgroundTabFlags
};
namespace
o3tl
{
template
<>
struct
typed_flags
<
SvxBackgroundTabFlags
>
:
is_typed_flags
<
SvxBackgroundTabFlags
,
0x
0f
>
{};
template
<>
struct
typed_flags
<
SvxBackgroundTabFlags
>
:
is_typed_flags
<
SvxBackgroundTabFlags
,
0x
19
>
{};
}
// flags for SvxBorderTabPage
...
...
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