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
2ac50736
Kaydet (Commit)
2ac50736
authored
Kas 04, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unnecessary use of OUString constructor in SCRIPTING module
Change-Id: I87dd775949d1d3cc2c191e84e57b49cd66ecc750
üst
a5156a41
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
21 deletions
+20
-21
basmethnode.cxx
scripting/source/basprov/basmethnode.cxx
+5
-5
dlgprov.cxx
scripting/source/dlgprov/dlgprov.cxx
+4
-4
ActiveMSPList.cxx
scripting/source/provider/ActiveMSPList.cxx
+3
-3
BrowseNodeFactoryImpl.cxx
scripting/source/provider/BrowseNodeFactoryImpl.cxx
+1
-1
stringresource.cxx
scripting/source/stringresource/stringresource.cxx
+4
-4
eventhelper.cxx
scripting/source/vbaevents/eventhelper.cxx
+3
-4
No files found.
scripting/source/basprov/basmethnode.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -76,7 +76,7 @@ namespace basprov
StarBASIC
*
pBasic
=
static_cast
<
StarBASIC
*
>
(
pModule
->
GetParent
()
);
if
(
pBasic
)
{
m_sURI
=
OUString
(
"vnd.sun.star.script:"
)
;
m_sURI
=
"vnd.sun.star.script:"
;
m_sURI
+=
pBasic
->
GetName
();
m_sURI
+=
"."
;
m_sURI
+=
pModule
->
GetName
();
...
...
@@ -259,15 +259,15 @@ namespace basprov
Reference
<
frame
::
XDispatchHelper
>
xHelper
(
frame
::
DispatchHelper
::
create
(
m_xContext
)
);
Sequence
<
PropertyValue
>
aArgs
(
7
);
aArgs
[
0
].
Name
=
OUString
(
"Document"
)
;
aArgs
[
0
].
Name
=
"Document"
;
aArgs
[
0
].
Value
<<=
sDocURL
;
aArgs
[
1
].
Name
=
OUString
(
"LibName"
);
aArgs
[
1
].
Value
<<=
sLibName
;
aArgs
[
2
].
Name
=
OUString
(
"Name"
)
;
aArgs
[
2
].
Name
=
"Name"
;
aArgs
[
2
].
Value
<<=
sModName
;
aArgs
[
3
].
Name
=
OUString
(
"Type"
)
;
aArgs
[
3
].
Name
=
"Type"
;
aArgs
[
3
].
Value
<<=
OUString
(
"Module"
);
aArgs
[
4
].
Name
=
OUString
(
"Line"
)
;
aArgs
[
4
].
Name
=
"Line"
;
aArgs
[
4
].
Value
<<=
static_cast
<
sal_uInt32
>
(
nLine1
);
xHelper
->
executeDispatch
(
xProv
,
OUString
(
".uno:BasicIDEAppear"
),
OUString
(),
0
,
aArgs
);
}
...
...
scripting/source/dlgprov/dlgprov.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -74,7 +74,7 @@ namespace comp_DialogModelProvider
uno
::
Sequence
<
OUString
>
SAL_CALL
_getSupportedServiceNames
()
{
uno
::
Sequence
<
OUString
>
s
(
1
);
s
[
0
]
=
OUString
(
"com.sun.star.awt.UnoControlDialogModelProvider"
)
;
s
[
0
]
=
"com.sun.star.awt.UnoControlDialogModelProvider"
;
return
s
;
}
...
...
@@ -190,9 +190,9 @@ static OUString aResourceResolverPropName("ResourceResolver");
if
(
!
pNames
)
{
static
Sequence
<
OUString
>
aNames
(
3
);
aNames
.
getArray
()[
0
]
=
OUString
(
"com.sun.star.awt.DialogProvider"
)
;
aNames
.
getArray
()[
1
]
=
OUString
(
"com.sun.star.awt.DialogProvider2"
)
;
aNames
.
getArray
()[
2
]
=
OUString
(
"com.sun.star.awt.ContainerWindowProvider"
)
;
aNames
[
0
]
=
"com.sun.star.awt.DialogProvider"
;
aNames
[
1
]
=
"com.sun.star.awt.DialogProvider2"
;
aNames
[
2
]
=
"com.sun.star.awt.ContainerWindowProvider"
;
pNames
=
&
aNames
;
}
}
...
...
scripting/source/provider/ActiveMSPList.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -45,9 +45,9 @@ namespace func_provider
ActiveMSPList
::
ActiveMSPList
(
const
Reference
<
XComponentContext
>
&
xContext
)
:
m_xContext
(
xContext
)
{
userDirString
=
OUString
(
"user"
)
;
shareDirString
=
OUString
(
"share"
)
;
bundledDirString
=
OUString
(
"bundled"
)
;
userDirString
=
"user"
;
shareDirString
=
"share"
;
bundledDirString
=
"bundled"
;
}
ActiveMSPList
::~
ActiveMSPList
()
...
...
scripting/source/provider/BrowseNodeFactoryImpl.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -550,7 +550,7 @@ public:
{
m_vNodes
.
push_back
(
new
DefaultBrowseNode
(
xCtx
,
nodes
[
i
]
)
);
}
m_Name
=
OUString
(
"Root"
)
;
m_Name
=
"Root"
;
}
~
DefaultRootBrowseNode
()
...
...
scripting/source/stringresource/stringresource.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -81,7 +81,7 @@ namespace stringresource
static
Sequence
<
OUString
>
getSupportedServiceNames_StringResourceImpl
()
{
Sequence
<
OUString
>
names
(
1
);
names
[
0
]
=
OUString
(
"com.sun.star.resource.StringResource"
)
;
names
[
0
]
=
"com.sun.star.resource.StringResource"
;
return
names
;
}
...
...
@@ -1052,7 +1052,7 @@ void StringResourcePersistenceImpl::implStoreAtStorage
{
xProps
->
setPropertyValue
(
aPropName
,
uno
::
makeAny
(
aMime
)
);
aPropName
=
OUString
(
"UseCommonStoragePasswordEncryption"
)
;
aPropName
=
"UseCommonStoragePasswordEncryption"
;
xProps
->
setPropertyValue
(
aPropName
,
uno
::
makeAny
(
sal_True
)
);
}
...
...
@@ -2271,7 +2271,7 @@ bool StringResourcePersistenceImpl::implWritePropertiesFile( LocaleItem* pLocale
static
Sequence
<
OUString
>
getSupportedServiceNames_StringResourceWithStorageImpl
()
{
Sequence
<
OUString
>
names
(
1
);
names
[
0
]
=
OUString
(
"com.sun.star.resource.StringResourceWithStorage"
)
;
names
[
0
]
=
"com.sun.star.resource.StringResourceWithStorage"
;
return
names
;
}
...
...
@@ -2598,7 +2598,7 @@ bool StringResourceWithStorageImpl::implLoadLocale( LocaleItem* pLocaleItem )
static
Sequence
<
OUString
>
getSupportedServiceNames_StringResourceWithLocationImpl
()
{
Sequence
<
OUString
>
names
(
1
);
names
[
0
]
=
OUString
(
"com.sun.star.resource.StringResourceWithLocation"
)
;
names
[
0
]
=
"com.sun.star.resource.StringResourceWithLocation"
;
return
names
;
}
...
...
scripting/source/vbaevents/eventhelper.cxx
Dosyayı görüntüle @
2ac50736
...
...
@@ -356,8 +356,7 @@ eventMethodToDescriptor( const OUString& rEventMethod, ScriptEventDescriptor& ev
// set this it VBAInterop, ensures that it doesn't
// get persisted or shown in property editors
evtDesc
.
ScriptType
=
OUString
(
"VBAInterop"
);
evtDesc
.
ScriptType
=
OUString
(
"VBAInterop"
);
return
true
;
}
return
false
;
...
...
@@ -650,7 +649,7 @@ OPropertyContainer(GetBroadcastHelper()), m_xContext( rxContext ), m_bDocClosed(
{
registerProperty
(
EVENTLSTNR_PROPERTY_MODEL
,
EVENTLSTNR_PROPERTY_ID_MODEL
,
beans
::
PropertyAttribute
::
TRANSIENT
,
&
m_xModel
,
::
getCppuType
(
&
m_xModel
)
);
msProject
=
OUString
(
"Standard"
)
;
msProject
=
"Standard"
;
}
void
...
...
@@ -868,7 +867,7 @@ EventListener::firing_Impl(const ScriptEvent& evt, Any* pRet ) throw(RuntimeExce
OSL_TRACE
(
"evt.MethodName is %s"
,
OUStringToOString
(
evt
.
MethodName
,
RTL_TEXTENCODING_UTF8
).
getStr
()
);
OSL_TRACE
(
"Argument[0] is %s"
,
OUStringToOString
(
comphelper
::
anyToString
(
evt
.
Arguments
[
0
]
),
RTL_TEXTENCODING_UTF8
).
getStr
()
);
OSL_TRACE
(
"Getting Control"
);
OUString
sName
=
OUString
(
"UserForm"
)
;
OUString
sName
=
"UserForm"
;
OSL_TRACE
(
"Getting Name"
);
uno
::
Reference
<
awt
::
XDialog
>
xDlg
(
aEvent
.
Source
,
uno
::
UNO_QUERY
);
...
...
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