summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-20 16:58:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-20 22:08:29 +0200
commitec67e7e4b22740bf8dc5e1a9c84c49facdd85717 (patch)
tree2932b8f17343b7f42a17e6e27062c224572a516a /cui/source/tabpages
parent71b85d982269af1ec4616d6738cdadf5ea750f99 (diff)
SvxTabPage with a dummy PointChanged impl is just SfxTabPage
Change-Id: I520353fe1e4695f29e0646d52a492c3a63b90060 Reviewed-on: https://gerrit.libreoffice.org/60830 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/dstribut.cxx12
-rw-r--r--cui/source/tabpages/tparea.cxx12
-rw-r--r--cui/source/tabpages/tpbitmap.cxx12
-rw-r--r--cui/source/tabpages/tphatch.cxx14
-rw-r--r--cui/source/tabpages/tpline.cxx16
-rw-r--r--cui/source/tabpages/tptrans.cxx10
-rw-r--r--cui/source/tabpages/transfrm.cxx10
7 files changed, 15 insertions, 71 deletions
diff --git a/cui/source/tabpages/dstribut.cxx b/cui/source/tabpages/dstribut.cxx
index 668fd610d80d..6c15508ee345 100644
--- a/cui/source/tabpages/dstribut.cxx
+++ b/cui/source/tabpages/dstribut.cxx
@@ -52,8 +52,8 @@ SvxDistributeDialog::~SvxDistributeDialog()
SvxDistributePage::SvxDistributePage(TabPageParent pWindow,
const SfxItemSet& rInAttrs, SvxDistributeHorizontal eHor,
SvxDistributeVertical eVer)
- : SvxTabPage(pWindow, "cui/ui/distributionpage.ui", "DistributionPage",
- rInAttrs)
+ : SfxTabPage(pWindow, "cui/ui/distributionpage.ui", "DistributionPage",
+ &rInAttrs)
, m_eDistributeHor(eHor)
, m_eDistributeVer(eVer)
, m_xBtnHorNone(m_xBuilder->weld_radio_button("hornone"))
@@ -73,14 +73,6 @@ SvxDistributePage::~SvxDistributePage()
{
}
-void SvxDistributePage::PointChanged(vcl::Window* /*pWindow*/, RectPoint /*eRP*/)
-{
-}
-
-void SvxDistributePage::PointChanged(weld::DrawingArea*, RectPoint /*eRP*/)
-{
-}
-
/*************************************************************************
|*
|* read the delivered Item-Set
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 0daa38f3b1b9..55f35c096dc0 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -83,7 +83,7 @@ void lclExtendSize(Size& rSize, const Size& rInputSize)
\************************************************************************/
SvxAreaTabPage::SvxAreaTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SvxTabPage(pParent, "cui/ui/areatabpage.ui", "AreaTabPage", rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/areatabpage.ui", "AreaTabPage", &rInAttrs)
// local fixed not o be changed values for local pointers
, maFixed_ChangeType(ChangeType::NONE)
// init with pointers to fixed ChangeType
@@ -152,7 +152,7 @@ SvxAreaTabPage::~SvxAreaTabPage()
void SvxAreaTabPage::dispose()
{
m_pFillTabPage.disposeAndClear();
- SvxTabPage::dispose();
+ SfxTabPage::dispose();
}
void SvxAreaTabPage::ActivatePage( const SfxItemSet& rSet )
@@ -388,14 +388,6 @@ void SvxAreaTabPage::PageCreated(const SfxAllItemSet& aSet)
SetPatternList(pPatternListItem->GetPatternList());
}
-void SvxAreaTabPage::PointChanged( vcl::Window* , RectPoint )
-{
-}
-
-void SvxAreaTabPage::PointChanged( weld::DrawingArea*, RectPoint )
-{
-}
-
void SvxAreaTabPage::CreatePage( sal_Int32 nId, SfxTabPage* pTab )
{
if(nId == SOLID )
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 952ca4393393..a721a70171de 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -68,7 +68,7 @@ const sal_uInt16 SvxBitmapTabPage::pBitmapRanges[] =
};
SvxBitmapTabPage::SvxBitmapTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SvxTabPage(pParent, "cui/ui/bitmaptabpage.ui", "BitmapTabPage", rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/bitmaptabpage.ui", "BitmapTabPage", &rInAttrs)
, m_rOutAttrs(rInAttrs)
, m_pnBitmapListState(nullptr)
, m_fObjectWidth(0.0)
@@ -142,7 +142,7 @@ void SvxBitmapTabPage::dispose()
m_xBitmapLBWin.reset();
m_xBitmapLB.reset();
m_xCtlBitmapPreview.reset();
- SvxTabPage::dispose();
+ SfxTabPage::dispose();
}
void SvxBitmapTabPage::Construct()
@@ -795,12 +795,4 @@ sal_Int32 SvxBitmapTabPage::SearchBitmapList(const OUString& rBitmapName)
return nPos;
}
-void SvxBitmapTabPage::PointChanged( vcl::Window* , RectPoint )
-{
-}
-
-void SvxBitmapTabPage::PointChanged( weld::DrawingArea*, RectPoint )
-{
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index 959d1de3e86b..ff31f3320579 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -50,7 +50,7 @@
using namespace com::sun::star;
SvxHatchTabPage::SvxHatchTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SvxTabPage(pParent, "cui/ui/hatchpage.ui", "HatchPage", rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/hatchpage.ui", "HatchPage", &rInAttrs)
, m_rOutAttrs(rInAttrs)
, m_pnHatchingListState(nullptr)
, m_pnColorListState(nullptr)
@@ -131,7 +131,7 @@ void SvxHatchTabPage::dispose()
m_xHatchLB.reset();
m_xLbBackgroundColor.reset();
m_xLbLineColor.reset();
- SvxTabPage::dispose();
+ SfxTabPage::dispose();
}
void SvxHatchTabPage::Construct()
@@ -568,20 +568,12 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickRenameHdl_Impl, PresetListBox*, void )
}
-void SvxHatchTabPage::PointChanged( vcl::Window*, RectPoint )
-{
-}
-
-void SvxHatchTabPage::PointChanged( weld::DrawingArea*, RectPoint )
-{
-}
-
void SvxHatchTabPage::DataChanged( const DataChangedEvent& rDCEvt )
{
if ( ( rDCEvt.GetType() == DataChangedEventType::SETTINGS ) && ( rDCEvt.GetFlags() & AllSettingsFlags::STYLE ) )
m_aCtlPreview.SetDrawMode( GetSettings().GetStyleSettings().GetHighContrastMode() ? OUTPUT_DRAWMODE_CONTRAST : OUTPUT_DRAWMODE_COLOR );
- SvxTabPage::DataChanged( rDCEvt );
+ SfxTabPage::DataChanged( rDCEvt );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index f8c8a8b8fa8e..d7d6d12de777 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -81,10 +81,10 @@ SvxLineTabPage::SvxLineTabPage
vcl::Window* pParent,
const SfxItemSet& rInAttrs
) :
- SvxTabPage ( pParent
+ SfxTabPage ( pParent
,"LineTabPage"
,"cui/ui/linetabpage.ui"
- , rInAttrs ),
+ , &rInAttrs ),
m_pSymbolList(nullptr),
m_bNewSize(false),
@@ -258,7 +258,7 @@ void SvxLineTabPage::dispose()
m_pSymbolWidthMF.clear();
m_pSymbolHeightMF.clear();
m_pSymbolRatioCB.clear();
- SvxTabPage::dispose();
+ SfxTabPage::dispose();
}
void SvxLineTabPage::Construct()
@@ -1669,14 +1669,6 @@ IMPL_LINK_NOARG(SvxLineTabPage, ChangeTransparentHdl_Impl, Edit&, void)
m_pCtlPreview->Invalidate();
}
-void SvxLineTabPage::PointChanged( vcl::Window*, RectPoint )
-{
-}
-
-void SvxLineTabPage::PointChanged( weld::DrawingArea*, RectPoint )
-{
-}
-
void SvxLineTabPage::FillUserData()
{
// Write the synched value to the INI file
@@ -1761,7 +1753,7 @@ IMPL_LINK( SvxLineTabPage, RatioHdl_Impl, Button*, pBox, void )
void SvxLineTabPage::DataChanged( const DataChangedEvent& rDCEvt )
{
- SvxTabPage::DataChanged( rDCEvt );
+ SfxTabPage::DataChanged( rDCEvt );
if ( (rDCEvt.GetType() == DataChangedEventType::SETTINGS) && (rDCEvt.GetFlags() & AllSettingsFlags::STYLE) )
{
diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx
index d974edc9cb7b..02a0e64e18a4 100644
--- a/cui/source/tabpages/tptrans.cxx
+++ b/cui/source/tabpages/tptrans.cxx
@@ -201,7 +201,7 @@ void SvxTransparenceTabPage::SetControlState_Impl(css::awt::GradientStyle eXGS)
}
SvxTransparenceTabPage::SvxTransparenceTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SvxTabPage(pParent, "cui/ui/transparencytabpage.ui", "TransparencyTabPage", rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/transparencytabpage.ui", "TransparencyTabPage", &rInAttrs)
, rOutAttrs(rInAttrs)
, nPageType(PageType::Area)
, nDlgType(0)
@@ -447,14 +447,6 @@ DeactivateRC SvxTransparenceTabPage::DeactivatePage(SfxItemSet* _pSet)
return DeactivateRC::LeavePage;
}
-void SvxTransparenceTabPage::PointChanged(vcl::Window* , RectPoint )
-{
-}
-
-void SvxTransparenceTabPage::PointChanged(weld::DrawingArea*, RectPoint)
-{
-}
-
// Preview-Methods
bool SvxTransparenceTabPage::InitPreview(const SfxItemSet& rSet)
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index a9a368f1a560..b1a81ab56d39 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -403,7 +403,7 @@ void SvxAngleTabPage::PointChanged(weld::DrawingArea* pDrawingArea, RectPoint eR
|*
\************************************************************************/
SvxSlantTabPage::SvxSlantTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs)
- : SvxTabPage(pParent, "cui/ui/slantcornertabpage.ui", "SlantAndCornerRadius", rInAttrs)
+ : SfxTabPage(pParent, "cui/ui/slantcornertabpage.ui", "SlantAndCornerRadius", &rInAttrs)
, rOutAttrs(rInAttrs)
, pView(nullptr)
, eDlgUnit(FUNIT_NONE)
@@ -748,14 +748,6 @@ DeactivateRC SvxSlantTabPage::DeactivatePage( SfxItemSet* _pSet )
}
-void SvxSlantTabPage::PointChanged( vcl::Window*, RectPoint )
-{
-}
-
-void SvxSlantTabPage::PointChanged( weld::DrawingArea*, RectPoint )
-{
-}
-
/*************************************************************************
|*
|* Dialog for changing position and size of graphic objects