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
fa1da825
Kaydet (Commit)
fa1da825
authored
May 31, 2012
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
targeted string re-work
Change-Id: I3ef48c34e9e0e1c0e567b013b55a630ee1c7e9c5
üst
2f3f1460
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
confignode.cxx
unotools/source/config/confignode.cxx
+4
-4
docinfohelper.cxx
unotools/source/config/docinfohelper.cxx
+2
-2
ucblockbytes.cxx
unotools/source/ucbhelper/ucblockbytes.cxx
+4
-6
No files found.
unotools/source/config/confignode.cxx
Dosyayı görüntüle @
fa1da825
...
@@ -349,7 +349,7 @@ namespace utl
...
@@ -349,7 +349,7 @@ namespace utl
Reference
<
XServiceInfo
>
xSI
(
m_xHierarchyAccess
,
UNO_QUERY
);
Reference
<
XServiceInfo
>
xSI
(
m_xHierarchyAccess
,
UNO_QUERY
);
if
(
xSI
.
is
())
if
(
xSI
.
is
())
{
{
try
{
bIsSet
=
xSI
->
supportsService
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.configuration.SetAccess"
)
));
}
try
{
bIsSet
=
xSI
->
supportsService
(
::
rtl
::
OUString
(
"com.sun.star.configuration.SetAccess"
));
}
catch
(
Exception
&
)
{
}
catch
(
Exception
&
)
{
}
}
}
return
bIsSet
;
return
bIsSet
;
...
@@ -491,7 +491,7 @@ namespace utl
...
@@ -491,7 +491,7 @@ namespace utl
//--------------------------------------------------------------------
//--------------------------------------------------------------------
static
const
::
rtl
::
OUString
&
lcl_getProviderServiceName
(
)
static
const
::
rtl
::
OUString
&
lcl_getProviderServiceName
(
)
{
{
static
::
rtl
::
OUString
s_sProviderServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.configuration.ConfigurationProvider"
)
);
static
::
rtl
::
OUString
s_sProviderServiceName
(
"com.sun.star.configuration.ConfigurationProvider"
);
return
s_sProviderServiceName
;
return
s_sProviderServiceName
;
}
}
...
@@ -523,8 +523,8 @@ namespace utl
...
@@ -523,8 +523,8 @@ namespace utl
aArgs
.
put
(
"depth"
,
i_nDepth
);
aArgs
.
put
(
"depth"
,
i_nDepth
);
::
rtl
::
OUString
sAccessService
(
i_bUpdatable
?
::
rtl
::
OUString
sAccessService
(
i_bUpdatable
?
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.configuration.ConfigurationUpdateAccess"
)
)
:
::
rtl
::
OUString
(
"com.sun.star.configuration.ConfigurationUpdateAccess"
)
:
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.configuration.ConfigurationAccess"
)
));
::
rtl
::
OUString
(
"com.sun.star.configuration.ConfigurationAccess"
));
Reference
<
XInterface
>
xRoot
(
Reference
<
XInterface
>
xRoot
(
i_rxConfigProvider
->
createInstanceWithArguments
(
sAccessService
,
aArgs
.
getWrappedPropertyValues
()
),
i_rxConfigProvider
->
createInstanceWithArguments
(
sAccessService
,
aArgs
.
getWrappedPropertyValues
()
),
...
...
unotools/source/config/docinfohelper.cxx
Dosyayı görüntüle @
fa1da825
...
@@ -66,8 +66,8 @@ namespace utl
...
@@ -66,8 +66,8 @@ namespace utl
}
}
}
}
::
rtl
::
OUString
os
(
RTL_CONSTASCII_USTRINGPARAM
(
"$_OS"
)
);
::
rtl
::
OUString
os
(
"$_OS"
);
::
rtl
::
OUString
arch
(
RTL_CONSTASCII_USTRINGPARAM
(
"$_ARCH"
)
);
::
rtl
::
OUString
arch
(
"$_ARCH"
);
::
rtl
::
Bootstrap
::
expandMacros
(
os
);
::
rtl
::
Bootstrap
::
expandMacros
(
os
);
::
rtl
::
Bootstrap
::
expandMacros
(
arch
);
::
rtl
::
Bootstrap
::
expandMacros
(
arch
);
aResult
.
append
(
(
sal_Unicode
)
'$'
);
aResult
.
append
(
(
sal_Unicode
)
'$'
);
...
...
unotools/source/ucbhelper/ucblockbytes.cxx
Dosyayı görüntüle @
fa1da825
...
@@ -1027,9 +1027,7 @@ static sal_Bool UCBOpenContentSync(
...
@@ -1027,9 +1027,7 @@ static sal_Bool UCBOpenContentSync(
aExcep
.
Server
=
aURL
.
GetHost
();
aExcep
.
Server
=
aURL
.
GetHost
();
aExcep
.
Classification
=
InteractionClassification_ERROR
;
aExcep
.
Classification
=
InteractionClassification_ERROR
;
aExcep
.
Message
=
aExcep
.
Message
=
rtl
::
OUString
(
rtl
::
OUString
(
"server not responding after five seconds"
);
RTL_CONSTASCII_USTRINGPARAM
(
"server not responding after five seconds"
));
Any
request
;
Any
request
;
request
<<=
aExcep
;
request
<<=
aExcep
;
ucbhelper
::
InteractionRequest
*
ir
=
ucbhelper
::
InteractionRequest
*
ir
=
...
@@ -1335,7 +1333,7 @@ sal_Bool UcbLockBytes::setInputStream_Impl( const Reference<XInputStream> &rxInp
...
@@ -1335,7 +1333,7 @@ sal_Bool UcbLockBytes::setInputStream_Impl( const Reference<XInputStream> &rxInp
{
{
Reference
<
XMultiServiceFactory
>
xFactory
=
::
comphelper
::
getProcessServiceFactory
();
Reference
<
XMultiServiceFactory
>
xFactory
=
::
comphelper
::
getProcessServiceFactory
();
Reference
<
XOutputStream
>
rxTempOut
=
Reference
<
XOutputStream
>
(
Reference
<
XOutputStream
>
rxTempOut
=
Reference
<
XOutputStream
>
(
xFactory
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.io.TempFile"
)
)
),
xFactory
->
createInstance
(
::
rtl
::
OUString
(
"com.sun.star.io.TempFile"
)
),
UNO_QUERY
);
UNO_QUERY
);
if
(
rxTempOut
.
is
()
)
if
(
rxTempOut
.
is
()
)
...
@@ -1680,7 +1678,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo
...
@@ -1680,7 +1678,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo
{
{
Reference
<
XCommandProcessor
>
xProcessor
(
xContent
,
UNO_QUERY
);
Reference
<
XCommandProcessor
>
xProcessor
(
xContent
,
UNO_QUERY
);
Command
aCommand
;
Command
aCommand
;
aCommand
.
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"setPropertyValues"
)
);
aCommand
.
Name
=
::
rtl
::
OUString
(
"setPropertyValues"
);
aCommand
.
Handle
=
-
1
;
/* unknown */
aCommand
.
Handle
=
-
1
;
/* unknown */
aCommand
.
Argument
<<=
rProps
;
aCommand
.
Argument
<<=
rProps
;
xProcessor
->
execute
(
aCommand
,
0
,
Reference
<
XCommandEnvironment
>
()
);
xProcessor
->
execute
(
aCommand
,
0
,
Reference
<
XCommandEnvironment
>
()
);
...
@@ -1691,7 +1689,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo
...
@@ -1691,7 +1689,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo
aArgument
.
Mode
=
OpenMode
::
DOCUMENT
;
aArgument
.
Mode
=
OpenMode
::
DOCUMENT
;
Command
aCommand
;
Command
aCommand
;
aCommand
.
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"open"
)
);
aCommand
.
Name
=
::
rtl
::
OUString
(
"open"
);
aCommand
.
Argument
<<=
aArgument
;
aCommand
.
Argument
<<=
aArgument
;
Reference
<
XProgressHandler
>
xProgressHdl
=
new
ProgressHandler_Impl
(
LINK
(
&
xLockBytes
,
UcbLockBytes
,
DataAvailHdl
)
);
Reference
<
XProgressHandler
>
xProgressHdl
=
new
ProgressHandler_Impl
(
LINK
(
&
xLockBytes
,
UcbLockBytes
,
DataAvailHdl
)
);
...
...
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