diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 09:14:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 08:23:53 +0000 |
commit | 427678b9cf7fe968c10877dd6facecd8552fd291 (patch) | |
tree | c9efd0d9757e12660f1377abf1ea88f70266eb5a /cui | |
parent | 250995d2b8d8ad544110d3daeb2f61089bff0aa5 (diff) |
remove noise UUUU tags in comments
Change-Id: Id8a2940ae7348bf75ca967f31adf8489dc678d00
Reviewed-on: https://gerrit.libreoffice.org/35161
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 1 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/page.hxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/bbdlg.cxx | 5 | ||||
-rw-r--r-- | cui/source/tabpages/page.cxx | 53 |
5 files changed, 17 insertions, 50 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 6b9640122360..f09b5b0fa318 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1050,7 +1050,6 @@ VclPtr<AbstractSvxSearchSimilarityDialog> AbstractDialogFactory_Impl::CreateSvxS return VclPtr<AbstractSvxSearchSimilarityDialog_Impl>::Create( pDlg ); } -//UUUU VclPtr<SfxAbstractTabDialog> AbstractDialogFactory_Impl::CreateSvxBorderBackgroundDlg( vcl::Window* pParent, const SfxItemSet& rCoreSet, diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 2cf6761d6dc1..9c1b19725d90 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -505,7 +505,7 @@ public: virtual VclPtr<AbstractFmShowColsDialog> CreateFmShowColsDialog() override; virtual VclPtr<AbstractSvxZoomDialog> CreateSvxZoomDialog( vcl::Window* pParent, const SfxItemSet& rCoreSet) override; - //UUUU add for SvxBorderBackgroundDlg + // add for SvxBorderBackgroundDlg virtual VclPtr<SfxAbstractTabDialog> CreateSvxBorderBackgroundDlg( vcl::Window* pParent, const SfxItemSet& rCoreSet, diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index d0317b66fbfa..1f86cb772874 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -64,7 +64,6 @@ <SvxLRSpaceItem>: <SID_ATTR_LRSPACE> */ -//UUUU struct SvxPage_Impl; typedef sal_uInt16 MarginPosition; class SvxPageDescPage : public SfxTabPage @@ -139,14 +138,11 @@ private: Paper ePaperStart; Paper ePaperEnd; - //UUUU SvxPage_Impl* pImpl; MarginPosition m_nPos; VclPtr<Printer> mpDefPrinter; bool mbDelPrinter : 1; - - //UUUU - bool mbEnableDrawingLayerFillStyles : 1; + bool mbEnableDrawingLayerFillStyles : 1; void Init_Impl(); DECL_LINK( LayoutHdl_Impl, ListBox&, void); diff --git a/cui/source/tabpages/bbdlg.cxx b/cui/source/tabpages/bbdlg.cxx index 23422c352118..0cef97d9ce1b 100644 --- a/cui/source/tabpages/bbdlg.cxx +++ b/cui/source/tabpages/bbdlg.cxx @@ -20,7 +20,6 @@ #include "bbdlg.hxx" #include "border.hxx" #include "backgrnd.hxx" -//UUUU #include "svx/svxids.hrc" #include "cuitabarea.hxx" @@ -45,7 +44,7 @@ SvxBorderBackgroundDlg::SvxBorderBackgroundDlg(vcl::Window *pParent, AddTabPage("borders", SvxBorderTabPage::Create, nullptr ); if (mbEnableDrawingLayerFillStyles) { - //UUUU Here we want full DrawingLayer FillStyle access, so add Area and Transparency TabPages + // Here we want full DrawingLayer FillStyle access, so add Area and Transparency TabPages m_nAreaPageId = AddTabPage("area", SvxAreaTabPage::Create, nullptr); m_nTransparencePageId = AddTabPage("transparence", SvxTransparenceTabPage::Create, nullptr); } @@ -65,7 +64,7 @@ void SvxBorderBackgroundDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPa static_cast< SvxBackgroundTabPage& >(rTabPage).ShowSelector(); } } - //UUUU inits for Area and Transparency TabPages + // inits for Area and Transparency TabPages // The selection attribute lists (XPropertyList derivates, e.g. XColorList for // the color table) need to be added as items (e.g. SvxColorTableItem) to make // these pages find the needed attributes for fill style suggestions. diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index d85c1aa62a8e..0b0f750afad9 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -54,11 +54,8 @@ #include <svl/slstitm.hxx> #include <svl/aeitem.hxx> #include <sfx2/request.hxx> - -//UUUU #include <svx/xdef.hxx> #include <svx/unobrushitemhelper.hxx> - #include <svx/SvxNumOptionsTabPageHelper.hxx> // static ---------------------------------------------------------------- @@ -140,21 +137,6 @@ bool IsEqualSize_Impl( const SvxSizeItem* pSize, const Size& rSize ) #define MARGIN_TOP ( (MarginPosition)0x0004 ) #define MARGIN_BOTTOM ( (MarginPosition)0x0008 ) -//UUUU -//struct SvxPage_Impl -//{ -// MarginPosition m_nPos; -// Printer* mpDefPrinter; -// bool mbDelPrinter; -// -// SvxPage_Impl() : -// m_nPos( 0 ), -// mpDefPrinter( 0 ), -// mbDelPrinter( false ) {} -// -// ~SvxPage_Impl() { if ( mbDelPrinter ) delete mpDefPrinter; } -//}; - // class SvxPageDescPage -------------------------------------------------- VclPtr<SfxTabPage> SvxPageDescPage::Create( vcl::Window* pParent, const SfxItemSet* rSet ) @@ -170,16 +152,9 @@ SvxPageDescPage::SvxPageDescPage( vcl::Window* pParent, const SfxItemSet& rAttr eMode ( SVX_PAGE_MODE_STANDARD ), ePaperStart ( PAPER_A3 ), ePaperEnd ( PAPER_ENV_DL ), - - //UUUU - // pImpl ( new SvxPage_Impl ), - - //UUUU - m_nPos( 0 ), - mpDefPrinter( nullptr ), - mbDelPrinter( false ), - - //UUUU + m_nPos ( 0 ), + mpDefPrinter ( nullptr ), + mbDelPrinter ( false ), mbEnableDrawingLayerFillStyles(false) { get(m_pPaperSizeBox,"comboPageFormat"); @@ -1168,7 +1143,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(mbEnableDrawingLayerFillStyles) { - //UUUU create FillAttributes directly from DrawingLayer FillStyle entries + // create FillAttributes directly from DrawingLayer FillStyle entries aHeaderFillAttributes.reset(new drawinglayer::attribute::SdrAllFillAttributesHelper(rTmpSet)); } else @@ -1177,7 +1152,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(SfxItemState::SET == rTmpSet.GetItemState(nWhich)) { - //UUUU create FillAttributes from SvxBrushItem + // create FillAttributes from SvxBrushItem const SvxBrushItem& rItem = static_cast< const SvxBrushItem& >(rTmpSet.Get(nWhich)); SfxItemSet aTempSet(*rTmpSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST); @@ -1212,7 +1187,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(mbEnableDrawingLayerFillStyles) { - //UUUU create FillAttributes directly from DrawingLayer FillStyle entries + // create FillAttributes directly from DrawingLayer FillStyle entries aFooterFillAttributes.reset(new drawinglayer::attribute::SdrAllFillAttributesHelper(rTmpSet)); } else @@ -1221,7 +1196,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(SfxItemState::SET == rTmpSet.GetItemState(nWhich)) { - //UUUU create FillAttributes from SvxBrushItem + // create FillAttributes from SvxBrushItem const SvxBrushItem& rItem = static_cast< const SvxBrushItem& >(rTmpSet.Get(nWhich)); SfxItemSet aTempSet(*rTmpSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST); @@ -1246,7 +1221,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(mbEnableDrawingLayerFillStyles) { - //UUUU create FillAttributes directly from DrawingLayer FillStyle entries + // create FillAttributes directly from DrawingLayer FillStyle entries aPageFillAttributes.reset(new drawinglayer::attribute::SdrAllFillAttributesHelper(rSet)); } else @@ -1255,7 +1230,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) if(pItem) { - //UUUU create FillAttributes from SvxBrushItem + // create FillAttributes from SvxBrushItem const SvxBrushItem& rItem = static_cast< const SvxBrushItem& >(*pItem); SfxItemSet aTempSet(*rSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST); @@ -1316,7 +1291,7 @@ void SvxPageDescPage::InitHeadFoot_Impl( const SfxItemSet& rSet ) if(mbEnableDrawingLayerFillStyles) { - //UUUU create FillAttributes directly from DrawingLayer FillStyle entries + // create FillAttributes directly from DrawingLayer FillStyle entries aHeaderFillAttributes.reset(new drawinglayer::attribute::SdrAllFillAttributesHelper(rHeaderSet)); } else @@ -1325,7 +1300,7 @@ void SvxPageDescPage::InitHeadFoot_Impl( const SfxItemSet& rSet ) if(rHeaderSet.GetItemState(nWhich) >= SfxItemState::DEFAULT) { - //UUUU aBspWin.SetHdColor(rItem.GetColor()); + // aBspWin.SetHdColor(rItem.GetColor()); const SvxBrushItem& rItem = static_cast< const SvxBrushItem& >(rHeaderSet.Get(nWhich)); SfxItemSet aTempSet(*rHeaderSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST); @@ -1378,7 +1353,7 @@ void SvxPageDescPage::InitHeadFoot_Impl( const SfxItemSet& rSet ) if(mbEnableDrawingLayerFillStyles) { - //UUUU create FillAttributes directly from DrawingLayer FillStyle entries + // create FillAttributes directly from DrawingLayer FillStyle entries aFooterFillAttributes.reset(new drawinglayer::attribute::SdrAllFillAttributesHelper(rFooterSet)); } else @@ -1387,7 +1362,7 @@ void SvxPageDescPage::InitHeadFoot_Impl( const SfxItemSet& rSet ) if(rFooterSet.GetItemState(nWhich) >= SfxItemState::DEFAULT) { - //UUUU aBspWin.SetFtColor(rItem.GetColor()); + // aBspWin.SetFtColor(rItem.GetColor()); const SvxBrushItem& rItem = static_cast<const SvxBrushItem&>(rFooterSet.Get(nWhich)); SfxItemSet aTempSet(*rFooterSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST); @@ -1699,8 +1674,6 @@ void SvxPageDescPage::PageCreated(const SfxAllItemSet& aSet) const SfxAllEnumItem* pPaperStartItem = aSet.GetItem<SfxAllEnumItem>(SID_PAPER_START, false); const SfxAllEnumItem* pPaperEndItem = aSet.GetItem<SfxAllEnumItem>(SID_PAPER_END, false); const SfxStringListItem* pCollectListItem = aSet.GetItem<SfxStringListItem>(SID_COLLECT_LIST, false); - - //UUUU const SfxBoolItem* pSupportDrawingLayerFillStyleItem = aSet.GetItem<SfxBoolItem>(SID_DRAWINGLAYER_FILLSTYLES, false); if (pModeItem) |