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
6409db78
Kaydet (Commit)
6409db78
authored
Mar 26, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantfunction: vcl/unx/gtk3
Change-Id: Ieedf89bebb59e783dfe13ef2d5ae7ba3347cdc62
üst
903a4206
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
constantfunction.cxx
compilerplugins/clang/constantfunction.cxx
+10
-0
gtkdata.hxx
vcl/inc/unx/gtk/gtkdata.hxx
+1
-3
No files found.
compilerplugins/clang/constantfunction.cxx
Dosyayı görüntüle @
6409db78
...
...
@@ -128,6 +128,10 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if
(
aFileName
==
SRCDIR
"/filter/source/svg/svgreader.cxx"
)
{
return
true
;
}
// vcl/unx/gtk3 re-using vcl/unx/gtk:
if
(
aFileName
.
find
(
"/../../gtk/"
)
!=
std
::
string
::
npos
)
{
return
true
;
}
// used by code generated by python
if
(
getFilename
(
pFunctionDecl
->
getCanonicalDecl
()
->
getLocStart
())
==
SRCDIR
"/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx"
)
{
return
true
;
...
...
@@ -400,6 +404,12 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if
(
aFunctionName
==
"SwVectorModifyBase::dumpAsXml"
)
{
return
true
;
}
// vcl/unx/gtk3 re-using vcl/unx/gtk:
if
(
aFunctionName
==
"GtkData::initNWF"
||
aFunctionName
==
"GtkSalFrame::EnsureAppMenuWatch"
)
{
return
true
;
}
// can't mess with the TYPEINIT macros in include/tools/rtti.hxx or the LINK macros in include/tools/link.hxx
std
::
string
aImmediateMacro
=
""
;
...
...
vcl/inc/unx/gtk/gtkdata.hxx
Dosyayı görüntüle @
6409db78
...
...
@@ -176,9 +176,7 @@ public:
virtual
void
PostUserEvent
()
SAL_OVERRIDE
;
#if GTK_CHECK_VERSION(3,0,0)
guint32
GetLastUserEventTime
(
bool
/* b */
)
{
return
GDK_CURRENT_TIME
;
}
// horrible hack
#else
#if !GTK_CHECK_VERSION(3,0,0)
virtual
bool
Dispatch
(
XEvent
*
pEvent
)
SAL_OVERRIDE
;
#endif
};
...
...
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