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
a720ff09
Kaydet (Commit)
a720ff09
authored
Agu 27, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: fdo#38838 AllocBuffer is now unused
Change-Id: Ib2cf99f3dd9ce5e3acc7364d07d6b6e5d03de423
üst
7c542bf0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
string.hxx
include/tools/string.hxx
+0
-1
tustring.cxx
tools/source/string/tustring.cxx
+0
-16
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
include/tools/string.hxx
Dosyayı görüntüle @
a720ff09
...
...
@@ -276,7 +276,6 @@ public:
const
sal_Unicode
*
GetBuffer
()
const
{
return
mpData
->
maStr
;
}
sal_Unicode
*
GetBufferAccess
();
void
ReleaseBufferAccess
(
xub_StrLen
nLen
=
STRING_LEN
);
sal_Unicode
*
AllocBuffer
(
xub_StrLen
nLen
);
friend
sal_Bool
operator
==
(
const
UniString
&
rStr1
,
const
UniString
&
rStr2
)
{
return
rStr1
.
Equals
(
rStr2
);
}
...
...
tools/source/string/tustring.cxx
Dosyayı görüntüle @
a720ff09
...
...
@@ -265,22 +265,6 @@ void STRING::ReleaseBufferAccess( xub_StrLen nLen )
mpData
->
mnLen
=
nLen
;
}
STRCODE
*
STRING
::
AllocBuffer
(
xub_StrLen
nLen
)
{
DBG_CHKTHIS
(
STRING
,
DBGCHECKSTRING
);
STRING_RELEASE
((
STRING_TYPE
*
)
mpData
);
if
(
nLen
)
mpData
=
ImplAllocData
(
nLen
);
else
{
mpData
=
NULL
;
STRING_NEW
((
STRING_TYPE
**
)
&
mpData
);
}
return
mpData
->
maStr
;
}
STRING
&
STRING
::
Insert
(
STRCODE
c
,
xub_StrLen
nIndex
)
{
DBG_CHKTHIS
(
STRING
,
DBGCHECKSTRING
);
...
...
unusedcode.easy
Dosyayı görüntüle @
a720ff09
...
...
@@ -77,7 +77,6 @@ SmFontPickList::Contains(Font const&) const
StatusBar::CopyItems(StatusBar const&)
StatusBar::HideItems()
StatusBar::ShowItems()
String::AllocBuffer(unsigned short)
SvFileStream::GetFileHandle() const
SvdProgressInfo::ReportError()
SvpSalInstance::PostEvent(SalFrame const*, void*, unsigned short)
...
...
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