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
c91ff959
Kaydet (Commit)
c91ff959
authored
Şub 15, 2012
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use RTL_CONSTASCII_STRINGPARAM instead of bare number
üst
0ebee1ef
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
typedetection.cxx
filter/source/config/cache/typedetection.cxx
+2
-2
moduleuiconfigurationmanager.cxx
...k/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+1
-1
uiconfigurationmanager.cxx
framework/source/uiconfiguration/uiconfigurationmanager.cxx
+1
-1
xfactory.cxx
package/source/xstor/xfactory.cxx
+1
-1
fsfactory.cxx
svl/source/fsstor/fsfactory.cxx
+2
-2
No files found.
filter/source/config/cache/typedetection.cxx
Dosyayı görüntüle @
c91ff959
...
@@ -454,7 +454,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
...
@@ -454,7 +454,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS
{
{
// We cant check a preselected type for a given stream!
// We cant check a preselected type for a given stream!
// So we must believe, that it can work ...
// So we must believe, that it can work ...
if
(
aParsedURL
.
Complete
.
equalsAsciiL
(
"private:stream"
,
14
))
if
(
aParsedURL
.
Complete
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"private:stream"
)
))
bBreakDetection
=
sal_True
;
bBreakDetection
=
sal_True
;
}
}
...
@@ -1092,7 +1092,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript
...
@@ -1092,7 +1092,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript
if
(
if
(
(
sURL
.
isEmpty
()
)
||
// "non existing file" ?
(
sURL
.
isEmpty
()
)
||
// "non existing file" ?
(
!
xStream
.
is
()
)
||
// non existing file !
(
!
xStream
.
is
()
)
||
// non existing file !
(
sURL
.
equalsIgnoreAsciiCaseAsciiL
(
"private:stream"
,
14
))
// not a good idea .-)
(
sURL
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"private:stream"
)
))
// not a good idea .-)
)
)
return
::
rtl
::
OUString
();
return
::
rtl
::
OUString
();
...
...
framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
Dosyayı görüntüle @
c91ff959
...
@@ -273,7 +273,7 @@ void ModuleUIConfigurationManager::impl_preloadUIElementTypeList( Layer eLayer,
...
@@ -273,7 +273,7 @@ void ModuleUIConfigurationManager::impl_preloadUIElementTypeList( Layer eLayer,
OUString
aUIElementName
(
aUIElementNames
[
n
].
copy
(
0
,
nIndex
));
OUString
aUIElementName
(
aUIElementNames
[
n
].
copy
(
0
,
nIndex
));
if
(
!
aUIElementName
.
isEmpty
()
&&
if
(
!
aUIElementName
.
isEmpty
()
&&
(
aExtension
.
equalsIgnoreAsciiCaseAsciiL
(
"xml"
,
3
)))
(
aExtension
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"xml"
)
)))
{
{
aUIElementData
.
aResourceURL
=
aResURLPrefix
+
aUIElementName
;
aUIElementData
.
aResourceURL
=
aResURLPrefix
+
aUIElementName
;
aUIElementData
.
aName
=
aUIElementNames
[
n
];
aUIElementData
.
aName
=
aUIElementNames
[
n
];
...
...
framework/source/uiconfiguration/uiconfigurationmanager.cxx
Dosyayı görüntüle @
c91ff959
...
@@ -216,7 +216,7 @@ void UIConfigurationManager::impl_preloadUIElementTypeList( sal_Int16 nElementTy
...
@@ -216,7 +216,7 @@ void UIConfigurationManager::impl_preloadUIElementTypeList( sal_Int16 nElementTy
rtl
::
OUString
aUIElementName
(
aUIElementNames
[
n
].
copy
(
0
,
nIndex
));
rtl
::
OUString
aUIElementName
(
aUIElementNames
[
n
].
copy
(
0
,
nIndex
));
if
(
!
aUIElementName
.
isEmpty
()
&&
if
(
!
aUIElementName
.
isEmpty
()
&&
(
aExtension
.
equalsIgnoreAsciiCaseAsciiL
(
"xml"
,
3
)))
(
aExtension
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"xml"
)
)))
{
{
aUIElementData
.
aResourceURL
=
aResURLPrefix
+
aUIElementName
;
aUIElementData
.
aResourceURL
=
aResURLPrefix
+
aUIElementName
;
aUIElementData
.
aName
=
aUIElementNames
[
n
];
aUIElementData
.
aName
=
aUIElementNames
[
n
];
...
...
package/source/xstor/xfactory.cxx
Dosyayı görüntüle @
c91ff959
...
@@ -156,7 +156,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr
...
@@ -156,7 +156,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr
throw
lang
::
IllegalArgumentException
();
// TODO:
throw
lang
::
IllegalArgumentException
();
// TODO:
}
}
if
(
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
"vnd.sun.star.pkg"
,
16
)
)
if
(
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"vnd.sun.star.pkg"
)
)
)
{
{
OSL_FAIL
(
"Packages URL's are not valid for storages!
\n
"
);
// ???
OSL_FAIL
(
"Packages URL's are not valid for storages!
\n
"
);
// ???
throw
lang
::
IllegalArgumentException
();
// TODO:
throw
lang
::
IllegalArgumentException
();
// TODO:
...
...
svl/source/fsstor/fsfactory.cxx
Dosyayı görüntüle @
c91ff959
...
@@ -143,8 +143,8 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
...
@@ -143,8 +143,8 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
// allow to use other ucp's
// allow to use other ucp's
// if ( !isLocalNotFile_Impl( aURL ) )
// if ( !isLocalNotFile_Impl( aURL ) )
if
(
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
"vnd.sun.star.pkg"
,
16
)
if
(
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"vnd.sun.star.pkg"
)
)
||
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
"vnd.sun.star.zip"
,
16
)
||
aURL
.
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"vnd.sun.star.zip"
)
)
||
::
utl
::
UCBContentHelper
::
IsDocument
(
aURL
)
)
||
::
utl
::
UCBContentHelper
::
IsDocument
(
aURL
)
)
{
{
OSL_FAIL
(
"File system storages can be based only on file URLs!
\n
"
);
// ???
OSL_FAIL
(
"File system storages can be based only on file URLs!
\n
"
);
// ???
...
...
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