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
70c4355f
Kaydet (Commit)
70c4355f
authored
May 12, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: Prefix SwInsertFld_Data member variables.
Change-Id: I2c07a57e60f8eaf1b9d570f4d42dd2955574a85b
üst
2feddc10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
28 deletions
+27
-28
fldpage.cxx
sw/source/ui/fldui/fldpage.cxx
+1
-1
fldmgr.cxx
sw/source/uibase/fldui/fldmgr.cxx
+0
-0
fldmgr.hxx
sw/source/uibase/inc/fldmgr.hxx
+24
-25
textsh2.cxx
sw/source/uibase/shells/textsh2.cxx
+2
-2
No files found.
sw/source/ui/fldui/fldpage.cxx
Dosyayı görüntüle @
70c4355f
...
@@ -127,7 +127,7 @@ bool SwFldPage::InsertFld(sal_uInt16 nTypeId, sal_uInt16 nSubType, const OUStrin
...
@@ -127,7 +127,7 @@ bool SwFldPage::InsertFld(sal_uInt16 nTypeId, sal_uInt16 nSubType, const OUStrin
{
{
SwInsertFld_Data
aData
(
nTypeId
,
nSubType
,
rPar1
,
rPar2
,
nFormatId
,
0
,
cSeparator
,
bIsAutomaticLanguage
);
SwInsertFld_Data
aData
(
nTypeId
,
nSubType
,
rPar1
,
rPar2
,
nFormatId
,
0
,
cSeparator
,
bIsAutomaticLanguage
);
//#i26566# provide parent for SwWrtShell::StartInputFldDlg
//#i26566# provide parent for SwWrtShell::StartInputFldDlg
aData
.
pParent
=
&
GetTabDialog
()
->
GetOKButton
();
aData
.
m_
pParent
=
&
GetTabDialog
()
->
GetOKButton
();
bRet
=
m_aMgr
.
InsertFld
(
aData
);
bRet
=
m_aMgr
.
InsertFld
(
aData
);
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
...
...
sw/source/uibase/fldui/fldmgr.cxx
Dosyayı görüntüle @
70c4355f
This diff is collapsed.
Click to expand it.
sw/source/uibase/inc/fldmgr.hxx
Dosyayı görüntüle @
70c4355f
...
@@ -65,36 +65,35 @@ struct SwFldGroupRgn
...
@@ -65,36 +65,35 @@ struct SwFldGroupRgn
// with command strings
// with command strings
struct
SwInsertFld_Data
struct
SwInsertFld_Data
{
{
sal_uInt16
nTypeId
;
sal_uInt16
m_
nTypeId
;
sal_uInt16
nSubType
;
sal_uInt16
m_
nSubType
;
const
OUString
sPar1
;
const
OUString
m_
sPar1
;
const
OUString
sPar2
;
const
OUString
m_
sPar2
;
sal_uLong
nFormatId
;
sal_uLong
m_
nFormatId
;
SwWrtShell
*
pSh
;
SwWrtShell
*
m_
pSh
;
sal_Unicode
cSeparator
;
sal_Unicode
m_
cSeparator
;
bool
bIsAutomaticLanguage
;
bool
m_
bIsAutomaticLanguage
;
::
com
::
sun
::
star
::
uno
::
Any
aDBDataSource
;
::
com
::
sun
::
star
::
uno
::
Any
m_
aDBDataSource
;
::
com
::
sun
::
star
::
uno
::
Any
aDBConnection
;
::
com
::
sun
::
star
::
uno
::
Any
m_
aDBConnection
;
::
com
::
sun
::
star
::
uno
::
Any
aDBColumn
;
::
com
::
sun
::
star
::
uno
::
Any
m_
aDBColumn
;
VclPtr
<
vcl
::
Window
>
pParent
;
// parent dialog used for SwWrtShell::StartInputFldDlg()
VclPtr
<
vcl
::
Window
>
m_
pParent
;
// parent dialog used for SwWrtShell::StartInputFldDlg()
SwInsertFld_Data
(
sal_uInt16
nType
,
sal_uInt16
nSub
,
const
OUString
&
rPar1
,
const
OUString
&
rPar2
,
SwInsertFld_Data
(
sal_uInt16
nType
,
sal_uInt16
nSub
,
const
OUString
&
rPar1
,
const
OUString
&
rPar2
,
sal_uLong
nFmtId
,
SwWrtShell
*
pShell
=
NULL
,
sal_Unicode
cSep
=
' '
,
bool
bIsAutoLanguage
=
true
)
:
sal_uLong
nFmtId
,
SwWrtShell
*
pShell
=
NULL
,
sal_Unicode
cSep
=
' '
,
bool
bIsAutoLanguage
=
true
)
:
nTypeId
(
nType
),
m_
nTypeId
(
nType
),
nSubType
(
nSub
),
m_
nSubType
(
nSub
),
sPar1
(
rPar1
),
m_
sPar1
(
rPar1
),
sPar2
(
rPar2
),
m_
sPar2
(
rPar2
),
nFormatId
(
nFmtId
),
m_
nFormatId
(
nFmtId
),
pSh
(
pShell
),
m_
pSh
(
pShell
),
cSeparator
(
cSep
),
m_
cSeparator
(
cSep
),
bIsAutomaticLanguage
(
bIsAutoLanguage
),
m_
bIsAutomaticLanguage
(
bIsAutoLanguage
),
pParent
(
0
)
{}
m_
pParent
(
0
)
{}
SwInsertFld_Data
()
:
SwInsertFld_Data
()
:
pSh
(
0
),
m_pSh
(
0
),
cSeparator
(
' '
),
m_cSeparator
(
' '
),
bIsAutomaticLanguage
(
true
){}
m_bIsAutomaticLanguage
(
true
){}
};
};
class
SW_DLLPUBLIC
SwFldMgr
class
SW_DLLPUBLIC
SwFldMgr
...
...
sw/source/uibase/shells/textsh2.cxx
Dosyayı görüntüle @
70c4355f
...
@@ -208,9 +208,9 @@ void SwTextShell::ExecDB(SfxRequest &rReq)
...
@@ -208,9 +208,9 @@ void SwTextShell::ExecDB(SfxRequest &rReq)
SwFldMgr
aFldMgr
(
GetShellPtr
());
SwFldMgr
aFldMgr
(
GetShellPtr
());
SwInsertFld_Data
aData
(
TYP_DBFLD
,
0
,
sDBName
,
OUString
(),
0
);
SwInsertFld_Data
aData
(
TYP_DBFLD
,
0
,
sDBName
,
OUString
(),
0
);
if
(
pConnectionItem
)
if
(
pConnectionItem
)
aData
.
aDBConnection
=
static_cast
<
const
SfxUsrAnyItem
*>
(
pConnectionItem
)
->
GetValue
();
aData
.
m_
aDBConnection
=
static_cast
<
const
SfxUsrAnyItem
*>
(
pConnectionItem
)
->
GetValue
();
if
(
pColumnItem
)
if
(
pColumnItem
)
aData
.
aDBColumn
=
static_cast
<
const
SfxUsrAnyItem
*>
(
pColumnItem
)
->
GetValue
();
aData
.
m_
aDBColumn
=
static_cast
<
const
SfxUsrAnyItem
*>
(
pColumnItem
)
->
GetValue
();
aFldMgr
.
InsertFld
(
aData
);
aFldMgr
.
InsertFld
(
aData
);
SfxViewFrame
*
pViewFrame
=
GetView
().
GetViewFrame
();
SfxViewFrame
*
pViewFrame
=
GetView
().
GetViewFrame
();
uno
::
Reference
<
XDispatchRecorder
>
xRecorder
=
uno
::
Reference
<
XDispatchRecorder
>
xRecorder
=
...
...
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