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
81f5c65f
Kaydet (Commit)
81f5c65f
authored
Eki 31, 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 SVTOOLS module
Change-Id: Iad58b125f16226cc6afa9d88d2c792065bbc244f
üst
913b4e7d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
21 deletions
+21
-21
extcolorcfg.cxx
svtools/source/config/extcolorcfg.cxx
+3
-3
fileview.cxx
svtools/source/contnr/fileview.cxx
+3
-3
templwin.cxx
svtools/source/contnr/templwin.cxx
+5
-5
exportdialog.cxx
svtools/source/filter/exportdialog.cxx
+3
-3
langhelp.cxx
svtools/source/misc/langhelp.cxx
+3
-3
unoimap.cxx
svtools/source/uno/unoimap.cxx
+4
-4
No files found.
svtools/source/config/extcolorcfg.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -295,7 +295,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme)
...
@@ -295,7 +295,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme)
{
{
//detect current scheme name
//detect current scheme name
uno
::
Sequence
<
OUString
>
aCurrent
(
1
);
uno
::
Sequence
<
OUString
>
aCurrent
(
1
);
aCurrent
.
getArray
()[
0
]
=
OUString
(
"ExtendedColorScheme/CurrentColorScheme"
)
;
aCurrent
.
getArray
()[
0
]
=
"ExtendedColorScheme/CurrentColorScheme"
;
uno
::
Sequence
<
uno
::
Any
>
aCurrentVal
=
GetProperties
(
aCurrent
);
uno
::
Sequence
<
uno
::
Any
>
aCurrentVal
=
GetProperties
(
aCurrent
);
aCurrentVal
.
getConstArray
()[
0
]
>>=
sScheme
;
aCurrentVal
.
getConstArray
()[
0
]
>>=
sScheme
;
}
// if(!sScheme.getLength())
}
// if(!sScheme.getLength())
...
@@ -312,7 +312,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme)
...
@@ -312,7 +312,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme)
}
}
if
(
m_sLoadedScheme
.
isEmpty
()
)
if
(
m_sLoadedScheme
.
isEmpty
()
)
m_sLoadedScheme
=
OUString
(
"default"
)
;
m_sLoadedScheme
=
"default"
;
if
(
sScheme
!=
"default"
)
if
(
sScheme
!=
"default"
)
{
{
...
@@ -461,7 +461,7 @@ void ExtendedColorConfig_Impl::CommitCurrentSchemeName()
...
@@ -461,7 +461,7 @@ void ExtendedColorConfig_Impl::CommitCurrentSchemeName()
{
{
//save current scheme name
//save current scheme name
uno
::
Sequence
<
OUString
>
aCurrent
(
1
);
uno
::
Sequence
<
OUString
>
aCurrent
(
1
);
aCurrent
.
getArray
()[
0
]
=
OUString
(
"ExtendedColorScheme/CurrentColorScheme"
)
;
aCurrent
.
getArray
()[
0
]
=
"ExtendedColorScheme/CurrentColorScheme"
;
uno
::
Sequence
<
uno
::
Any
>
aCurrentVal
(
1
);
uno
::
Sequence
<
uno
::
Any
>
aCurrentVal
(
1
);
aCurrentVal
.
getArray
()[
0
]
<<=
m_sLoadedScheme
;
aCurrentVal
.
getArray
()[
0
]
<<=
m_sLoadedScheme
;
PutProperties
(
aCurrent
,
aCurrentVal
);
PutProperties
(
aCurrent
,
aCurrentVal
);
...
...
svtools/source/contnr/fileview.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -712,7 +712,7 @@ IMPL_LINK_NOARG(ViewTabListBox_Impl, ResetQuickSearch_Impl)
...
@@ -712,7 +712,7 @@ IMPL_LINK_NOARG(ViewTabListBox_Impl, ResetQuickSearch_Impl)
{
{
::
osl
::
MutexGuard
aGuard
(
maMutex
);
::
osl
::
MutexGuard
aGuard
(
maMutex
);
maQuickSearchText
=
OUString
()
;
maQuickSearchText
=
""
;
mnSearchIndex
=
0
;
mnSearchIndex
=
0
;
return
0
;
return
0
;
...
@@ -977,7 +977,7 @@ sal_Bool ViewTabListBox_Impl::EditedEntry( SvTreeListEntry* pEntry,
...
@@ -977,7 +977,7 @@ sal_Bool ViewTabListBox_Impl::EditedEntry( SvTreeListEntry* pEntry,
SvtContentEntry
*
pData
=
(
SvtContentEntry
*
)
pEntry
->
GetUserData
();
SvtContentEntry
*
pData
=
(
SvtContentEntry
*
)
pEntry
->
GetUserData
();
if
(
pData
)
if
(
pData
)
aURL
=
OUString
(
pData
->
maURL
)
;
aURL
=
pData
->
maURL
;
if
(
aURL
.
isEmpty
()
)
if
(
aURL
.
isEmpty
()
)
return
bRet
;
return
bRet
;
...
@@ -1703,7 +1703,7 @@ SvtFileView_Impl::SvtFileView_Impl( SvtFileView* pAntiImpl, Reference < XCommand
...
@@ -1703,7 +1703,7 @@ SvtFileView_Impl::SvtFileView_Impl( SvtFileView* pAntiImpl, Reference < XCommand
,
mxCmdEnv
(
xEnv
)
,
mxCmdEnv
(
xEnv
)
{
{
maAllFilter
=
OUString
(
"*.*"
)
;
maAllFilter
=
"*.*"
;
mpView
=
new
ViewTabListBox_Impl
(
mpAntiImpl
,
this
,
nFlags
);
mpView
=
new
ViewTabListBox_Impl
(
mpAntiImpl
,
this
,
nFlags
);
mpView
->
EnableCellFocus
();
mpView
->
EnableCellFocus
();
}
}
...
...
svtools/source/contnr/templwin.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -647,7 +647,7 @@ void SvtFrameWindow_Impl::ShowDocInfo( const OUString& rURL )
...
@@ -647,7 +647,7 @@ void SvtFrameWindow_Impl::ShowDocInfo( const OUString& rURL )
uno
::
Reference
<
task
::
XInteractionHandler2
>
xInteractionHandler
(
uno
::
Reference
<
task
::
XInteractionHandler2
>
xInteractionHandler
(
task
::
InteractionHandler
::
createWithParent
(
::
comphelper
::
getProcessComponentContext
(),
0
)
);
task
::
InteractionHandler
::
createWithParent
(
::
comphelper
::
getProcessComponentContext
(),
0
)
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aProps
(
1
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aProps
(
1
);
aProps
[
0
].
Name
=
OUString
(
"InteractionHandler"
)
;
aProps
[
0
].
Name
=
"InteractionHandler"
;
aProps
[
0
].
Value
<<=
xInteractionHandler
;
aProps
[
0
].
Value
<<=
xInteractionHandler
;
m_xDocProps
->
loadFromMedium
(
rURL
,
aProps
);
m_xDocProps
->
loadFromMedium
(
rURL
,
aProps
);
pEditWin
->
fill
(
m_xDocProps
,
rURL
);
pEditWin
->
fill
(
m_xDocProps
,
rURL
);
...
@@ -728,7 +728,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
...
@@ -728,7 +728,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
uno
::
Reference
<
task
::
XInteractionHandler2
>
xInteractionHandler
(
uno
::
Reference
<
task
::
XInteractionHandler2
>
xInteractionHandler
(
task
::
InteractionHandler
::
createWithParent
(
::
comphelper
::
getProcessComponentContext
(),
0
)
);
task
::
InteractionHandler
::
createWithParent
(
::
comphelper
::
getProcessComponentContext
(),
0
)
);
aArgs
[
3
].
Name
=
OUString
(
"InteractionHandler"
)
;
aArgs
[
3
].
Name
=
"InteractionHandler"
;
aArgs
[
3
].
Value
<<=
xInteractionHandler
;
aArgs
[
3
].
Value
<<=
xInteractionHandler
;
b
=
sal_False
;
b
=
sal_False
;
...
@@ -748,7 +748,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
...
@@ -748,7 +748,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
{
{
m_xFrame
->
setComponent
(
Reference
<
com
::
sun
::
star
::
awt
::
XWindow
>
(),
Reference
<
XController
>
()
);
m_xFrame
->
setComponent
(
Reference
<
com
::
sun
::
star
::
awt
::
XWindow
>
(),
Reference
<
XController
>
()
);
ViewEmptyWin
();
ViewEmptyWin
();
m_aOpenURL
=
OUString
()
;
m_aOpenURL
=
""
;
}
}
else
else
m_aOpenURL
=
aDispURL
;
m_aOpenURL
=
aDispURL
;
...
@@ -761,13 +761,13 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
...
@@ -761,13 +761,13 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
aArgs
[
0
].
Name
=
"AsTemplate"
;
aArgs
[
0
].
Name
=
"AsTemplate"
;
aArgs
[
0
].
Value
<<=
bAsTemplate
;
aArgs
[
0
].
Value
<<=
bAsTemplate
;
xDisp
->
dispatch
(
aURL
,
aArgs
);
xDisp
->
dispatch
(
aURL
,
aArgs
);
m_aOpenURL
=
OUString
()
;
m_aOpenURL
=
""
;
}
}
else
else
{
{
Sequence
<
PropertyValue
>
aArgs
;
Sequence
<
PropertyValue
>
aArgs
;
xDisp
->
dispatch
(
aURL
,
aArgs
);
xDisp
->
dispatch
(
aURL
,
aArgs
);
m_aOpenURL
=
OUString
()
;
m_aOpenURL
=
""
;
}
}
}
}
}
}
...
...
svtools/source/filter/exportdialog.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -460,11 +460,11 @@ sal_Bool ExportDialog::GetGraphicStream()
...
@@ -460,11 +460,11 @@ sal_Bool ExportDialog::GetGraphicStream()
OUString
sFormat
(
maExt
);
OUString
sFormat
(
maExt
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aDescriptor
(
3
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aDescriptor
(
3
);
aDescriptor
[
0
].
Name
=
OUString
(
"OutputStream"
)
;
aDescriptor
[
0
].
Name
=
"OutputStream"
;
aDescriptor
[
0
].
Value
<<=
xOutputStream
;
aDescriptor
[
0
].
Value
<<=
xOutputStream
;
aDescriptor
[
1
].
Name
=
OUString
(
"FilterName"
)
;
aDescriptor
[
1
].
Name
=
"FilterName"
;
aDescriptor
[
1
].
Value
<<=
sFormat
;
aDescriptor
[
1
].
Value
<<=
sFormat
;
aDescriptor
[
2
].
Name
=
OUString
(
"FilterData"
)
;
aDescriptor
[
2
].
Name
=
"FilterData"
;
aDescriptor
[
2
].
Value
<<=
aNewFilterData
;
aDescriptor
[
2
].
Value
<<=
aNewFilterData
;
uno
::
Reference
<
lang
::
XComponent
>
xSourceDoc
;
uno
::
Reference
<
lang
::
XComponent
>
xSourceDoc
;
...
...
svtools/source/misc/langhelp.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -19,14 +19,14 @@ void localizeWebserviceURI( OUString& rURI )
...
@@ -19,14 +19,14 @@ void localizeWebserviceURI( OUString& rURI )
if
(
aLang
.
equalsIgnoreAsciiCase
(
"pt"
)
if
(
aLang
.
equalsIgnoreAsciiCase
(
"pt"
)
&&
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"br"
)
)
&&
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"br"
)
)
{
{
aLang
=
OUString
(
"pt-br"
)
;
aLang
=
"pt-br"
;
}
}
if
(
aLang
.
equalsIgnoreAsciiCase
(
"zh"
)
)
if
(
aLang
.
equalsIgnoreAsciiCase
(
"zh"
)
)
{
{
if
(
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"cn"
)
)
if
(
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"cn"
)
)
aLang
=
OUString
(
"zh-cn"
)
;
aLang
=
"zh-cn"
;
if
(
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"tw"
)
)
if
(
Application
::
GetSettings
().
GetUILanguageTag
().
getCountry
().
equalsIgnoreAsciiCase
(
"tw"
)
)
aLang
=
OUString
(
"zh-tw"
)
;
aLang
=
"zh-tw"
;
}
}
rURI
+=
aLang
;
rURI
+=
aLang
;
...
...
svtools/source/uno/unoimap.cxx
Dosyayı görüntüle @
81f5c65f
...
@@ -393,18 +393,18 @@ Sequence< OUString > SAL_CALL SvUnoImageMapObject::getSupportedServiceNames()
...
@@ -393,18 +393,18 @@ Sequence< OUString > SAL_CALL SvUnoImageMapObject::getSupportedServiceNames()
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
Sequence
<
OUString
>
aSNS
(
2
);
Sequence
<
OUString
>
aSNS
(
2
);
aSNS
.
getArray
()[
0
]
=
OUString
(
"com.sun.star.image.ImageMapObject"
)
;
aSNS
.
getArray
()[
0
]
=
"com.sun.star.image.ImageMapObject"
;
switch
(
mnType
)
switch
(
mnType
)
{
{
case
IMAP_OBJ_POLYGON
:
case
IMAP_OBJ_POLYGON
:
default
:
default
:
aSNS
.
getArray
()[
1
]
=
OUString
(
"com.sun.star.image.ImageMapPolygonObject"
)
;
aSNS
.
getArray
()[
1
]
=
"com.sun.star.image.ImageMapPolygonObject"
;
break
;
break
;
case
IMAP_OBJ_RECTANGLE
:
case
IMAP_OBJ_RECTANGLE
:
aSNS
.
getArray
()[
1
]
=
OUString
(
"com.sun.star.image.ImageMapRectangleObject"
)
;
aSNS
.
getArray
()[
1
]
=
"com.sun.star.image.ImageMapRectangleObject"
;
break
;
break
;
case
IMAP_OBJ_CIRCLE
:
case
IMAP_OBJ_CIRCLE
:
aSNS
.
getArray
()[
1
]
=
OUString
(
"com.sun.star.image.ImageMapCircleObject"
)
;
aSNS
.
getArray
()[
1
]
=
"com.sun.star.image.ImageMapCircleObject"
;
break
;
break
;
}
}
return
aSNS
;
return
aSNS
;
...
...
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