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
39d45c1f
Kaydet (Commit)
39d45c1f
authored
Eki 08, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Deduplication of AbstractTabDialog_Impl and VclAbstractDialog_Impl
Change-Id: Ifda222d842312d084496bc17d3ae6eaf83c13d25
üst
0a6be648
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
27 deletions
+27
-27
dlgfact.cxx
cui/source/factory/dlgfact.cxx
+23
-23
dlgfact.hxx
cui/source/factory/dlgfact.hxx
+4
-4
No files found.
cui/source/factory/dlgfact.cxx
Dosyayı görüntüle @
39d45c1f
...
...
@@ -101,9 +101,9 @@ using ::com::sun::star::uno::Reference;
using
namespace
svx
;
// AbstractTabDialog implementations just forwards everything to the dialog
IMPL_ABSTDLG_BASE
(
AbstractSfxDialog_Impl
)
IMPL_ABSTDLG_BASE
(
VclAbstractDialog_Impl
)
IMPL_ABSTDLG_BASE
(
Cui
VclAbstractDialog_Impl
)
IMPL_ABSTDLG_BASE
(
VclAbstractRefreshableDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractTabDialog_Impl
);
IMPL_ABSTDLG_BASE
(
Cui
AbstractTabDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractSvxDistributeDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractHangulHanjaConversionDialog_Impl
);
IMPL_ABSTDLG_BASE
(
AbstractFmShowColsDialog_Impl
);
...
...
@@ -191,31 +191,31 @@ IMPL_LINK( VclAbstractDialog2_Impl, EndDialogHdl, Dialog*, pDlg )
//////////////////////////////////////////////////////////////////////////
void
AbstractTabDialog_Impl
::
SetCurPageId
(
sal_uInt16
nId
)
void
Cui
AbstractTabDialog_Impl
::
SetCurPageId
(
sal_uInt16
nId
)
{
pDlg
->
SetCurPageId
(
nId
);
}
const
SfxItemSet
*
AbstractTabDialog_Impl
::
GetOutputItemSet
()
const
const
SfxItemSet
*
Cui
AbstractTabDialog_Impl
::
GetOutputItemSet
()
const
{
return
pDlg
->
GetOutputItemSet
();
}
const
sal_uInt16
*
AbstractTabDialog_Impl
::
GetInputRanges
(
const
SfxItemPool
&
pItem
)
const
sal_uInt16
*
Cui
AbstractTabDialog_Impl
::
GetInputRanges
(
const
SfxItemPool
&
pItem
)
{
return
pDlg
->
GetInputRanges
(
pItem
);
}
void
AbstractTabDialog_Impl
::
SetInputSet
(
const
SfxItemSet
*
pInSet
)
void
Cui
AbstractTabDialog_Impl
::
SetInputSet
(
const
SfxItemSet
*
pInSet
)
{
pDlg
->
SetInputSet
(
pInSet
);
}
//From class Window.
void
AbstractTabDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
void
Cui
AbstractTabDialog_Impl
::
SetText
(
const
XubString
&
rStr
)
{
pDlg
->
SetText
(
rStr
);
}
String
AbstractTabDialog_Impl
::
GetText
()
const
String
Cui
AbstractTabDialog_Impl
::
GetText
()
const
{
return
pDlg
->
GetText
();
}
...
...
@@ -1017,7 +1017,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateVclDialog( Window* pParent,
}
if
(
pDlg
)
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1045,7 +1045,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateFrameDialog(
}
if
(
pDlg
)
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
else
return
NULL
;
}
...
...
@@ -1072,7 +1072,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR
}
if
(
pDlg
)
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1101,7 +1101,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR
}
if
(
pDlg
)
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1112,7 +1112,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTextTabDialog( Window* p
SdrModel
*
)
{
SfxTabDialog
*
pDlg
=
new
SvxTextTabDialog
(
pParent
,
pAttrSet
,
pView
);
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
}
// TabDialog that use functionality of the drawing layer and add AnchorTypes -- for SvxCaptionTabDialog
...
...
@@ -1241,7 +1241,7 @@ VclAbstractDialog * AbstractDialogFactory_Impl::CreateSvxScriptOrgDialog( Window
pDlg
=
new
SvxScriptOrgDialog
(
pParent
,
rLanguage
);
if
(
pDlg
)
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1317,7 +1317,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabItemDialog( Window* p
}
if
(
pDlg
)
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1326,7 +1326,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateSvxSearchAttributeDial
const
sal_uInt16
*
pWhRanges
)
{
Dialog
*
pDlg
=
new
SvxSearchAttributeDialog
(
pParent
,
rLst
,
pWhRanges
);
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
}
AbstractSvxSearchSimilarityDialog
*
AbstractDialogFactory_Impl
::
CreateSvxSearchSimilarityDialog
(
Window
*
pParent
,
...
...
@@ -1346,7 +1346,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxBorderBackgroundDlg(
sal_Bool
bEnableSelector
)
{
SfxTabDialog
*
pDlg
=
new
SvxBorderBackgroundDlg
(
pParent
,
rCoreSet
,
bEnableSelector
);
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
}
AbstractSvxTransformTabDialog
*
AbstractDialogFactory_Impl
::
CreateSvxTransformTabDialog
(
Window
*
pParent
,
...
...
@@ -1386,7 +1386,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSchTransformTabDialog( W
}
if
(
pDlg
)
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1439,7 +1439,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateSvxEditDictionaryDialo
}
if
(
pDlg
)
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
return
0
;
}
...
...
@@ -1602,7 +1602,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxLineTabDialog( Window
sal_Bool
bHasObj
)
{
SfxTabDialog
*
pDlg
=
new
SvxLineTabDialog
(
pParent
,
pAttr
,
pModel
,
pObj
,
bHasObj
);
return
new
AbstractTabDialog_Impl
(
pDlg
);
return
new
Cui
AbstractTabDialog_Impl
(
pDlg
);
}
SfxAbstractDialog
*
AbstractDialogFactory_Impl
::
CreateSfxDialog
(
Window
*
pParent
,
...
...
@@ -1889,7 +1889,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateEditObjectDialog( Window* p
{
pDlg
=
new
SfxInsertFloatingFrameDialog
(
pParent
,
xObj
);
pDlg
->
SetHelpId
(
rtl
::
OUStringToOString
(
rCommand
,
RTL_TEXTENCODING_UTF8
)
);
return
new
VclAbstractDialog_Impl
(
pDlg
);
return
new
Cui
VclAbstractDialog_Impl
(
pDlg
);
}
return
0
;
}
...
...
@@ -1911,7 +1911,7 @@ SfxAbstractLinksDialog* AbstractDialogFactory_Impl::CreateLinksDialog( Window* p
SfxAbstractTabDialog
*
AbstractDialogFactory_Impl
::
CreateSvxFormatCellsDialog
(
Window
*
pParent
,
const
SfxItemSet
*
pAttr
,
SdrModel
*
pModel
,
const
SdrObject
*
/*pObj*/
)
{
return
new
AbstractTabDialog_Impl
(
new
SvxFormatCellsDialog
(
pParent
,
pAttr
,
pModel
)
);
return
new
Cui
AbstractTabDialog_Impl
(
new
SvxFormatCellsDialog
(
pParent
,
pAttr
,
pModel
)
);
}
SvxAbstractSplittTableDialog
*
AbstractDialogFactory_Impl
::
CreateSvxSplittTableDialog
(
Window
*
pParent
,
bool
bIsTableVertical
,
long
nMaxVertical
,
long
nMaxHorizontal
)
...
...
@@ -1927,7 +1927,7 @@ SvxAbstractNewTableDialog* AbstractDialogFactory_Impl::CreateSvxNewTableDialog(
VclAbstractDialog
*
AbstractDialogFactory_Impl
::
CreateOptionsDialog
(
Window
*
pParent
,
const
rtl
::
OUString
&
rExtensionId
,
const
rtl
::
OUString
&
/*rApplicationContext*/
)
{
return
new
VclAbstractDialog_Impl
(
new
OfaTreeOptionsDialog
(
pParent
,
rExtensionId
)
);
return
new
Cui
VclAbstractDialog_Impl
(
new
OfaTreeOptionsDialog
(
pParent
,
rExtensionId
)
);
}
SvxAbstractInsRowColDlg
*
AbstractDialogFactory_Impl
::
CreateSvxInsRowColDlg
(
Window
*
pParent
,
bool
bCol
,
const
rtl
::
OString
&
sHelpId
)
...
...
cui/source/factory/dlgfact.hxx
Dosyayı görüntüle @
39d45c1f
...
...
@@ -95,9 +95,9 @@ private:
};
//for GalleryThemeProperties end
class
VclAbstractDialog_Impl
:
public
VclAbstractDialog
class
Cui
VclAbstractDialog_Impl
:
public
VclAbstractDialog
{
DECL_ABSTDLG_BASE
(
VclAbstractDialog_Impl
,
Dialog
)
DECL_ABSTDLG_BASE
(
Cui
VclAbstractDialog_Impl
,
Dialog
)
};
//for ActualizeProgress begin
...
...
@@ -119,9 +119,9 @@ class AbstractSfxDialog_Impl : public SfxAbstractDialog
virtual
String
GetText
()
const
;
};
class
AbstractTabDialog_Impl
:
public
SfxAbstractTabDialog
class
Cui
AbstractTabDialog_Impl
:
public
SfxAbstractTabDialog
{
DECL_ABSTDLG_BASE
(
AbstractTabDialog_Impl
,
SfxTabDialog
)
DECL_ABSTDLG_BASE
(
Cui
AbstractTabDialog_Impl
,
SfxTabDialog
)
virtual
void
SetCurPageId
(
sal_uInt16
nId
);
virtual
const
SfxItemSet
*
GetOutputItemSet
()
const
;
virtual
const
sal_uInt16
*
GetInputRanges
(
const
SfxItemPool
&
pItem
);
...
...
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