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
e2af2334
Kaydet (Commit)
e2af2334
authored
Eki 08, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/r*.hxx from String to OUString
Change-Id: I276fdfe7ddd6cc0daa0ca7d6f51342fea718af8e
üst
04d44292
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
39 deletions
+39
-39
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+2
-2
redlndlg.hxx
sw/source/ui/inc/redlndlg.hxx
+13
-13
regionsw.hxx
sw/source/ui/inc/regionsw.hxx
+4
-4
redlndlg.cxx
sw/source/ui/misc/redlndlg.cxx
+20
-20
No files found.
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
e2af2334
...
...
@@ -539,7 +539,7 @@ SwEditRegionDlg::~SwEditRegionDlg( )
delete
m_pDocInserter
;
}
void
SwEditRegionDlg
::
SelectSection
(
const
String
&
rSectionName
)
void
SwEditRegionDlg
::
SelectSection
(
const
OU
String
&
rSectionName
)
{
SvTreeListEntry
*
pEntry
=
m_pTree
->
First
();
while
(
pEntry
)
...
...
@@ -1604,7 +1604,7 @@ void SwInsertSectionTabPage::SetWrtShell(SwWrtShell& rSh)
m_pProtectCB
->
Check
(
0
!=
pSectionData
->
IsProtectFlag
()
);
m_sFileName
=
pSectionData
->
GetLinkFileName
();
m_sFilePasswd
=
pSectionData
->
GetLinkFilePassword
();
m_pFileCB
->
Check
(
0
!=
m_sFileName
.
Len
()
);
m_pFileCB
->
Check
(
!
m_sFileName
.
isEmpty
()
);
m_pFileNameED
->
SetText
(
m_sFileName
);
UseFileHdl
(
m_pFileCB
);
}
...
...
sw/source/ui/inc/redlndlg.hxx
Dosyayı görüntüle @
e2af2334
...
...
@@ -45,8 +45,8 @@ struct SwRedlineDataParent
{
const
SwRedlineData
*
pData
;
// RedlineDataPtr
const
SwRedlineDataChild
*
pNext
;
// link to stacked data
SvTreeListEntry
*
pTLBParent
;
// corresponding TreeListBox entry
String
sComment
;
// redline comment
SvTreeListEntry
*
pTLBParent
;
// corresponding TreeListBox entry
OUString
sComment
;
// redline comment
inline
sal_Bool
operator
==
(
const
SwRedlineDataParent
&
rObj
)
const
{
return
(
pData
&&
pData
->
GetSeqNo
()
==
rObj
.
pData
->
GetSeqNo
());
}
...
...
@@ -76,13 +76,13 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg
PopupMenu
aPopup
;
Timer
aDeselectTimer
;
Timer
aSelectTimer
;
String
sInserted
;
String
sDeleted
;
String
sFormated
;
String
sTableChgd
;
String
sFmtCollSet
;
String
sFilterAction
;
String
sAutoFormat
;
OUString
sInserted
;
OUString
sDeleted
;
OUString
sFormated
;
OUString
sTableChgd
;
OUString
sFmtCollSet
;
OUString
sFilterAction
;
OUString
sAutoFormat
;
SvxTPView
*
pTPView
;
SvxRedlinTable
*
pTable
;
// PB 2006/02/02 #i48648 now SvHeaderTabListBox
Link
aOldSelectHdl
;
...
...
@@ -110,9 +110,9 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg
SW_DLLPRIVATE
void
RemoveParents
(
sal_uInt16
nStart
,
sal_uInt16
nEnd
);
SW_DLLPRIVATE
void
InitAuthors
();
SW_DLLPRIVATE
String
GetRedlineText
(
const
SwRedline
&
rRedln
,
DateTime
&
rDateTime
,
sal_uInt16
nStack
=
0
);
SW_DLLPRIVATE
const
String
&
GetActionText
(
const
SwRedline
&
rRedln
,
sal_uInt16
nStack
=
0
);
SW_DLLPRIVATE
sal_uInt16
GetRedlinePos
(
const
SvTreeListEntry
&
rEntry
)
const
;
SW_DLLPRIVATE
OUString
GetRedlineText
(
const
SwRedline
&
rRedln
,
DateTime
&
rDateTime
,
sal_uInt16
nStack
=
0
);
SW_DLLPRIVATE
OUString
GetActionText
(
const
SwRedline
&
rRedln
,
sal_uInt16
nStack
=
0
);
SW_DLLPRIVATE
sal_uInt16
GetRedlinePos
(
const
SvTreeListEntry
&
rEntry
)
const
;
public
:
SwRedlineAcceptDlg
(
Dialog
*
pParent
,
sal_Bool
bAutoFmt
=
sal_False
);
...
...
@@ -126,7 +126,7 @@ public:
void
Init
(
sal_uInt16
nStart
=
0
);
void
CallAcceptReject
(
sal_Bool
bSelect
,
sal_Bool
bAccept
);
void
Initialize
(
const
String
&
rExtraData
);
void
Initialize
(
const
OU
String
&
rExtraData
);
void
FillInfo
(
OUString
&
rExtraData
)
const
;
virtual
void
Activate
();
...
...
sw/source/ui/inc/regionsw.hxx
Dosyayı görüntüle @
e2af2334
...
...
@@ -135,7 +135,7 @@ public:
SwEditRegionDlg
(
Window
*
pParent
,
SwWrtShell
&
rWrtSh
);
virtual
~
SwEditRegionDlg
();
void
SelectSection
(
const
String
&
rSectionName
);
void
SelectSection
(
const
OU
String
&
rSectionName
);
};
...
...
@@ -166,9 +166,9 @@ class SwInsertSectionTabPage : public SfxTabPage
// #114856# edit in readonly sections
CheckBox
*
m_pEditInReadonlyCB
;
String
m_sFileName
;
String
m_sFilterName
;
String
m_sFilePasswd
;
OUString
m_sFileName
;
OUString
m_sFilterName
;
OUString
m_sFilePasswd
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
m_aNewPasswd
;
SwWrtShell
*
m_pWrtSh
;
...
...
sw/source/ui/misc/redlndlg.cxx
Dosyayı görüntüle @
e2af2334
...
...
@@ -312,26 +312,26 @@ void SwRedlineAcceptDlg::InitAuthors()
!
bOnlyFormatedRedlines
);
}
String
SwRedlineAcceptDlg
::
GetRedlineText
(
const
SwRedline
&
rRedln
,
OU
String
SwRedlineAcceptDlg
::
GetRedlineText
(
const
SwRedline
&
rRedln
,
DateTime
&
rDateTime
,
sal_uInt16
nStack
)
{
String
sEntry
(
GetActionText
(
rRedln
,
nStack
));
sEntry
+=
'\t'
;
OU
String
sEntry
(
GetActionText
(
rRedln
,
nStack
));
sEntry
+=
"
\t
"
;
sEntry
+=
rRedln
.
GetAuthorString
(
nStack
);
sEntry
+=
'\t'
;
sEntry
+=
"
\t
"
;
const
DateTime
&
rDT
=
rRedln
.
GetTimeStamp
(
nStack
);
rDateTime
=
rDT
;
sEntry
+=
GetAppLangDateTimeString
(
rDT
);
sEntry
+=
'\t'
;
sEntry
+=
"
\t
"
;
sEntry
+=
rRedln
.
GetComment
(
nStack
);
return
sEntry
;
}
const
String
&
SwRedlineAcceptDlg
::
GetActionText
(
const
SwRedline
&
rRedln
,
sal_uInt16
nStack
)
OUString
SwRedlineAcceptDlg
::
GetActionText
(
const
SwRedline
&
rRedln
,
sal_uInt16
nStack
)
{
switch
(
rRedln
.
GetType
(
nStack
)
)
{
...
...
@@ -343,7 +343,7 @@ const String &SwRedlineAcceptDlg::GetActionText(const SwRedline& rRedln, sal_uIn
default
:
;
//prevent warning
}
return
aEmptyStr
;
return
OUString
()
;
}
/*--------------------------------------------------------------------
...
...
@@ -534,8 +534,8 @@ void SwRedlineAcceptDlg::InsertChildren(SwRedlineDataParent *pParent, const SwRe
const
SwRedlineData
*
pRedlineData
=
&
rRedln
.
GetRedlineData
();
bool
bAutoFmt
=
(
rRedln
.
GetRealType
()
&
nAutoFmt
)
!=
0
;
const
String
*
pAction
=
&
GetActionText
(
rRedln
);
sal_Bool
bValidParent
=
!
sFilterAction
.
Len
()
||
sFilterAction
==
*
p
Action
;
OUString
sAction
=
GetActionText
(
rRedln
);
sal_Bool
bValidParent
=
sFilterAction
.
isEmpty
()
||
sFilterAction
==
s
Action
;
bValidParent
=
bValidParent
&&
pTable
->
IsValidEntry
(
rRedln
.
GetAuthorString
(),
rRedln
.
GetTimeStamp
(),
rRedln
.
GetComment
());
if
(
nAutoFmt
)
{
...
...
@@ -573,8 +573,8 @@ void SwRedlineAcceptDlg::InsertChildren(SwRedlineDataParent *pParent, const SwRe
else
pParent
->
pNext
=
pRedlineChild
;
pAction
=
&
GetActionText
(
rRedln
,
nStack
);
sal_Bool
bValidChild
=
!
sFilterAction
.
Len
()
||
sFilterAction
==
*
p
Action
;
sAction
=
GetActionText
(
rRedln
,
nStack
);
sal_Bool
bValidChild
=
sFilterAction
.
isEmpty
()
||
sFilterAction
==
s
Action
;
bValidChild
=
bValidChild
&&
pTable
->
IsValidEntry
(
rRedln
.
GetAuthorString
(
nStack
),
rRedln
.
GetTimeStamp
(
nStack
),
rRedln
.
GetComment
());
if
(
nAutoFmt
)
bValidChild
=
bValidChild
&&
bAutoFmt
;
...
...
@@ -1156,24 +1156,24 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, CommandHdl)
return
0
;
}
void
SwRedlineAcceptDlg
::
Initialize
(
const
String
&
rExtraData
)
void
SwRedlineAcceptDlg
::
Initialize
(
const
OU
String
&
rExtraData
)
{
if
(
rExtraData
.
Len
())
if
(
!
rExtraData
.
isEmpty
())
{
sal_
uInt16
nPos
=
rExtraData
.
Search
(
OUString
(
"AcceptChgDat:"
)
);
sal_
Int32
nPos
=
rExtraData
.
indexOf
(
"AcceptChgDat:"
);
// try to read the alignment string "ALIGN:(...)"; if none existing,
// it's an old version
if
(
nPos
!=
STRING_NOTFOUND
)
if
(
nPos
!=
-
1
)
{
sal_
uInt16
n1
=
rExtraData
.
Search
(
'('
,
nPos
);
if
(
n1
!=
STRING_NOTFOUND
)
sal_
Int32
n1
=
rExtraData
.
indexOf
(
'('
,
nPos
);
if
(
n1
!=
-
1
)
{
sal_
uInt16
n2
=
rExtraData
.
Search
(
')'
,
n1
);
if
(
n2
!=
STRING_NOTFOUND
)
sal_
Int32
n2
=
rExtraData
.
indexOf
(
')'
,
n1
);
if
(
n2
!=
-
1
)
{
// cut out the alignment string
String
aStr
=
rExtraData
.
C
opy
(
nPos
,
n2
-
nPos
+
1
);
String
aStr
=
rExtraData
.
c
opy
(
nPos
,
n2
-
nPos
+
1
);
aStr
.
Erase
(
0
,
n1
-
nPos
+
1
);
if
(
aStr
.
Len
())
...
...
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