core.git: 2 commits - editeng/source extensions/source
editeng/source/editeng/edtspell.cxx |1 - editeng/source/editeng/textconv.cxx |2 -- editeng/source/items/xmlcnitm.cxx|1 - editeng/source/misc/splwrap.cxx |1 - editeng/source/misc/unolingu.cxx |1 - editeng/source/xml/xmltxtexp.cxx |2 -- editeng/source/xml/xmltxtimp.cxx |2 -- extensions/source/abpilot/abpfinalpage.cxx |4 extensions/source/abpilot/abspage.cxx|1 - extensions/source/abpilot/abspilot.cxx |1 - extensions/source/abpilot/admininvokationimpl.cxx|1 - extensions/source/abpilot/unodialogabp.cxx |1 - extensions/source/bibliography/bibconfig.cxx |1 - extensions/source/bibliography/bibcont.cxx |1 - extensions/source/bibliography/bibmod.cxx|4 extensions/source/bibliography/bibview.cxx |1 - extensions/source/dbpilots/commonpagesdbp.cxx|1 - extensions/source/dbpilots/controlwizard.cxx |1 - extensions/source/dbpilots/gridwizard.cxx|1 - extensions/source/dbpilots/groupboxwiz.cxx |1 - extensions/source/dbpilots/listcombowizard.cxx |1 - extensions/source/propctrlr/MasterDetailLinkDialog.cxx |1 - extensions/source/propctrlr/buttonnavigationhandler.cxx |3 --- extensions/source/propctrlr/cellbindinghandler.cxx |1 - extensions/source/propctrlr/cellbindinghelper.cxx|1 - extensions/source/propctrlr/controlfontdialog.cxx|1 - extensions/source/propctrlr/editpropertyhandler.cxx |2 -- extensions/source/propctrlr/eformspropertyhandler.cxx|1 - extensions/source/propctrlr/formcomponenthandler.cxx |1 - extensions/source/propctrlr/formlinkdialog.cxx |1 - extensions/source/propctrlr/pcrcommon.cxx|3 --- extensions/source/propctrlr/pcrunodialogs.cxx|1 - extensions/source/propctrlr/propcontroller.cxx |2 -- extensions/source/propctrlr/propertyhandler.cxx |1 - extensions/source/propctrlr/submissionhandler.cxx|2 -- extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx |2 -- extensions/source/update/check/updatecheck.cxx |1 - 37 files changed, 54 deletions(-) New commits: commit 6b4552e325b38748cb75d3df269082fb8a38751a Author: Gabor Kelemen AuthorDate: Fri Mar 29 14:06:23 2024 +0100 Commit: Gabor Kelemen CommitDate: Mon Apr 8 15:10:01 2024 +0200 tdf#146619 Drop unused 'using namespace' in: editeng/ Change-Id: Ifbad3b15b462a0586eda219f16698d0b42109832 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165535 Tested-by: Jenkins Reviewed-by: Gabor Kelemen diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx index 514e70f93025..b989755d8be4 100644 --- a/editeng/source/editeng/edtspell.cxx +++ b/editeng/source/editeng/edtspell.cxx @@ -32,7 +32,6 @@ #include using namespace com::sun::star::uno; -using namespace com::sun::star::beans; using namespace com::sun::star::linguistic2; diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx index 0534d3420cc4..3d4c03e1ddeb 100644 --- a/editeng/source/editeng/textconv.cxx +++ b/editeng/source/editeng/textconv.cxx @@ -29,8 +29,6 @@ using namespace com::sun::star; using namespace com::sun::star::uno; -using namespace com::sun::star::beans; -using namespace com::sun::star::linguistic2; TextConvWrapper::TextConvWrapper( weld::Widget* pWindow, const Reference< XComponentContext >& rxContext, diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index 7507ed2afdd0..71f75a910246 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -29,7 +29,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::container; -using namespace ::com::sun::star::lang; using namespace ::com::sun::star::xml; diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index dd59113a6975..67c3dc28e64a 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -46,7 +46,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::beans; using namespace ::com::sun::star::linguistic2; diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index bd1fae50654e..e252dc3233e6 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -48,7 +48,6 @@ usi
[Libreoffice-commits] core.git: 2 commits - editeng/source extensions/source filter/source forms/source formula/source hwpfilter/source i18npool/source l10ntools/inc lotuswordpro/source offapi/com rsc
editeng/source/editeng/editdoc.hxx|2 +- extensions/source/bibliography/bibbeam.cxx|2 +- extensions/source/bibliography/bibshortcuthandler.hxx |4 ++-- extensions/source/bibliography/bibview.hxx|2 +- extensions/source/propctrlr/usercontrol.hxx |2 +- filter/source/flash/swfexporter.hxx |4 ++-- filter/source/flash/swfwriter.hxx |2 +- filter/source/msfilter/eschesdo.hxx |2 +- forms/source/component/Columns.hxx|2 +- formula/source/ui/dlg/structpg.hxx|2 +- hwpfilter/source/hwpreader.cxx| 14 +++--- hwpfilter/source/hwpreader.hxx|6 +++--- i18npool/source/search/levdis.hxx |2 +- l10ntools/inc/po.hxx |4 ++-- lotuswordpro/source/filter/lwpfribtext.hxx|2 +- lotuswordpro/source/filter/xfilter/xffloatframe.hxx |2 +- lotuswordpro/source/filter/xfilter/xfpagemaster.hxx |8 offapi/com/sun/star/xml/sax/XFastContextHandler.idl |8 rsc/inc/rsccont.hxx |4 ++-- 19 files changed, 37 insertions(+), 37 deletions(-) New commits: commit b06854aecd34d92a8e792d40aac8e7a86a64 Author: Noel Grandin Date: Fri Nov 11 11:34:40 2016 +0200 fix spelling XFastAttrbitueList->XFastAttributeList Change-Id: I618cadba909acbe935217026af7da496894dbd5e diff --git a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl index 3acc135..8abe44a 100644 --- a/offapi/com/sun/star/xml/sax/XFastContextHandler.idl +++ b/offapi/com/sun/star/xml/sax/XFastContextHandler.idl @@ -53,7 +53,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface or operation. @param Attribs -Contains a XFastAttrbitueList to access the attributes +Contains a XFastAttributeList to access the attributes from the element. */ @@ -68,7 +68,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface @param Name contains the elements local name. @param Attribs -Contains a XFastAttrbitueList to access the attributes +Contains a XFastAttributeList to access the attributes from the element. */ void startUnknownElement( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) @@ -102,7 +102,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface namespace combined with an arithmetic or operation. @param Attribs -Contains a XFastAttrbitueList to access the attributes +Contains a XFastAttributeList to access the attributes from the element. */ XFastContextHandler createFastChildContext( [in] long Element, [in] XFastAttributeList Attribs ) @@ -116,7 +116,7 @@ interface XFastContextHandler: com::sun::star::uno::XInterface @param Name contains the elements local name. @param Attribs -Contains a XFastAttrbitueList to access the attributes +Contains a XFastAttributeList to access the attributes the element. */ XFastContextHandler createUnknownChildContext( [in] string Namespace, [in] string Name, [in] XFastAttributeList Attribs ) commit 1ba4bb6397e5be8f30c79371a330077829c74742 Author: Noel Grandin Date: Fri Nov 11 11:33:26 2016 +0200 loplugin:countusersofdefaultparams in editeng..rsc Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 182d09f..2013258 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -196,7 +196,7 @@ public: CharAttribList(); ~CharAttribList(); -voiddumpAsXml(struct _xmlTextWriter* pWriter = nullptr) const; +voiddumpAsXml(struct _xmlTextWriter* pWriter) const; voidDeleteEmptyAttribs( SfxItemPool& rItemPool ); diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index a3e7e53..b0dd0c0 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -84,7 +84,7 @@ namespace bib public: -BibGridwin(vcl::Window* pParent, WinBits nStyle = WB_3DLOOK ); +BibGridwin(vcl::Window* pParent, WinBits nStyle ); virtual ~BibGridwin() override; virtual void dispose() override; diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx index 12e28eb..1e9099d 100644 --- a/extensions/source/bibliography/bibshortcu
[Libreoffice-commits] core.git: 2 commits - editeng/source extensions/source forms/source framework/source
editeng/source/items/borderline.cxx |4 - editeng/source/items/itemtype.cxx |2 editeng/source/uno/unofield.cxx | 33 +--- extensions/source/bibliography/bibload.cxx |2 extensions/source/propctrlr/formcomponenthandler.cxx|4 - forms/source/misc/limitedformats.cxx|4 - framework/source/fwe/classes/imagewrapper.cxx |4 - framework/source/fwe/classes/rootactiontriggercontainer.cxx |4 - 8 files changed, 26 insertions(+), 31 deletions(-) New commits: commit 826be413d6f3242ee5c5672ca0f1f2f8ac6b417a Author: Takeshi Abe Date: Sat Jul 27 10:05:44 2013 +0900 Mark as const/static Change-Id: I9000ea607e1df140ac18d59f7c4d4abd999c71d1 diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index 70ff353..47bb613 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -426,7 +426,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa if ( nStyle == DOUBLE ) { -static SvxBorderStyle aDoubleStyles[] = +static const SvxBorderStyle aDoubleStyles[] = { DOUBLE, THINTHICK_SMALLGAP, @@ -437,7 +437,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa THICKTHIN_LARGEGAP }; -size_t const len = SAL_N_ELEMENTS(aDoubleStyles); +static size_t const len = SAL_N_ELEMENTS(aDoubleStyles); long nWidth = 0; SvxBorderStyle nTestStyle(NONE); for (size_t i = 0; i < len && nWidth == 0; ++i) diff --git a/editeng/source/items/itemtype.cxx b/editeng/source/items/itemtype.cxx index 58506af..519471c 100644 --- a/editeng/source/items/itemtype.cxx +++ b/editeng/source/items/itemtype.cxx @@ -143,7 +143,7 @@ XubString GetColorString( const Color& rCol ) RGB_COLORDATA( rCol.GetRed(), rCol.GetGreen(), rCol.GetBlue() ); sal_uInt16 nColor = 0; -static ColorData aColAry[] = { +static const ColorData aColAry[] = { COL_BLACK, COL_BLUE, COL_GREEN, COL_CYAN, COL_RED, COL_MAGENTA, COL_BROWN, COL_GRAY, COL_LIGHTGRAY, COL_LIGHTBLUE, COL_LIGHTGREEN, COL_LIGHTCYAN, diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx index e2c87be..aef8c65 100644 --- a/editeng/source/uno/unofield.cxx +++ b/editeng/source/uno/unofield.cxx @@ -69,7 +69,7 @@ public: const SfxItemPropertySet* ImplGetFieldItemPropertySet( sal_Int32 mnId ) { -static SfxItemPropertyMapEntry aExDateTimeFieldPropertyMap_Impl[] = +static const SfxItemPropertyMapEntry aExDateTimeFieldPropertyMap_Impl[] = { { MAP_CHAR_LEN(UNO_TC_PROP_DATE_TIME), WID_DATE, &::getCppuType((const util::DateTime*)0), 0, 0 }, { MAP_CHAR_LEN(UNO_TC_PROP_IS_FIXED), WID_BOOL1, &::getBooleanCppuType(), 0, 0 }, @@ -77,16 +77,16 @@ const SfxItemPropertySet* ImplGetFieldItemPropertySet( sal_Int32 mnId ) { MAP_CHAR_LEN(UNO_TC_PROP_NUMFORMAT), WID_INT32, &::getCppuType((const sal_Int32*)0), 0, 0 }, {0,0,0,0,0,0} }; -static SfxItemPropertySet aExDateTimeFieldPropertySet_Impl(aExDateTimeFieldPropertyMap_Impl); +static const SfxItemPropertySet aExDateTimeFieldPropertySet_Impl(aExDateTimeFieldPropertyMap_Impl); -static SfxItemPropertyMapEntry aDateTimeFieldPropertyMap_Impl[] = +static const SfxItemPropertyMapEntry aDateTimeFieldPropertyMap_Impl[] = { { MAP_CHAR_LEN(UNO_TC_PROP_IS_DATE), WID_BOOL2, &::getBooleanCppuType(), 0, 0 }, {0,0,0,0,0,0} }; -static SfxItemPropertySet aDateTimeFieldPropertySet_Impl(aDateTimeFieldPropertyMap_Impl); +static const SfxItemPropertySet aDateTimeFieldPropertySet_Impl(aDateTimeFieldPropertyMap_Impl); -static SfxItemPropertyMapEntry aUrlFieldPropertyMap_Impl[] = +static const SfxItemPropertyMapEntry aUrlFieldPropertyMap_Impl[] = { { MAP_CHAR_LEN(UNO_TC_PROP_URL_FORMAT), WID_INT16, &::getCppuType((const sal_Int16*)0), 0, 0 }, @@ -95,24 +95,24 @@ const SfxItemPropertySet* ImplGetFieldItemPropertySet( sal_Int32 mnId ) { MAP_CHAR_LEN(UNO_TC_PROP_URL),WID_STRING3, &::getCppuType((const OUString*)0), 0, 0 }, {0,0,0,0,0,0} }; -static SfxItemPropertySet aUrlFieldPropertySet_Impl(aUrlFieldPropertyMap_Impl); +static const SfxItemPropertySet aUrlFieldPropertySet_Impl(aUrlFieldPropertyMap_Impl); -static SfxItemPropertyMapEntry aEmptyPropertyMap_Impl[] = +static const SfxItemPropertyMapEntry aEmptyPropertyMap_Impl[] = { {0,0,0,0,0,0} }; -static SfxItemPropertySet aEmptyPropertySet_Impl(aEmptyPropertyMap_Impl); +static const SfxItemPropertySet aEmptyPropertySet_Impl(aEmptyPropertyMap_Impl); -static SfxItemPropertyMapEntry