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
4b641686
Kaydet (Commit)
4b641686
authored
Nis 13, 2012
tarafından
Olivier Hallot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More RTL_CONSTASCII_USTRINGPARAM removals
üst
0b1a0cf3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
19 deletions
+18
-19
fuformatpaintbrush.cxx
sd/source/ui/func/fuformatpaintbrush.cxx
+1
-1
fuhhconv.cxx
sd/source/ui/func/fuhhconv.cxx
+2
-3
fuinsert.cxx
sd/source/ui/func/fuinsert.cxx
+4
-4
fuinsfil.cxx
sd/source/ui/func/fuinsfil.cxx
+9
-9
fupage.cxx
sd/source/ui/func/fupage.cxx
+1
-1
futempl.cxx
sd/source/ui/func/futempl.cxx
+1
-1
No files found.
sd/source/ui/func/fuformatpaintbrush.cxx
Dosyayı görüntüle @
4b641686
...
@@ -265,7 +265,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
...
@@ -265,7 +265,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
// except in a few cases (?)
// except in a few cases (?)
if
(
pObj
)
if
(
pObj
)
{
{
String
sLabel
(
mpViewShell
->
GetViewShellBase
().
RetrieveLabelFromCommand
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
".uno:FormatPaintbrush"
)
)
)
);
rtl
::
OUString
sLabel
(
mpViewShell
->
GetViewShellBase
().
RetrieveLabelFromCommand
(
".uno:FormatPaintbrush"
)
);
mpDoc
->
BegUndo
(
sLabel
);
mpDoc
->
BegUndo
(
sLabel
);
mpDoc
->
AddUndo
(
mpDoc
->
GetSdrUndoFactory
().
CreateUndoAttrObject
(
*
pObj
,
sal_False
,
sal_True
)
);
mpDoc
->
AddUndo
(
mpDoc
->
GetSdrUndoFactory
().
CreateUndoAttrObject
(
*
pObj
,
sal_False
,
sal_True
)
);
}
}
...
...
sd/source/ui/func/fuhhconv.cxx
Dosyayı görüntüle @
4b641686
...
@@ -226,8 +226,7 @@ void FuHangulHanjaConversion::StartChineseConversion()
...
@@ -226,8 +226,7 @@ void FuHangulHanjaConversion::StartChineseConversion()
if
(
xMCF
.
is
())
if
(
xMCF
.
is
())
{
{
Reference
<
ui
::
dialogs
::
XExecutableDialog
>
xDialog
(
Reference
<
ui
::
dialogs
::
XExecutableDialog
>
xDialog
(
xMCF
->
createInstanceWithContext
(
xMCF
->
createInstanceWithContext
(
"com.sun.star.linguistic2.ChineseTranslationDialog"
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.linguistic2.ChineseTranslationDialog"
))
,
xContext
),
UNO_QUERY
);
,
xContext
),
UNO_QUERY
);
Reference
<
lang
::
XInitialization
>
xInit
(
xDialog
,
UNO_QUERY
);
Reference
<
lang
::
XInitialization
>
xInit
(
xDialog
,
UNO_QUERY
);
if
(
xInit
.
is
()
)
if
(
xInit
.
is
()
)
...
@@ -237,7 +236,7 @@ void FuHangulHanjaConversion::StartChineseConversion()
...
@@ -237,7 +236,7 @@ void FuHangulHanjaConversion::StartChineseConversion()
Sequence
<
Any
>
aSeq
(
1
);
Sequence
<
Any
>
aSeq
(
1
);
Any
*
pArray
=
aSeq
.
getArray
();
Any
*
pArray
=
aSeq
.
getArray
();
PropertyValue
aParam
;
PropertyValue
aParam
;
aParam
.
Name
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ParentWindow"
))
;
aParam
.
Name
=
"ParentWindow"
;
aParam
.
Value
<<=
makeAny
(
xDialogParentWindow
);
aParam
.
Value
<<=
makeAny
(
xDialogParentWindow
);
pArray
[
0
]
<<=
makeAny
(
aParam
);
pArray
[
0
]
<<=
makeAny
(
aParam
);
xInit
->
initialize
(
aSeq
);
xInit
->
initialize
(
aSeq
);
...
...
sd/source/ui/func/fuinsert.cxx
Dosyayı görüntüle @
4b641686
...
@@ -380,15 +380,15 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
...
@@ -380,15 +380,15 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
{
{
if
(
nSlotId
==
SID_INSERT_DIAGRAM
)
if
(
nSlotId
==
SID_INSERT_DIAGRAM
)
{
{
pOleObj
->
SetProgName
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"StarChart"
)
)
);
pOleObj
->
SetProgName
(
rtl
::
OUString
(
"StarChart"
)
);
}
}
else
if
(
nSlotId
==
SID_ATTR_TABLE
)
else
if
(
nSlotId
==
SID_ATTR_TABLE
)
{
{
pOleObj
->
SetProgName
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"StarCalc"
)
)
);
pOleObj
->
SetProgName
(
rtl
::
OUString
(
"StarCalc"
)
);
}
}
else
if
(
nSlotId
==
SID_INSERT_MATH
)
else
if
(
nSlotId
==
SID_INSERT_MATH
)
{
{
pOleObj
->
SetProgName
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"StarMath"
)
)
);
pOleObj
->
SetProgName
(
rtl
::
OUString
(
"StarMath"
)
);
}
}
pOleObj
->
SetLogicRect
(
aRect
);
pOleObj
->
SetLogicRect
(
aRect
);
...
@@ -503,7 +503,7 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
...
@@ -503,7 +503,7 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
xSup
->
getComponent
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
xSup
->
getComponent
(),
uno
::
UNO_QUERY
);
if
(
xSet
.
is
()
)
if
(
xSet
.
is
()
)
{
{
xSet
->
setPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PluginURL"
))
,
xSet
->
setPropertyValue
(
"PluginURL"
,
uno
::
makeAny
(
::
rtl
::
OUString
(
aURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
)
)
)
);
uno
::
makeAny
(
::
rtl
::
OUString
(
aURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
)
)
)
);
}
}
}
}
...
...
sd/source/ui/func/fuinsfil.cxx
Dosyayı görüntüle @
4b641686
...
@@ -120,21 +120,21 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
...
@@ -120,21 +120,21 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
SFXWB_INSERT
);
SFXWB_INSERT
);
Reference
<
XFilePicker
>
xFilePicker
(
aFileDialog
.
GetFilePicker
(),
UNO_QUERY
);
Reference
<
XFilePicker
>
xFilePicker
(
aFileDialog
.
GetFilePicker
(),
UNO_QUERY
);
Reference
<
XFilterManager
>
xFilterManager
(
xFilePicker
,
UNO_QUERY
);
Reference
<
XFilterManager
>
xFilterManager
(
xFilePicker
,
UNO_QUERY
);
String
aOwnCont
;
rtl
::
OU
String
aOwnCont
;
String
aOtherCont
;
rtl
::
OU
String
aOtherCont
;
const
SfxFilter
*
pFilter
=
NULL
;
const
SfxFilter
*
pFilter
=
NULL
;
aFileDialog
.
SetTitle
(
String
(
SdResId
(
STR_DLG_INSERT_PAGES_FROM_FILE
)
)
);
aFileDialog
.
SetTitle
(
String
(
SdResId
(
STR_DLG_INSERT_PAGES_FROM_FILE
)
)
);
if
(
mpDoc
->
GetDocumentType
()
==
DOCUMENT_TYPE_IMPRESS
)
if
(
mpDoc
->
GetDocumentType
()
==
DOCUMENT_TYPE_IMPRESS
)
{
{
aOwnCont
=
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"simpress"
)
)
;
aOwnCont
=
"simpress"
;
aOtherCont
=
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"sdraw"
)
)
;
aOtherCont
=
"sdraw"
;
}
}
else
else
{
{
aOtherCont
=
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"simpress"
)
)
;
aOtherCont
=
"simpress"
;
aOwnCont
=
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"sdraw"
)
)
;
aOwnCont
=
"sdraw"
;
}
}
SfxFilterMatcher
aMatch
(
aOwnCont
);
SfxFilterMatcher
aMatch
(
aOwnCont
);
...
@@ -752,13 +752,13 @@ void FuInsertFile::GetSupportedFilterVector( ::std::vector< OUString >& rFilterV
...
@@ -752,13 +752,13 @@ void FuInsertFile::GetSupportedFilterVector( ::std::vector< OUString >& rFilterV
rFilterVector
.
clear
();
rFilterVector
.
clear
();
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"text/plain"
)
)
)
)
!=
NULL
)
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
"text/plain"
)
)
!=
NULL
)
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"application/rtf"
)
)
)
)
!=
NULL
)
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
"application/rtf"
)
)
!=
NULL
)
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"text/html"
)
)
)
)
!=
NULL
)
if
(
(
pSearchFilter
=
rMatcher
.
GetFilter4Mime
(
"text/html"
)
)
!=
NULL
)
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
rFilterVector
.
push_back
(
pSearchFilter
->
GetMimeType
()
);
}
}
...
...
sd/source/ui/func/fupage.cxx
Dosyayı görüntüle @
4b641686
...
@@ -312,7 +312,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
...
@@ -312,7 +312,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
// MigrateItemSet makes sure the XFillBitmapItem will have a unique name
// MigrateItemSet makes sure the XFillBitmapItem will have a unique name
SfxItemSet
aMigrateSet
(
mpDoc
->
GetPool
(),
XATTR_FILLBITMAP
,
XATTR_FILLBITMAP
);
SfxItemSet
aMigrateSet
(
mpDoc
->
GetPool
(),
XATTR_FILLBITMAP
,
XATTR_FILLBITMAP
);
aMigrateSet
.
Put
(
XFillBitmapItem
(
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"background"
))
,
XOBitmap
(
aGraphic
)
)
);
aMigrateSet
.
Put
(
XFillBitmapItem
(
rtl
::
OUString
(
"background"
)
,
XOBitmap
(
aGraphic
)
)
);
mpDoc
->
MigrateItemSet
(
&
aMigrateSet
,
pTempSet
.
get
(),
NULL
);
mpDoc
->
MigrateItemSet
(
&
aMigrateSet
,
pTempSet
.
get
(),
NULL
);
pTempSet
->
Put
(
XFillBmpStretchItem
(
sal_True
));
pTempSet
->
Put
(
XFillBmpStretchItem
(
sal_True
));
...
...
sd/source/ui/func/futempl.cxx
Dosyayı görüntüle @
4b641686
...
@@ -161,7 +161,7 @@ void FuTemplate::DoExecute( SfxRequest& rReq )
...
@@ -161,7 +161,7 @@ void FuTemplate::DoExecute( SfxRequest& rReq )
Reference
<
XPropertySet
>
xInfo
(
xStyles
->
getByName
(
pNameItem
->
GetValue
()
),
UNO_QUERY_THROW
);
Reference
<
XPropertySet
>
xInfo
(
xStyles
->
getByName
(
pNameItem
->
GetValue
()
),
UNO_QUERY_THROW
);
OUString
aUIName
;
OUString
aUIName
;
xInfo
->
getPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"DisplayName"
))
)
>>=
aUIName
;
xInfo
->
getPropertyValue
(
"DisplayName"
)
>>=
aUIName
;
if
(
!
aUIName
.
isEmpty
()
)
if
(
!
aUIName
.
isEmpty
()
)
rReq
.
AppendItem
(
SfxStringItem
(
nSId
,
aUIName
)
);
rReq
.
AppendItem
(
SfxStringItem
(
nSId
,
aUIName
)
);
}
}
...
...
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