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
93a25661
Kaydet (Commit)
93a25661
authored
Agu 28, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sfx2/source/inc/templdgi.hxx from String to OUString
Change-Id: Iabd69d07c0d6e13e969bcedddf75506123074f34
üst
bde81bfa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
templdlg.cxx
sfx2/source/dialog/templdlg.cxx
+9
-9
templdgi.hxx
sfx2/source/inc/templdgi.hxx
+3
-3
No files found.
sfx2/source/dialog/templdlg.cxx
Dosyayı görüntüle @
93a25661
...
...
@@ -1119,7 +1119,7 @@ SfxStyleSheetBase *SfxCommonTemplateDialog_Impl::GetSelectedStyle() const
//-------------------------------------------------------------------------
void
SfxCommonTemplateDialog_Impl
::
SelectStyle
(
const
String
&
rStr
)
void
SfxCommonTemplateDialog_Impl
::
SelectStyle
(
const
OU
String
&
rStr
)
{
const
SfxStyleFamilyItem
*
pItem
=
GetFamilyItem_Impl
();
if
(
!
pItem
)
...
...
@@ -1142,7 +1142,7 @@ void SfxCommonTemplateDialog_Impl::SelectStyle(const String &rStr)
if
(
pTreeBox
)
{
if
(
rStr
.
Len
()
)
if
(
!
rStr
.
isEmpty
()
)
{
SvTreeListEntry
*
pEntry
=
pTreeBox
->
First
();
while
(
pEntry
)
...
...
@@ -1161,7 +1161,7 @@ void SfxCommonTemplateDialog_Impl::SelectStyle(const String &rStr)
}
else
{
sal_Bool
bSelect
=
(
rStr
.
Len
()
>
0
);
sal_Bool
bSelect
=
!
rStr
.
isEmpty
(
);
if
(
bSelect
)
{
SvTreeListEntry
*
pEntry
=
(
SvTreeListEntry
*
)
aFmtLb
.
FirstVisible
();
...
...
@@ -1194,9 +1194,9 @@ void SfxCommonTemplateDialog_Impl::SelectStyle(const String &rStr)
//-------------------------------------------------------------------------
String
SfxCommonTemplateDialog_Impl
::
GetSelectedEntry
()
const
OU
String
SfxCommonTemplateDialog_Impl
::
GetSelectedEntry
()
const
{
String
aRet
;
OU
String
aRet
;
if
(
pTreeBox
)
{
SvTreeListEntry
*
pEntry
=
pTreeBox
->
FirstSelected
();
...
...
@@ -1748,7 +1748,7 @@ void SfxCommonTemplateDialog_Impl::FilterSelect(
// Internal: Perform functions through the Dispatcher
sal_Bool
SfxCommonTemplateDialog_Impl
::
Execute_Impl
(
sal_uInt16
nId
,
const
String
&
rStr
,
const
String
&
rRefStr
,
sal_uInt16
nFamily
,
sal_uInt16
nId
,
const
OUString
&
rStr
,
const
OU
String
&
rRefStr
,
sal_uInt16
nFamily
,
sal_uInt16
nMask
,
sal_uInt16
*
pIdx
,
const
sal_uInt16
*
pModifier
)
{
SfxDispatcher
&
rDispatcher
=
*
SFX_APP
()
->
GetDispatcher_Impl
();
...
...
@@ -1759,7 +1759,7 @@ sal_Bool SfxCommonTemplateDialog_Impl::Execute_Impl(
SfxStringItem
aRefName
(
SID_STYLE_REFERENCE
,
rRefStr
);
const
SfxPoolItem
*
pItems
[
6
];
sal_uInt16
nCount
=
0
;
if
(
rStr
.
Len
()
)
if
(
!
rStr
.
isEmpty
()
)
pItems
[
nCount
++
]
=
&
aItem
;
pItems
[
nCount
++
]
=
&
aFamily
;
if
(
nMask
)
...
...
@@ -1772,7 +1772,7 @@ sal_Bool SfxCommonTemplateDialog_Impl::Execute_Impl(
pItems
[
nCount
++
]
=
&
aUpdName
;
}
if
(
rRefStr
.
Len
()
)
if
(
!
rRefStr
.
isEmpty
()
)
pItems
[
nCount
++
]
=
&
aRefName
;
pItems
[
nCount
++
]
=
0
;
...
...
@@ -2283,7 +2283,7 @@ IMPL_LINK( SfxCommonTemplateDialog_Impl, ApplyHdl, Control *, pControl )
(
void
)
pControl
;
//unused
// only if that region is allowed
if
(
IsInitialized
()
&&
0
!=
pFamilyState
[
nActFamily
-
1
]
&&
GetSelectedEntry
().
Len
()
)
!
GetSelectedEntry
().
isEmpty
()
)
{
sal_uInt16
nModifier
=
aFmtLb
.
GetModifier
();
Execute_Impl
(
SID_STYLE_APPLY
,
...
...
sfx2/source/inc/templdgi.hxx
Dosyayı görüntüle @
93a25661
...
...
@@ -191,7 +191,7 @@ protected:
void
HideHdl
(
void
*
);
void
ShowHdl
(
void
*
);
sal_Bool
Execute_Impl
(
sal_uInt16
nId
,
const
String
&
rStr
,
const
String
&
rRefStr
,
sal_Bool
Execute_Impl
(
sal_uInt16
nId
,
const
OUString
&
rStr
,
const
OU
String
&
rRefStr
,
sal_uInt16
nFamily
,
sal_uInt16
nMask
=
0
,
sal_uInt16
*
pIdx
=
NULL
,
const
sal_uInt16
*
pModifier
=
NULL
);
...
...
@@ -207,7 +207,7 @@ protected:
void
SetFamilyState
(
sal_uInt16
nSlotId
,
const
SfxTemplateItem
*
);
void
SetWaterCanState
(
const
SfxBoolItem
*
pItem
);
void
SelectStyle
(
const
String
&
rStyle
);
void
SelectStyle
(
const
OU
String
&
rStyle
);
sal_Bool
HasSelectedStyle
()
const
;
SfxStyleSheetBase
*
GetSelectedStyle
()
const
;
void
FillTreeBox
();
...
...
@@ -249,7 +249,7 @@ public:
void
ExecuteContextMenu_Impl
(
const
Point
&
rPos
,
Window
*
pWin
);
void
EnableExample_Impl
(
sal_uInt16
nId
,
sal_Bool
bEnable
);
SfxStyleFamily
GetActualFamily
()
const
;
String
GetSelectedEntry
()
const
;
OUString
GetSelectedEntry
()
const
;
SfxObjectShell
*
GetObjectShell
()
const
{
return
pCurObjShell
;
}
virtual
void
PrepareDeleteAction
();
// disable buttons, change button text, etc. when del is going to happen
...
...
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