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
3f00118c
Kaydet (Commit)
3f00118c
authored
Eki 09, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
De-duplicate AbstractSfxDialog_Impl
Change-Id: Iddf2222aa75b21dd60472fa8dc979ddbdc18dcba
üst
3c4c1170
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
26 deletions
+26
-26
dlgfact.cxx
cui/source/factory/dlgfact.cxx
+7
-7
dlgfact.hxx
cui/source/factory/dlgfact.hxx
+2
-2
sddlgfact.cxx
sd/source/ui/dlg/sddlgfact.cxx
+5
-5
sddlgfact.hxx
sd/source/ui/dlg/sddlgfact.hxx
+2
-2
swdlgfact.cxx
sw/source/ui/dialog/swdlgfact.cxx
+8
-8
swdlgfact.hxx
sw/source/ui/dialog/swdlgfact.hxx
+2
-2
No files found.
cui/source/factory/dlgfact.cxx
Dosyayı görüntüle @
3f00118c
...
@@ -100,7 +100,7 @@ using ::com::sun::star::uno::Reference;
...
@@ -100,7 +100,7 @@ using ::com::sun::star::uno::Reference;
using
namespace
svx
;
using
namespace
svx
;
// AbstractTabDialog implementations just forwards everything to the dialog
// AbstractTabDialog implementations just forwards everything to the dialog
IMPL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
)
IMPL_ABSTDLG_BASE
(
Cui
AbstractSfxDialog_Impl
)
IMPL_ABSTDLG_BASE
(
CuiVclAbstractDialog_Impl
)
IMPL_ABSTDLG_BASE
(
CuiVclAbstractDialog_Impl
)
IMPL_ABSTDLG_BASE
(
VclAbstractRefreshableDialog_Impl
);
IMPL_ABSTDLG_BASE
(
VclAbstractRefreshableDialog_Impl
);
IMPL_ABSTDLG_BASE
(
CuiAbstractTabDialog_Impl
);
IMPL_ABSTDLG_BASE
(
CuiAbstractTabDialog_Impl
);
...
@@ -221,17 +221,17 @@ String CuiAbstractTabDialog_Impl::GetText() const
...
@@ -221,17 +221,17 @@ String CuiAbstractTabDialog_Impl::GetText() const
}
}
const
SfxItemSet
*
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
const
SfxItemSet
*
Cui
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
{
{
return
pDlg
->
GetOutputItemSet
();
return
pDlg
->
GetOutputItemSet
();
}
}
void
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
void
Cui
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
{
{
pDlg
->
SetText
(
rStr
);
pDlg
->
SetText
(
rStr
);
}
}
String
AbstractSfxDialog_Impl
::
GetText
()
const
String
Cui
AbstractSfxDialog_Impl
::
GetText
()
const
{
{
return
pDlg
->
GetText
();
return
pDlg
->
GetText
();
}
}
...
@@ -1299,7 +1299,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( sal_uInt32,
...
@@ -1299,7 +1299,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( sal_uInt32,
const
SfxItemSet
*
pAttrSet
)
const
SfxItemSet
*
pAttrSet
)
{
{
SfxModalDialog
*
pDlg
=
new
SvxCharacterMap
(
pParent
,
sal_True
,
pAttrSet
);
SfxModalDialog
*
pDlg
=
new
SvxCharacterMap
(
pParent
,
sal_True
,
pAttrSet
);
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Cui
AbstractSfxDialog_Impl
(
pDlg
);
}
}
SfxAbstractTabDialog
*
AbstractDialogFactory_Impl
::
CreateTabItemDialog
(
Window
*
pParent
,
SfxAbstractTabDialog
*
AbstractDialogFactory_Impl
::
CreateTabItemDialog
(
Window
*
pParent
,
...
@@ -1628,7 +1628,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
...
@@ -1628,7 +1628,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Cui
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
@@ -1655,7 +1655,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
...
@@ -1655,7 +1655,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent,
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Cui
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
...
cui/source/factory/dlgfact.hxx
Dosyayı görüntüle @
3f00118c
...
@@ -109,9 +109,9 @@ class VclAbstractRefreshableDialog_Impl : public VclAbstractRefreshableDialog
...
@@ -109,9 +109,9 @@ class VclAbstractRefreshableDialog_Impl : public VclAbstractRefreshableDialog
};
};
//for ActualizeProgress end
//for ActualizeProgress end
class
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
class
Cui
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
{
{
DECL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
,
SfxModalDialog
)
DECL_ABSTDLG_BASE
(
Cui
AbstractSfxDialog_Impl
,
SfxModalDialog
)
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
//From class Window.
//From class Window.
...
...
sd/source/ui/dlg/sddlgfact.cxx
Dosyayı görüntüle @
3f00118c
...
@@ -75,7 +75,7 @@ IMPL_ABSTDLG_BASE(AbstractSdInsertPagesObjsDlg_Impl);
...
@@ -75,7 +75,7 @@ IMPL_ABSTDLG_BASE(AbstractSdInsertPagesObjsDlg_Impl);
IMPL_ABSTDLG_BASE
(
AbstractMorphDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractMorphDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdStartPresDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdStartPresDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdPresLayoutDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdPresLayoutDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
);
IMPL_ABSTDLG_BASE
(
Sd
AbstractSfxDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdVectorizeDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdVectorizeDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdPublishingDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSdPublishingDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractHeaderFooterDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractHeaderFooterDialog_Impl
);
...
@@ -332,15 +332,15 @@ void AbstractSdPresLayoutDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
...
@@ -332,15 +332,15 @@ void AbstractSdPresLayoutDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
// AbstractSdPresLayoutDlg_Impl end
// AbstractSdPresLayoutDlg_Impl end
//SfxAbstractDialog_Impl begin
//SfxAbstractDialog_Impl begin
const
SfxItemSet
*
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
const
SfxItemSet
*
Sd
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
{
{
return
pDlg
->
GetOutputItemSet
();
return
pDlg
->
GetOutputItemSet
();
}
}
void
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
void
Sd
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
{
{
pDlg
->
SetText
(
rStr
);
pDlg
->
SetText
(
rStr
);
}
}
String
AbstractSfxDialog_Impl
::
GetText
()
const
String
Sd
AbstractSfxDialog_Impl
::
GetText
()
const
{
{
return
pDlg
->
GetText
();
return
pDlg
->
GetText
();
}
}
...
@@ -520,7 +520,7 @@ SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdTabTemplateDlg( ::
...
@@ -520,7 +520,7 @@ SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdTabTemplateDlg( ::
SfxAbstractDialog
*
SdAbstractDialogFactory_Impl
::
CreatSdActionDialog
(
::
Window
*
pParent
,
const
SfxItemSet
*
pAttr
,
::
sd
::
View
*
pView
)
SfxAbstractDialog
*
SdAbstractDialogFactory_Impl
::
CreatSdActionDialog
(
::
Window
*
pParent
,
const
SfxItemSet
*
pAttr
,
::
sd
::
View
*
pView
)
{
{
return
new
AbstractSfxDialog_Impl
(
new
SdActionDlg
(
pParent
,
pAttr
,
pView
)
);
return
new
Sd
AbstractSfxDialog_Impl
(
new
SdActionDlg
(
pParent
,
pAttr
,
pView
)
);
}
}
// add for SdVectorizeDlg begin
// add for SdVectorizeDlg begin
...
...
sd/source/ui/dlg/sddlgfact.hxx
Dosyayı görüntüle @
3f00118c
...
@@ -218,9 +218,9 @@ class AbstractSdPresLayoutDlg_Impl : public AbstractSdPresLayoutDlg
...
@@ -218,9 +218,9 @@ class AbstractSdPresLayoutDlg_Impl : public AbstractSdPresLayoutDlg
};
};
// add for SdActionDlg
// add for SdActionDlg
class
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
class
Sd
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
{
{
DECL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
,
SfxModalDialog
)
DECL_ABSTDLG_BASE
(
Sd
AbstractSfxDialog_Impl
,
SfxModalDialog
)
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
void
SetText
(
const
XubString
&
rStr
);
virtual
void
SetText
(
const
XubString
&
rStr
);
virtual
String
GetText
()
const
;
virtual
String
GetText
()
const
;
...
...
sw/source/ui/dialog/swdlgfact.cxx
Dosyayı görüntüle @
3f00118c
...
@@ -107,7 +107,7 @@ using namespace ::com::sun::star;
...
@@ -107,7 +107,7 @@ using namespace ::com::sun::star;
IMPL_ABSTDLG_BASE
(
AbstractSwWordCountFloatDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSwWordCountFloatDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSwInsertAbstractDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSwInsertAbstractDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
);
IMPL_ABSTDLG_BASE
(
Sw
AbstractSfxDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSwAsciiFilterDlg_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSwAsciiFilterDlg_Impl
);
IMPL_ABSTDLG_BASE
(
VclAbstractDialog_Impl
);
IMPL_ABSTDLG_BASE
(
VclAbstractDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSplitTableDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSplitTableDialog_Impl
);
...
@@ -178,17 +178,17 @@ sal_uInt8 AbstractSwInsertAbstractDlg_Impl::GetPara() const
...
@@ -178,17 +178,17 @@ sal_uInt8 AbstractSwInsertAbstractDlg_Impl::GetPara() const
}
}
//add for SwAddrDlg, SwDropCapsDlg ,SwBackgroundDlg, SwNumFmtDlg SwBorderDlg SwWrapDlg SwFldEditDlg begin
//add for SwAddrDlg, SwDropCapsDlg ,SwBackgroundDlg, SwNumFmtDlg SwBorderDlg SwWrapDlg SwFldEditDlg begin
const
SfxItemSet
*
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
const
SfxItemSet
*
Sw
AbstractSfxDialog_Impl
::
GetOutputItemSet
()
const
{
{
return
pDlg
->
GetOutputItemSet
();
return
pDlg
->
GetOutputItemSet
();
}
}
void
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
void
Sw
AbstractSfxDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
{
{
pDlg
->
SetText
(
rStr
);
pDlg
->
SetText
(
rStr
);
}
}
String
AbstractSfxDialog_Impl
::
GetText
()
const
String
Sw
AbstractSfxDialog_Impl
::
GetText
()
const
{
{
return
pDlg
->
GetText
();
return
pDlg
->
GetText
();
}
}
...
@@ -667,7 +667,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSfxDialog( Window* pParen
...
@@ -667,7 +667,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSfxDialog( Window* pParen
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Sw
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
@@ -980,7 +980,7 @@ SfxAbstractDialog * SwAbstractDialogFactory_Impl::CreateSwBorderDlg (Window* pPa
...
@@ -980,7 +980,7 @@ SfxAbstractDialog * SwAbstractDialogFactory_Impl::CreateSwBorderDlg (Window* pPa
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Sw
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
@@ -997,7 +997,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwWrapDlg ( Window* pPare
...
@@ -997,7 +997,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwWrapDlg ( Window* pPare
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Sw
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
@@ -1057,7 +1057,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwFldEditDlg ( SwView&
...
@@ -1057,7 +1057,7 @@ SfxAbstractDialog* SwAbstractDialogFactory_Impl::CreateSwFldEditDlg ( SwView&
}
}
if
(
pDlg
)
if
(
pDlg
)
return
new
AbstractSfxDialog_Impl
(
pDlg
);
return
new
Sw
AbstractSfxDialog_Impl
(
pDlg
);
return
0
;
return
0
;
}
}
...
...
sw/source/ui/dialog/swdlgfact.hxx
Dosyayı görüntüle @
3f00118c
...
@@ -95,9 +95,9 @@ class AbstractSwInsertAbstractDlg_Impl : public AbstractSwInsertAbstractDlg
...
@@ -95,9 +95,9 @@ class AbstractSwInsertAbstractDlg_Impl : public AbstractSwInsertAbstractDlg
// add for SwAddrDlg, SwDropCapsDlg, SwBackgroundDlg SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg begin
// add for SwAddrDlg, SwDropCapsDlg, SwBackgroundDlg SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg begin
class
SfxSingleTabDialog
;
class
SfxSingleTabDialog
;
class
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
class
Sw
AbstractSfxDialog_Impl
:
public
SfxAbstractDialog
{
{
DECL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
,
SfxModalDialog
)
DECL_ABSTDLG_BASE
(
Sw
AbstractSfxDialog_Impl
,
SfxModalDialog
)
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
void
SetText
(
const
XubString
&
rStr
);
virtual
void
SetText
(
const
XubString
&
rStr
);
virtual
String
GetText
()
const
;
virtual
String
GetText
()
const
;
...
...
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