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
d3d6b5d0
Kaydet (Commit)
d3d6b5d0
authored
Kas 15, 2010
tarafından
pjacquod
Kaydeden (comit)
Caolán McNamara
Kas 17, 2010
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
RTL_CONSTASCII_USTRINGPARAM in components cui options
this time options should be cleared
üst
fd16ff06
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
33 deletions
+33
-33
cfgchart.cxx
cui/source/options/cfgchart.cxx
+2
-2
optgdlg.cxx
cui/source/options/optgdlg.cxx
+7
-7
optimprove.cxx
cui/source/options/optimprove.cxx
+7
-7
optimprove2.cxx
cui/source/options/optimprove2.cxx
+5
-5
optjava.cxx
cui/source/options/optjava.cxx
+1
-1
sdbcdriverenum.cxx
cui/source/options/sdbcdriverenum.cxx
+1
-1
treeopt.cxx
cui/source/options/treeopt.cxx
+10
-10
No files found.
cui/source/options/cfgchart.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -171,11 +171,11 @@ bool SvxChartColorTable::operator==( const SvxChartColorTable & _rOther ) const
// ====================
SvxChartOptions
::
SvxChartOptions
()
:
::
utl
::
ConfigItem
(
rtl
::
OUString
::
createFromAscii
(
"Office.Chart"
)
),
::
utl
::
ConfigItem
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office.Chart"
)
)
),
mbIsInitialized
(
FALSE
)
{
maPropertyNames
.
realloc
(
1
);
maPropertyNames
[
0
]
=
::
rtl
::
OUString
::
createFromAscii
(
"DefaultColor/Series"
);
maPropertyNames
[
0
]
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"DefaultColor/Series"
)
);
}
SvxChartOptions
::~
SvxChartOptions
()
...
...
cui/source/options/optgdlg.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -136,7 +136,7 @@ namespace
if
(
rDesktopEnvironment
.
equalsIgnoreAsciiCaseAscii
(
"gnome"
)
)
{
#ifdef ENABLE_GTK
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.GtkFilePicker"
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.GtkFilePicker"
)
);
#else
return
rtl
::
OUString
();
#endif
...
...
@@ -144,7 +144,7 @@ namespace
else
if
(
rDesktopEnvironment
.
equalsIgnoreAsciiCaseAscii
(
"kde4"
)
)
{
#ifdef ENABLE_KDE4
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.KDE4FilePicker"
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.KDE4FilePicker"
)
);
#else
return
rtl
::
OUString
();
#endif
...
...
@@ -152,15 +152,15 @@ namespace
else
if
(
rDesktopEnvironment
.
equalsIgnoreAsciiCaseAscii
(
"kde"
)
)
{
#ifdef ENABLE_KDE
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.KDEFilePicker"
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.KDEFilePicker"
)
);
#else
return
rtl
::
OUString
();
#endif
}
#if defined WNT
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.SystemFilePicker"
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.SystemFilePicker"
)
);
#elif (defined MACOSX && defined QUARTZ)
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.AquaFilePicker"
);
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.AquaFilePicker"
)
);
#else
return
rtl
::
OUString
();
#endif
...
...
@@ -843,14 +843,14 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet ) :
{
::
rtl
::
OUString
aAutoStr
(
aIconStyleLB
.
GetEntry
(
0
)
);
aAutoStr
+=
::
rtl
::
OUString
::
createFromAscii
(
" ("
);
aAutoStr
+=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
" ("
)
);
ULONG
nAutoStyle
=
aStyleSettings
.
GetAutoSymbolsStyle
();
if
(
aIconStyleItemId
[
nAutoStyle
]
)
aAutoStr
+=
aIconStyleLB
.
GetEntry
(
aIconStyleItemId
[
nAutoStyle
]
);
aIconStyleLB
.
RemoveEntry
(
0
);
aIconStyleLB
.
InsertEntry
(
aAutoStr
+=
::
rtl
::
OUString
::
createFromAscii
(
")"
),
0
);
aIconStyleLB
.
InsertEntry
(
aAutoStr
+=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
")"
)
),
0
);
// separate auto and other icon themes
aIconStyleLB
.
SetSeparatorPos
(
0
);
}
...
...
cui/source/options/optimprove.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -173,22 +173,22 @@ IMPL_LINK( SvxImprovementDialog, HandleOK, OKButton*, EMPTYARG )
{
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xSMGR
=
::
comphelper
::
getProcessServiceFactory
();
uno
::
Reference
<
com
::
sun
::
star
::
oooimprovement
::
XCoreController
>
core_c
(
xSMGR
->
createInstance
(
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.oooimprovement.CoreController"
)
),
xSMGR
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.oooimprovement.CoreController"
)
)
),
uno
::
UNO_QUERY
);
if
(
core_c
.
is
())
{
::
comphelper
::
ConfigurationHelper
::
writeDirectKey
(
xSMGR
,
::
rtl
::
OUString
::
createFromAscii
(
"/org.openoffice.Office.OOoImprovement.Settings"
),
::
rtl
::
OUString
::
createFromAscii
(
"Participation"
),
::
rtl
::
OUString
::
createFromAscii
(
"ShowedInvitation"
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/org.openoffice.Office.OOoImprovement.Settings"
)
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Participation"
)
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ShowedInvitation"
)
),
uno
::
makeAny
(
true
),
::
comphelper
::
ConfigurationHelper
::
E_STANDARD
);
::
comphelper
::
ConfigurationHelper
::
writeDirectKey
(
xSMGR
,
::
rtl
::
OUString
::
createFromAscii
(
"/org.openoffice.Office.OOoImprovement.Settings"
),
::
rtl
::
OUString
::
createFromAscii
(
"Participation"
),
::
rtl
::
OUString
::
createFromAscii
(
"InvitationAccepted"
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/org.openoffice.Office.OOoImprovement.Settings"
)
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Participation"
)
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"InvitationAccepted"
)
),
uno
::
makeAny
(
m_pPage
->
IsYesChecked
()
),
::
comphelper
::
ConfigurationHelper
::
E_STANDARD
);
// TODO: refactor
...
...
cui/source/options/optimprove2.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -144,11 +144,11 @@ IMPL_LINK( SvxImprovementOptionsPage, HandleShowData, PushButton*, EMPTYARG )
::
rtl
::
OUString
sLogFile
(
m_sLogPath
);
sLogFile
+=
C2S
(
"/Current.csv"
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aArgs
(
3
);
aArgs
[
0
].
Name
=
::
rtl
::
OUString
::
createFromAscii
(
"FilterName"
);
aArgs
[
0
].
Value
=
uno
::
makeAny
(
::
rtl
::
OUString
::
createFromAscii
(
"Text - txt - csv (StarCalc)"
)
);
aArgs
[
1
].
Name
=
::
rtl
::
OUString
::
createFromAscii
(
"FilterOptions"
);
aArgs
[
1
].
Value
=
uno
::
makeAny
(
::
rtl
::
OUString
::
createFromAscii
(
"44,34,12,1,"
)
);
aArgs
[
2
].
Name
=
::
rtl
::
OUString
::
createFromAscii
(
"ReadOnly"
);
aArgs
[
0
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FilterName"
)
);
aArgs
[
0
].
Value
=
uno
::
makeAny
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Text - txt - csv (StarCalc)"
)
)
);
aArgs
[
1
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FilterOptions"
)
);
aArgs
[
1
].
Value
=
uno
::
makeAny
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"44,34,12,1,"
)
)
);
aArgs
[
2
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ReadOnly"
)
);
aArgs
[
2
].
Value
=
uno
::
makeAny
(
true
);
uno
::
Reference
<
lang
::
XComponent
>
xDoc
=
::
comphelper
::
SynchronousDispatch
::
dispatch
(
...
...
cui/source/options/optjava.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -304,7 +304,7 @@ IMPL_LINK( SvxJavaOptionsPage, AddHdl_Impl, PushButton *, EMPTYARG )
{
Reference
<
XMultiServiceFactory
>
xMgr
(
::
comphelper
::
getProcessServiceFactory
()
);
xFolderPicker
=
Reference
<
XFolderPicker
>
(
xMgr
->
createInstance
(
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.ui.dialogs.FolderPicker"
)
),
UNO_QUERY
);
xMgr
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ui.dialogs.FolderPicker"
)
)
),
UNO_QUERY
);
String
sWorkFolder
=
SvtPathOptions
().
GetWorkPath
();
xFolderPicker
->
setDisplayDirectory
(
sWorkFolder
);
...
...
cui/source/options/sdbcdriverenum.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -64,7 +64,7 @@ namespace offapp
try
{
Reference
<
XMultiServiceFactory
>
xORB
=
::
comphelper
::
getProcessServiceFactory
();
Reference
<
XInterface
>
xDM
=
xORB
->
createInstance
(
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.sdbc.DriverManager"
)
);
Reference
<
XInterface
>
xDM
=
xORB
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.sdbc.DriverManager"
)
)
);
OSL_ENSURE
(
xDM
.
is
(),
"ODriverEnumerationImpl::ODriverEnumerationImpl: no access to the SDBC driver manager!"
);
Reference
<
XEnumerationAccess
>
xEnumAccess
(
xDM
,
UNO_QUERY
);
...
...
cui/source/options/treeopt.cxx
Dosyayı görüntüle @
d3d6b5d0
...
...
@@ -1427,26 +1427,26 @@ BOOL EnableSSO( void )
::
rtl
::
Bootstrap
theBootstrap
(
theIniFile
);
rtl
::
OUString
theOfflineValue
;
rtl
::
OUString
theDefaultOfflineValue
=
rtl
::
OUString
::
createFromAscii
(
"false"
);
theBootstrap
.
getFrom
(
rtl
::
OUString
::
createFromAscii
(
"CFG_Offline"
),
rtl
::
OUString
theDefaultOfflineValue
(
RTL_CONSTASCII_USTRINGPARAM
(
"false"
)
);
theBootstrap
.
getFrom
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CFG_Offline"
)
),
theOfflineValue
,
theDefaultOfflineValue
);
rtl
::
OUString
theServerTypeValue
;
theBootstrap
.
getFrom
(
rtl
::
OUString
::
createFromAscii
(
"CFG_ServerType"
),
theBootstrap
.
getFrom
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CFG_ServerType"
)
),
theServerTypeValue
);
rtl
::
OUString
theBackendServiceTypeValue
;
theBootstrap
.
getFrom
(
rtl
::
OUString
::
createFromAscii
(
"CFG_BackendService"
),
theBootstrap
.
getFrom
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CFG_BackendService"
)
),
theBackendServiceTypeValue
);
BOOL
bSSOEnabled
=
(
theOfflineValue
==
theDefaultOfflineValue
&&
(
theServerTypeValue
.
getLength
()
==
0
||
theServerTypeValue
==
rtl
::
OUString
::
createFromAscii
(
"uno"
)
)
&&
theServerTypeValue
==
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"uno"
)
)
)
&&
theBackendServiceTypeValue
==
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.comp.configuration.backend.LdapSingleBackend"
)
);
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.configuration.backend.LdapSingleBackend"
)
)
);
if
(
bSSOEnabled
&&
GetSSOCreator
()
==
0
)
{
bSSOEnabled
=
FALSE
;
...
...
@@ -1466,7 +1466,7 @@ CreateTabPage GetSSOCreator( void )
if
(
aModule
.
loadRelative
(
&
thisModule
,
theModuleName
,
SAL_LOADMODULE_DEFAULT
)
)
{
rtl
::
OUString
theSymbolName
(
rtl
::
OUString
::
createFromAscii
(
"CreateSSOTabPage"
)
);
rtl
::
OUString
theSymbolName
(
RTL_CONSTASCII_USTRINGPARAM
(
"CreateSSOTabPage"
)
);
theSymbol
=
reinterpret_cast
<
CreateTabPage
>
(
aModule
.
getFunctionSymbol
(
theSymbolName
));
}
}
...
...
@@ -1713,8 +1713,8 @@ void OfaTreeOptionsDialog::ApplyLanguageOptions(const SfxItemSet& rSet)
}
Reference
<
XMultiServiceFactory
>
xMgr
(
::
comphelper
::
getProcessServiceFactory
()
);
Reference
<
XPropertySet
>
xProp
(
xMgr
->
createInstance
(
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.linguistic2.LinguProperties"
)
),
xMgr
->
createInstance
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.linguistic2.LinguProperties"
)
)
)
,
UNO_QUERY
);
if
(
SFX_ITEM_SET
==
rSet
.
GetItemState
(
SID_ATTR_HYPHENREGION
,
sal_False
,
&
pItem
)
)
{
...
...
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