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
1d922012
Kaydet (Commit)
1d922012
authored
Kas 27, 2010
tarafından
Gert Faller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTL_CONSTASCII_USTRINGPARAM in sdk 2
üst
7ccc9aae
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
25 deletions
+25
-25
SDatabaseMetaData.cxx
...lopersGuide/Database/DriverSkeleton/SDatabaseMetaData.cxx
+1
-1
FlatXml.cxx
...OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
+3
-3
office_connect.cxx
...les/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
+2
-2
MyListener.cxx
odk/examples/cpp/complextoolbarcontrols/MyListener.cxx
+2
-2
MyProtocolHandler.cxx
...examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
+2
-2
exports.cxx
odk/examples/cpp/complextoolbarcontrols/exports.cxx
+2
-2
remoteclient.cxx
odk/examples/cpp/remoteclient/remoteclient.cxx
+1
-1
cppcompskeleton.cxx
unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+6
-6
cpptypemaker.cxx
unodevtools/source/skeletonmaker/cpptypemaker.cxx
+2
-2
skeletoncommon.cxx
unodevtools/source/skeletonmaker/skeletoncommon.cxx
+4
-4
No files found.
odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -213,7 +213,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( ) throw(SQLExc
::
rtl
::
OUString
SAL_CALL
ODatabaseMetaData
::
getIdentifierQuoteString
(
)
throw
(
SQLException
,
RuntimeException
)
{
// normally this is "
::
rtl
::
OUString
aVal
=
::
rtl
::
OUString
::
createFromAscii
(
"
\"
"
);
::
rtl
::
OUString
aVal
(
RTL_CONSTASCII_USTRINGPARAM
(
"
\"
"
)
);
return
aVal
;
}
// -------------------------------------------------------------------------
...
...
odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -303,8 +303,8 @@ Sequence< OUString > getSupportedServiceNames()
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
seqNames
(
1
);
seqNames
.
getArray
()[
0
]
=
OUString
::
createFromAscii
(
"devguide.officedev.samples.filter.FlatXmlCpp"
);
seqNames
.
getArray
()[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"devguide.officedev.samples.filter.FlatXmlCpp"
)
)
;
pNames
=
&
seqNames
;
}
}
...
...
@@ -333,7 +333,7 @@ sal_Bool SAL_CALL component_writeInfo(void * pServiceManager, void * pRegistryKe
{
Reference
<
XRegistryKey
>
xNewKey
(
reinterpret_cast
<
XRegistryKey
*
>
(
pRegistryKey
)
->
createKey
(
OUString
::
createFromAscii
(
"/"
IMPLEMENTATION_NAME
"/UNO/SERVICES"
)
)
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
IMPLEMENTATION_NAME
"/UNO/SERVICES"
)
)
)
);
const
Sequence
<
OUString
>
&
rSNL
=
getSupportedServiceNames
();
const
OUString
*
pArray
=
rSNL
.
getConstArray
();
...
...
odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -75,8 +75,8 @@ SAL_IMPLEMENT_MAIN()
try
{
// resolve the uno-url
rInstance
=
rResolver
->
resolve
(
OUString
::
createFromAscii
(
"uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"
)
);
rInstance
=
rResolver
->
resolve
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"
)
)
);
if
(
!
rInstance
.
is
()
)
{
...
...
odk/examples/cpp/complextoolbarcontrols/MyListener.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -131,7 +131,7 @@ css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans:
::
rtl
::
OUString
SAL_CALL
MyListener
::
getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
{
return
::
rtl
::
OUString
::
createFromAscii
(
MYLISTENER_IMPLEMENTATIONNAME
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYLISTENER_IMPLEMENTATIONNAME
)
);
}
/*-----------------------------------------------------
...
...
@@ -141,7 +141,7 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL MyListener::getSupportedServiceNa
throw
(
css
::
uno
::
RuntimeException
)
{
css
::
uno
::
Sequence
<
::
rtl
::
OUString
>
lNames
(
1
);
lNames
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
MYLISTENER_SERVICENAME
);
lNames
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYLISTENER_SERVICENAME
)
);
return
lNames
;
}
...
...
odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -206,7 +206,7 @@ Sequence < Reference< XDispatch > > SAL_CALL MyProtocolHandler::queryDispatches(
::
rtl
::
OUString
MyProtocolHandler_getImplementationName
()
throw
(
RuntimeException
)
{
return
::
rtl
::
OUString
::
createFromAscii
(
MYPROTOCOLHANDLER_IMPLEMENTATIONNAME
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYPROTOCOLHANDLER_IMPLEMENTATIONNAME
)
);
}
sal_Bool
SAL_CALL
MyProtocolHandler_supportsService
(
const
::
rtl
::
OUString
&
ServiceName
)
...
...
@@ -222,7 +222,7 @@ Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames(
throw
(
RuntimeException
)
{
Sequence
<
::
rtl
::
OUString
>
aRet
(
1
);
aRet
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
MYPROTOCOLHANDLER_SERVICENAME
);
aRet
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYPROTOCOLHANDLER_SERVICENAME
)
);
return
aRet
;
}
...
...
odk/examples/cpp/complextoolbarcontrols/exports.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -100,14 +100,14 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplNa
if
(
sImplName
.
equalsAscii
(
MYLISTENER_IMPLEMENTATIONNAME
))
{
css
::
uno
::
Sequence
<
::
rtl
::
OUString
>
lNames
(
1
);
lNames
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
MYLISTENER_IMPLEMENTATIONNAME
);
lNames
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYLISTENER_IMPLEMENTATIONNAME
)
);
xFactory
=
::
cppu
::
createSingleFactory
(
xSMGR
,
sImplName
,
MyListener
::
st_createInstance
,
lNames
);
}
else
if
(
sImplName
.
equalsAscii
(
MYPROTOCOLHANDLER_IMPLEMENTATIONNAME
))
{
css
::
uno
::
Sequence
<
::
rtl
::
OUString
>
lNames
(
1
);
lNames
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
MYPROTOCOLHANDLER_SERVICENAME
);
lNames
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
MYPROTOCOLHANDLER_SERVICENAME
)
);
xFactory
=
::
cppu
::
createSingleFactory
(
xSMGR
,
sImplName
,
MyProtocolHandler_createInstance
,
lNames
);
}
...
...
odk/examples/cpp/remoteclient/remoteclient.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -243,7 +243,7 @@ sal_Bool SAL_CALL component_writeInfo(
{
Reference
<
XRegistryKey
>
xNewKey
(
reinterpret_cast
<
XRegistryKey
*
>
(
pRegistryKey
)
->
createKey
(
OUString
::
createFromAscii
(
"/"
IMPLEMENTATION_NAME
"/UNO/SERVICES"
)
)
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
IMPLEMENTATION_NAME
"/UNO/SERVICES"
)
)
)
);
const
Sequence
<
OUString
>
&
rSNL
=
getSupportedServiceNames
();
const
OUString
*
pArray
=
rSNL
.
getConstArray
();
...
...
unodevtools/source/skeletonmaker/cppcompskeleton.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -536,13 +536,13 @@ void generateAddinConstructorAndHelper(std::ostream& o,
" RTL_CONSTASCII_USTRINGPARAM(
\n
"
"
\"
com.sun.star.configuration.ConfigurationAccess
\"
));
\n\n
"
;
o
<<
" ::rtl::OUStringBuffer sPath(::rtl::OUString
::createFromAscii
(
\n
"
"
\"
/org.openoffice.Office.CalcAddIns/AddInInfo/
\"
));
\n
"
o
<<
" ::rtl::OUStringBuffer sPath(::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM
(
\n
"
"
\"
/org.openoffice.Office.CalcAddIns/AddInInfo/
\"
))
)
;
\n
"
" sPath.appendAscii(sADDIN_SERVICENAME);
\n
"
" sPath.appendAscii(
\"
/AddInFunctions
\"
);
\n\n
"
" // create arguments: nodepath
\n
"
" css::beans::PropertyValue aArgument;
\n
"
" aArgument.Name = ::rtl::OUString
::createFromAscii(
\"
nodepath
\"
);
\n
"
" aArgument.Name = ::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM(
\"
nodepath
\"
)
);
\n
"
" aArgument.Value <<= sPath.makeStringAndClear();
\n\n
"
" css::uno::Sequence< css::uno::Any > aArguments(1);
\n
"
" aArguments[0] <<= aArgument;
\n\n
"
;
...
...
@@ -557,8 +557,8 @@ void generateAddinConstructorAndHelper(std::ostream& o,
o
<<
" // extend arguments to create a view for all locales to get "
"simple
\n
// access to the compatibilityname property
\n
"
" aArgument.Name = ::rtl::OUString
::createFromAscii(
\"
locale
\"
);
\n
"
" aArgument.Value <<= ::rtl::OUString
::createFromAscii(
\"
*
\"
);
\n
"
" aArgument.Name = ::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM(
\"
locale
\"
)
);
\n
"
" aArgument.Value <<= ::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM(
\"
*
\"
)
);
\n
"
" aArguments.realloc(2);
\n
"
" aArguments[1] <<= aArgument;
\n\n
"
" // create view for all locales
\n
"
...
...
@@ -582,7 +582,7 @@ void generateAddinConstructorAndHelper(std::ostream& o,
" m_xHAccess->getByHierarchicalName(
\n
"
" buf.makeStringAndClear()), css::uno::UNO_QUERY);
\n
"
" xPropSet->getPropertyValue(
\n
"
"::rtl::OUString
::createFromAscii(propName
)) >>= ret;
\n
}
\n
"
"::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM(propName)
)) >>= ret;
\n
}
\n
"
" catch ( css::uno::RuntimeException & e ) {
\n
throw e;
\n
}
\n
"
" catch ( css::uno::Exception & ) {
\n
}
\n
return ret;
\n
"
;
}
...
...
unodevtools/source/skeletonmaker/cpptypemaker.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -420,8 +420,8 @@ void printMethods(std::ostream & o,
o
<<
"// ::com::sun::star::lang::XServiceName:
\n
"
"::rtl::OUString SAL_CALL "
<<
classname
<<
"getServiceName() "
"throw (css::uno::RuntimeException)
\n
{
\n
"
"return ::rtl::OUString
::createFromAscii
("
"sADDIN_SERVICENAME);
\n
}
\n
"
;
"return ::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM
("
"sADDIN_SERVICENAME)
)
;
\n
}
\n
"
;
generated
.
add
(
type
);
return
;
}
else
if
(
type
.
equals
(
"com/sun/star/sheet/XAddIn"
))
{
...
...
unodevtools/source/skeletonmaker/skeletoncommon.cxx
Dosyayı görüntüle @
1d922012
...
...
@@ -669,9 +669,9 @@ void generateFunctionParamterMap(std::ostream& o,
for
(
sal_uInt16
p
=
0
;
p
<
reader
.
getMethodParameterCount
(
m
);
++
p
)
{
if
(
options
.
language
==
2
)
{
o
<<
" fpm["
<<
p
<<
"] = ::rtl::OUString
::createFromAscii
(
\"
"
<<
"] = ::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM
(
\"
"
<<
codemaker
::
convertString
(
reader
.
getMethodParameterName
(
m
,
p
))
<<
"
\"
);
\n
"
;
<<
"
\"
)
)
;
\n
"
;
}
else
{
if
(
options
.
java5
)
...
...
@@ -688,8 +688,8 @@ void generateFunctionParamterMap(std::ostream& o,
}
if
(
options
.
language
==
2
)
{
o
<<
" m_functionMap[::rtl::OUString
::createFromAscii
(
\"
"
<<
sMethod
<<
"
\"
)] = fpm;
\n\n
"
;
o
<<
" m_functionMap[::rtl::OUString
(RTL_CONSTASCII_USTRINGPARAM
(
\"
"
<<
sMethod
<<
"
\"
)
)
] = fpm;
\n\n
"
;
}
else
{
o
<<
" m_functionMap.put(
\"
"
<<
sMethod
<<
"
\"
, fpm);
\n\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