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
19d37e5c
Kaydet (Commit)
19d37e5c
authored
12 years ago
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin: unused O[U]Strings
Change-Id: I020149a3073d8479887d108465cf5d3b727588d7
üst
c14bd74f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
21 deletions
+5
-21
substitutepathvars.cxx
framework/source/services/substitutepathvars.cxx
+5
-7
osl_old_test_file.cxx
sal/qa/osl/file/osl_old_test_file.cxx
+0
-3
osl_Module_Const.h
sal/qa/osl/module/osl_Module_Const.h
+0
-9
rtl_cipher.cxx
sal/qa/rtl/cipher/rtl_cipher.cxx
+0
-2
No files found.
framework/source/services/substitutepathvars.cxx
Dosyayı görüntüle @
19d37e5c
...
...
@@ -375,11 +375,9 @@ const rtl::OUString& SubstitutePathVariables_Impl::GetNTDomainName()
const
rtl
::
OUString
&
SubstitutePathVariables_Impl
::
GetHostName
()
{
if
(
!
m_bHostRetrieved
)
if
(
!
m_bHostRetrieved
)
{
rtl
::
OUString
aHostName
;
oslSocketResult
aSocketResult
;
m_aHost
=
osl
::
SocketAddr
::
getLocalHostname
(
&
aSocketResult
).
toAsciiLowerCase
();
}
...
...
@@ -1133,8 +1131,8 @@ throw ( NoSuchElementException, RuntimeException )
aVariable
=
rVariable
.
copy
(
2
,
rVariable
.
getLength
()
-
3
);
else
{
rtl
::
OUString
aExceptionText
(
RTL_CONSTASCII_USTRINGPARAM
(
"Unknown variable!"
)
);
throw
NoSuchElementException
();
OUString
aExceptionText
(
"Unknown variable!"
);
throw
NoSuchElementException
(
aExceptionText
,
(
cppu
::
OWeakObject
*
)
this
);
}
}
else
...
...
@@ -1148,8 +1146,8 @@ throw ( NoSuchElementException, RuntimeException )
return
pIter
->
second
.
aSubstValue
;
}
rtl
::
OUString
aExceptionText
(
RTL_CONSTASCII_USTRINGPARAM
(
"Unknown variable!"
)
);
throw
NoSuchElementException
(
aExceptionText
,
(
cppu
::
OWeakObject
*
)
this
);
OUString
aExceptionText
(
"Unknown variable!"
);
throw
NoSuchElementException
(
aExceptionText
,
(
cppu
::
OWeakObject
*
)
this
);
}
}
...
...
This diff is collapsed.
Click to expand it.
sal/qa/osl/file/osl_old_test_file.cxx
Dosyayı görüntüle @
19d37e5c
...
...
@@ -173,9 +173,6 @@ void oldtestfile::test_file_004()
{
CPPUNIT_ASSERT_MESSAGE
(
"failure #10.1"
,
target
.
equalsAscii
(
aSource1
[
i
+
1
]
)
);
}
OString
o
=
OUStringToOString
(
target
,
RTL_TEXTENCODING_ASCII_US
);
OString
obase
=
OUStringToOString
(
base4
,
RTL_TEXTENCODING_ASCII_US
);
//fprintf( stderr, "%d %s + %s = %s\n" ,e, obase.getStr(), aSource1[i], o.pData->buffer );
}
#endif
}
...
...
This diff is collapsed.
Click to expand it.
sal/qa/osl/module/osl_Module_Const.h
Dosyayı görüntüle @
19d37e5c
...
...
@@ -47,15 +47,6 @@
# define FILE_PREFIX "file:///"
//Korea charactors
::
rtl
::
OUString
aKname
(
RTL_CONSTASCII_STRINGPARAM
(
"/
\xEC\x95\x88\xEB\x85\x95\xED\x95\x98\xEC\x84\xB8\xEC\x9A\x94
"
),
RTL_TEXTENCODING_ISO_8859_1
);
// zero-extend the individual byte-sized characters one-to-one to individual
// sal_Unicode-sized characters; not sure whether this is what was
// intended...
//------------------------------------------------------------------------
// function pointer type.
//------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
sal/qa/rtl/cipher/rtl_cipher.cxx
Dosyayı görüntüle @
19d37e5c
...
...
@@ -258,8 +258,6 @@ public:
/* rtlCipherError */
aError
=
rtl_cipher_decode
(
aCipher
,
pCipherBuffer
,
nCipherLen
,
pPlainText2Buffer
,
nPlainText2Len
);
CPPUNIT_ASSERT_MESSAGE
(
"wrong decode"
,
aError
==
rtl_Cipher_E_None
);
rtl
::
OString
sPlainText2Str
((
char
*
)
pPlainText2Buffer
,
nPlainText2Len
);
sal_Int32
nCompare
=
memcmp
(
pPlainTextBuffer
,
pPlainText2Buffer
,
16
);
CPPUNIT_ASSERT_MESSAGE
(
"compare between plain and decoded plain failed"
,
nCompare
==
0
);
...
...
This diff is collapsed.
Click to expand it.
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