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
dd20a8c6
Kaydet (Commit)
dd20a8c6
authored
Nis 04, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SvtFileDialogURLSelector::OpenURL can go apparently
üst
fe630f3b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
+3
-10
iodlgimp.cxx
fpicker/source/office/iodlgimp.cxx
+0
-8
iodlgimp.hxx
fpicker/source/office/iodlgimp.hxx
+0
-1
unusedcode.README
unusedcode.README
+3
-1
No files found.
fpicker/source/office/iodlgimp.cxx
Dosyayı görüntüle @
dd20a8c6
...
...
@@ -164,14 +164,6 @@ SvtFileDialogURLSelector::~SvtFileDialogURLSelector()
delete
m_pMenu
;
}
//-----------------------------------------------------------------------------
void
SvtFileDialogURLSelector
::
OpenURL
(
const
String
&
rURL
)
{
INetURLObject
aObj
(
rURL
);
DBG_ASSERT
(
aObj
.
GetProtocol
()
!=
INET_PROT_NOT_VALID
,
"SvtFileDialogURLSelector::OpenURL: Invalid URL!"
);
m_pParent
->
OpenURL_Impl
(
aObj
.
GetMainURL
(
INetURLObject
::
NO_DECODE
)
);
}
//-----------------------------------------------------------------------------
void
SvtFileDialogURLSelector
::
Activate
()
{
...
...
fpicker/source/office/iodlgimp.hxx
Dosyayı görüntüle @
dd20a8c6
...
...
@@ -100,7 +100,6 @@ protected:
inline
SvtFileDialog
*
GetDialogParent
()
{
return
m_pParent
;
}
protected
:
void
OpenURL
(
const
String
&
rURL
);
virtual
void
FillURLMenu
(
PopupMenu
*
_pMenu
)
=
0
;
...
...
unusedcode.README
Dosyayı görüntüle @
dd20a8c6
...
...
@@ -28,7 +28,9 @@ d) gcc will only emit code for inlines if those inlines are used, so
e) if a constructor is listed as unused, and it's the *only* ctor in the class,
then no object of that class can be construsted, so the whole thing is
unused, which can lead to a whole cascade of tricky but logical fallout.
f) there's more actually unused code then what's listed. The idea is that what's
f) if a destructor is listed as unused, and a constructor isn't, then there's
a leak somewhere, and the destructor most likely *should* be called.
g) there's more actually unused code then what's listed. The idea is that what's
listed is definitely unused under the generation configuration, not that
it's a list of all unused code. If the count of unused easy hits 0 then
we can have a look at the non-easy and if that hits 0, then strip out
...
...
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