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
e8d04825
Kaydet (Commit)
e8d04825
authored
Eki 09, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/g*.hxx from String to OUString
Change-Id: I612c4f99349eea8efceb5cd83a2533f478b74d39
üst
d57c0f79
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
30 deletions
+31
-30
edtwin.cxx
sw/source/ui/docvw/edtwin.cxx
+5
-4
glosbib.hxx
sw/source/ui/inc/glosbib.hxx
+5
-5
gloslst.hxx
sw/source/ui/inc/gloslst.hxx
+2
-2
glshell.hxx
sw/source/ui/inc/glshell.hxx
+14
-14
glosbib.cxx
sw/source/ui/misc/glosbib.cxx
+2
-2
gloslst.cxx
sw/source/ui/utlui/gloslst.cxx
+3
-3
No files found.
sw/source/ui/docvw/edtwin.cxx
Dosyayı görüntüle @
e8d04825
...
@@ -2516,12 +2516,12 @@ KEYINPUT_CHECKTABLE_INSDEL:
...
@@ -2516,12 +2516,12 @@ KEYINPUT_CHECKTABLE_INSDEL:
// replace the word or abbreviation with the auto text
// replace the word or abbreviation with the auto text
rSh
.
StartUndo
(
UNDO_START
);
rSh
.
StartUndo
(
UNDO_START
);
String
sFnd
(
aTmpQHD
.
m_aHelpStrings
[
aTmpQHD
.
nCurArrPos
]
);
OU
String
sFnd
(
aTmpQHD
.
m_aHelpStrings
[
aTmpQHD
.
nCurArrPos
]
);
if
(
aTmpQHD
.
m_bIsAutoText
)
if
(
aTmpQHD
.
m_bIsAutoText
)
{
{
SwGlossaryList
*
pList
=
::
GetGlossaryList
();
SwGlossaryList
*
pList
=
::
GetGlossaryList
();
String
sShrtNm
;
OU
String
sShrtNm
;
String
sGroup
;
OU
String
sGroup
;
if
(
pList
->
GetShortName
(
sFnd
,
sShrtNm
,
sGroup
))
if
(
pList
->
GetShortName
(
sFnd
,
sShrtNm
,
sGroup
))
{
{
rSh
.
SttSelect
();
rSh
.
SttSelect
();
...
@@ -2534,7 +2534,8 @@ KEYINPUT_CHECKTABLE_INSDEL:
...
@@ -2534,7 +2534,8 @@ KEYINPUT_CHECKTABLE_INSDEL:
}
}
else
else
{
{
rSh
.
Insert
(
sFnd
.
Erase
(
0
,
aTmpQHD
.
nLen
));
sFnd
=
sFnd
.
copy
(
aTmpQHD
.
nLen
);
rSh
.
Insert
(
sFnd
);
m_pQuickHlpData
->
m_bAppendSpace
=
!
pACorr
||
m_pQuickHlpData
->
m_bAppendSpace
=
!
pACorr
||
pACorr
->
GetSwFlags
().
bAutoCmpltAppendBlanc
;
pACorr
->
GetSwFlags
().
bAutoCmpltAppendBlanc
;
}
}
...
...
sw/source/ui/inc/glosbib.hxx
Dosyayı görüntüle @
e8d04825
...
@@ -52,9 +52,9 @@ public:
...
@@ -52,9 +52,9 @@ public:
struct
GlosBibUserData
struct
GlosBibUserData
{
{
String
sPath
;
OU
String
sPath
;
String
sGroupName
;
OU
String
sGroupName
;
String
sGroupTitle
;
OU
String
sGroupTitle
;
};
};
class
SwGlossaryGroupTLB
:
public
SvTabListBox
class
SwGlossaryGroupTLB
:
public
SvTabListBox
...
@@ -90,7 +90,7 @@ class SwGlossaryGroupDlg : public SvxStandardDialog
...
@@ -90,7 +90,7 @@ class SwGlossaryGroupDlg : public SvxStandardDialog
SwGlossaryHdl
*
pGlosHdl
;
SwGlossaryHdl
*
pGlosHdl
;
String
sCreatedGroup
;
OUString
sCreatedGroup
;
sal_Bool
IsDeleteAllowed
(
const
OUString
&
rGroup
);
sal_Bool
IsDeleteAllowed
(
const
OUString
&
rGroup
);
...
@@ -108,7 +108,7 @@ public:
...
@@ -108,7 +108,7 @@ public:
SwGlossaryHdl
*
pGlosHdl
);
SwGlossaryHdl
*
pGlosHdl
);
~
SwGlossaryGroupDlg
();
~
SwGlossaryGroupDlg
();
const
String
&
GetCreatedGroupName
()
const
{
return
sCreatedGroup
;}
const
OUString
&
GetCreatedGroupName
()
const
{
return
sCreatedGroup
;}
};
};
#endif
#endif
...
...
sw/source/ui/inc/gloslst.hxx
Dosyayı görüntüle @
e8d04825
...
@@ -57,8 +57,8 @@ public:
...
@@ -57,8 +57,8 @@ public:
~
SwGlossaryList
();
~
SwGlossaryList
();
bool
HasLongName
(
const
OUString
&
rBegin
,
std
::
vector
<
OUString
>
*
pLongNames
);
bool
HasLongName
(
const
OUString
&
rBegin
,
std
::
vector
<
OUString
>
*
pLongNames
);
sal_Bool
GetShortName
(
const
String
&
rLongName
,
sal_Bool
GetShortName
(
const
OU
String
&
rLongName
,
String
&
rShortName
,
String
&
rGroupName
);
OUString
&
rShortName
,
OU
String
&
rGroupName
);
sal_uInt16
GetGroupCount
();
sal_uInt16
GetGroupCount
();
OUString
GetGroupName
(
sal_uInt16
nPos
,
bool
bNoPath
=
true
);
OUString
GetGroupName
(
sal_uInt16
nPos
,
bool
bNoPath
=
true
);
...
...
sw/source/ui/inc/glshell.hxx
Dosyayı görüntüle @
e8d04825
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
class
SwGlosDocShell
:
public
SwDocShell
class
SwGlosDocShell
:
public
SwDocShell
{
{
String
aLongName
;
OU
String
aLongName
;
String
aShortName
;
OU
String
aShortName
;
String
aGroupName
;
OU
String
aGroupName
;
using
SotObject
::
GetInterface
;
using
SotObject
::
GetInterface
;
...
@@ -41,21 +41,21 @@ public:
...
@@ -41,21 +41,21 @@ public:
void
Execute
(
SfxRequest
&
);
void
Execute
(
SfxRequest
&
);
void
GetState
(
SfxItemSet
&
);
void
GetState
(
SfxItemSet
&
);
void
SetLongName
(
const
String
&
rLongName
)
void
SetLongName
(
const
OU
String
&
rLongName
)
{
aLongName
=
rLongName
;
}
{
aLongName
=
rLongName
;
}
void
SetShortName
(
const
String
&
rShortName
)
void
SetShortName
(
const
OU
String
&
rShortName
)
{
aShortName
=
rShortName
;
}
{
aShortName
=
rShortName
;
}
void
SetGroupName
(
const
String
&
rGroupName
)
void
SetGroupName
(
const
OU
String
&
rGroupName
)
{
aGroupName
=
rGroupName
;
}
{
aGroupName
=
rGroupName
;
}
const
String
&
GetShortName
(){
return
aShortName
;}
const
OUString
&
GetShortName
(){
return
aShortName
;}
};
};
class
SwWebGlosDocShell
:
public
SwWebDocShell
class
SwWebGlosDocShell
:
public
SwWebDocShell
{
{
String
aLongName
;
OU
String
aLongName
;
String
aShortName
;
OU
String
aShortName
;
String
aGroupName
;
OU
String
aGroupName
;
using
SotObject
::
GetInterface
;
using
SotObject
::
GetInterface
;
...
@@ -72,13 +72,13 @@ public:
...
@@ -72,13 +72,13 @@ public:
void
Execute
(
SfxRequest
&
);
void
Execute
(
SfxRequest
&
);
void
GetState
(
SfxItemSet
&
);
void
GetState
(
SfxItemSet
&
);
void
SetLongName
(
const
String
&
rLongName
)
void
SetLongName
(
const
OU
String
&
rLongName
)
{
aLongName
=
rLongName
;
}
{
aLongName
=
rLongName
;
}
void
SetShortName
(
const
String
&
rShortName
)
void
SetShortName
(
const
OU
String
&
rShortName
)
{
aShortName
=
rShortName
;
}
{
aShortName
=
rShortName
;
}
void
SetGroupName
(
const
String
&
rGroupName
)
void
SetGroupName
(
const
OU
String
&
rGroupName
)
{
aGroupName
=
rGroupName
;
}
{
aGroupName
=
rGroupName
;
}
const
String
&
GetShortName
(){
return
aShortName
;}
const
OUString
&
GetShortName
(){
return
aShortName
;}
};
};
#endif
#endif
...
...
sw/source/ui/misc/glosbib.cxx
Dosyayı görüntüle @
e8d04825
...
@@ -170,7 +170,7 @@ void SwGlossaryGroupDlg::Apply()
...
@@ -170,7 +170,7 @@ void SwGlossaryGroupDlg::Apply()
if
(
sNewGroup
!=
aActGroup
)
if
(
sNewGroup
!=
aActGroup
)
{
{
pGlosHdl
->
NewGroup
(
sNewGroup
,
sNewTitle
);
pGlosHdl
->
NewGroup
(
sNewGroup
,
sNewTitle
);
if
(
!
sCreatedGroup
.
Len
())
if
(
sCreatedGroup
.
isEmpty
())
sCreatedGroup
=
sNewGroup
;
sCreatedGroup
=
sNewGroup
;
}
}
}
}
...
@@ -437,7 +437,7 @@ void SwGlossaryGroupTLB::RequestHelp( const HelpEvent& rHEvt )
...
@@ -437,7 +437,7 @@ void SwGlossaryGroupTLB::RequestHelp( const HelpEvent& rHEvt )
GlosBibUserData
*
pData
=
(
GlosBibUserData
*
)
pEntry
->
GetUserData
();
GlosBibUserData
*
pData
=
(
GlosBibUserData
*
)
pEntry
->
GetUserData
();
sMsg
=
pData
->
sPath
;
sMsg
=
pData
->
sPath
;
sMsg
+=
INET_PATH_TOKEN
;
sMsg
+=
INET_PATH_TOKEN
;
sMsg
+=
pData
->
sGroupName
.
G
etToken
(
0
,
GLOS_DELIM
);
sMsg
+=
pData
->
sGroupName
.
g
etToken
(
0
,
GLOS_DELIM
);
sMsg
+=
SwGlossaries
::
GetExtension
();
sMsg
+=
SwGlossaries
::
GetExtension
();
Help
::
ShowQuickHelp
(
this
,
aItemRect
,
sMsg
,
Help
::
ShowQuickHelp
(
this
,
aItemRect
,
sMsg
,
...
...
sw/source/ui/utlui/gloslst.cxx
Dosyayı görüntüle @
e8d04825
...
@@ -103,8 +103,8 @@ SwGlossaryList::~SwGlossaryList()
...
@@ -103,8 +103,8 @@ SwGlossaryList::~SwGlossaryList()
// will be filled. Otherwise also rGroupName will be set and
// will be filled. Otherwise also rGroupName will be set and
// on demand asked for the right group.
// on demand asked for the right group.
sal_Bool
SwGlossaryList
::
GetShortName
(
const
String
&
rLongName
,
sal_Bool
SwGlossaryList
::
GetShortName
(
const
OU
String
&
rLongName
,
String
&
rShortName
,
String
&
rGroupName
)
OUString
&
rShortName
,
OU
String
&
rGroupName
)
{
{
if
(
!
bFilled
)
if
(
!
bFilled
)
Update
();
Update
();
...
@@ -116,7 +116,7 @@ sal_Bool SwGlossaryList::GetShortName(const String& rLongName,
...
@@ -116,7 +116,7 @@ sal_Bool SwGlossaryList::GetShortName(const String& rLongName,
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
{
{
AutoTextGroup
*
pGroup
=
aGroupArr
[
i
];
AutoTextGroup
*
pGroup
=
aGroupArr
[
i
];
if
(
rGroupName
.
Len
()
&&
rGroupName
!=
pGroup
->
sName
)
if
(
!
rGroupName
.
isEmpty
()
&&
rGroupName
!=
pGroup
->
sName
)
continue
;
continue
;
for
(
sal_uInt16
j
=
0
;
j
<
pGroup
->
nCount
;
j
++
)
for
(
sal_uInt16
j
=
0
;
j
<
pGroup
->
nCount
;
j
++
)
...
...
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