[PATCH] Remove unused methods from unicode
Hi, I have submitted a patch for review: https://gerrit.libreoffice.org/1087 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/87/1087/1 Remove unused methods from unicode Change-Id: I12004788d58809fbf5c135f6badf5cc3c184bd17 Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- M i18nutil/inc/i18nutil/unicode.hxx M i18nutil/source/utility/unicode.cxx M unusedcode.easy 3 files changed, 0 insertions(+), 15 deletions(-) -- To view, visit https://gerrit.libreoffice.org/1087 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I12004788d58809fbf5c135f6badf5cc3c184bd17 Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Marcos Souza marcos.souza@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Remove unused methods from writerfilter
Hi, I have submitted a patch for review: https://gerrit.libreoffice.org/1074 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/74/1074/1 Remove unused methods from writerfilter Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- M unusedcode.easy M writerfilter/inc/resourcemodel/WW8ResourceModel.hxx M writerfilter/source/resourcemodel/WW8Analyzer.cxx M writerfilter/source/resourcemodel/analyzerheader M writerfilter/source/resourcemodel/qnametostrfooter 5 files changed, 0 insertions(+), 30 deletions(-) -- To view, visit https://gerrit.libreoffice.org/1074 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I63b0510fea80c12579985fbc4d4eb4646376e25b Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Marcos Souza marcos.souza@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Remove unused methods
Hi, I have submitted a patch for review: https://gerrit.libreoffice.org/937 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/37/937/1 Remove unused methods Change-Id: Icf07223023f518a9a54fcf94fd9698bbd2890668 Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- M editeng/inc/editeng/svxacorr.hxx M editeng/source/misc/svxacorr.cxx M jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx M jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx M oox/source/drawingml/textliststyle.cxx M sc/qa/extras/sccellrangeobj.cxx M sc/qa/unit/subsequent_filters-test.cxx M sfx2/source/control/thumbnailviewacc.cxx M sfx2/source/control/thumbnailviewacc.hxx M test/inc/test/sheet/xcellrangesquery.hxx M test/source/sheet/xcellrangesquery.cxx M unusedcode.easy M vcl/inc/vcl/virdev.hxx M vcl/source/edit/textdoc.hxx M vcl/source/edit/texteng.cxx M vcl/source/gdi/virdev.cxx 16 files changed, 0 insertions(+), 154 deletions(-) -- To view, visit https://gerrit.libreoffice.org/937 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icf07223023f518a9a54fcf94fd9698bbd2890668 Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Marcos Souza marcos.souza@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Remove unused methods
Hi, I have submitted a patch for review: https://gerrit.libreoffice.org/742 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/42/742/1 Remove unused methods Just a cleanup. Change-Id: I8fc47c39ede4e5b06af2144667ede5e9c2d5b397 Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- M unotools/inc/unotools/useroptions.hxx M unotools/source/config/useroptions.cxx M unusedcode.easy 3 files changed, 0 insertions(+), 24 deletions(-) -- To view, visit https://gerrit.libreoffice.org/742 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8fc47c39ede4e5b06af2144667ede5e9c2d5b397 Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Marcos Souza marcos.souza@gmail.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Remove unused methods
Just a cleanup. Change-Id: I8fc47c39ede4e5b06af2144667ede5e9c2d5b397 Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- unotools/inc/unotools/useroptions.hxx |8 unotools/source/config/useroptions.cxx |8 unusedcode.easy|8 3 files changed, 24 deletions(-) diff --git a/unotools/inc/unotools/useroptions.hxx b/unotools/inc/unotools/useroptions.hxx index 502fcce5..a7b2267 100644 --- a/unotools/inc/unotools/useroptions.hxx +++ b/unotools/inc/unotools/useroptions.hxx @@ -78,14 +78,6 @@ public: rtl::OUString GetFullName () const; // set the address token -void SetCompany(rtl::OUString const); -void SetFirstName (rtl::OUString const); -void SetID (rtl::OUString const); -void SetState (rtl::OUString const); -void SetCountry(rtl::OUString const); -void SetPosition (rtl::OUString const); -void SetTitle (rtl::OUString const); -void SetFax(rtl::OUString const); void SetCustomerNumber (rtl::OUString const); sal_Bool IsTokenReadonly (sal_uInt16 nToken) const; diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index a8efcd1..1da014a 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -317,14 +317,6 @@ OUString SvtUserOptions::GetCustomerNumber () const { return GetToken(USER_OPT_C // // setters // -void SvtUserOptions::SetCompany (OUString const sToken) { SetToken(USER_OPT_COMPANY, sToken); } -void SvtUserOptions::SetFirstName (OUString const sToken) { SetToken(USER_OPT_FIRSTNAME, sToken); } -void SvtUserOptions::SetID(OUString const sToken) { SetToken(USER_OPT_ID,sToken); } -void SvtUserOptions::SetState (OUString const sToken) { SetToken(USER_OPT_STATE, sToken); } -void SvtUserOptions::SetCountry (OUString const sToken) { SetToken(USER_OPT_COUNTRY, sToken); } -void SvtUserOptions::SetPosition (OUString const sToken) { SetToken(USER_OPT_POSITION, sToken); } -void SvtUserOptions::SetTitle (OUString const sToken) { SetToken(USER_OPT_TITLE, sToken); } -void SvtUserOptions::SetFax (OUString const sToken) { SetToken(USER_OPT_FAX, sToken); } void SvtUserOptions::SetCustomerNumber (OUString const sToken) { SetToken(USER_OPT_CUSTOMERNUMBER, sToken); } // --- diff --git a/unusedcode.easy b/unusedcode.easy index a4612b7..1ac9306 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -7,14 +7,6 @@ ScVbaFormatooo::vba::excel::XRange::setNumberFormat(com::sun::star::lang::Loca ScVbaFormatooo::vba::excel::XStyle::getAddIndent() ScVbaFormatooo::vba::excel::XStyle::setAddIndent(com::sun::star::uno::Any const) ScVbaFormatooo::vba::excel::XStyle::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const) -SvtUserOptions::SetCompany(rtl::OUString const) -SvtUserOptions::SetCountry(rtl::OUString const) -SvtUserOptions::SetFax(rtl::OUString const) -SvtUserOptions::SetFirstName(rtl::OUString const) -SvtUserOptions::SetID(rtl::OUString const) -SvtUserOptions::SetPosition(rtl::OUString const) -SvtUserOptions::SetState(rtl::OUString const) -SvtUserOptions::SetTitle(rtl::OUString const) TextEngine::GetLeftMargin() const ThumbnailView::GetItemCount() const ThumbnailView::ImplScroll(Point const) -- 1.7.9.5 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[PATCH] Remove unused methods from PDFI
Made available under the MPL/LGPLv3+ From 4e1c72fa61e3e8d754ff3e47afe435286dcf467b Mon Sep 17 00:00:00 2001 From: Kate Goss katherine.g...@gmail.com Date: Sat, 11 Feb 2012 16:31:27 + Subject: [PATCH 1/3] Remove unused pdfi::DrawXmlEmitter::GetBreakIterator() --- sdext/source/pdfimport/tree/drawtreevisiting.cxx | 12 sdext/source/pdfimport/tree/drawtreevisiting.hxx |1 - unusedcode.easy |1 - 3 files changed, 0 insertions(+), 14 deletions(-) diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index fd08894..2913878 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -68,18 +68,6 @@ const ::com::sun::star::uno::Reference ::com::sun::star::i18n::XBreakIterator return mxBreakIter; } -const ::com::sun::star::uno::Reference ::com::sun::star::i18n::XBreakIterator DrawXmlEmitter::GetBreakIterator() -{ -if ( !mxBreakIter.is() ) -{ -Reference XComponentContext xContext( m_rEmitContext.m_xContext, uno::UNO_SET_THROW ); -Reference XMultiComponentFactory xMSF( xContext-getServiceManager(), uno::UNO_SET_THROW ); -Reference XInterface xInterface = xMSF-createInstanceWithContext(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.i18n.BreakIterator)), xContext); -mxBreakIter = uno::Reference i18n::XBreakIterator ( xInterface, uno::UNO_QUERY ); -} -return mxBreakIter; -} - const ::com::sun::star::uno::Reference ::com::sun::star::i18n::XCharacterClassification DrawXmlEmitter::GetCharacterClassification() { if ( !mxCharClass.is() ) diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.hxx b/sdext/source/pdfimport/tree/drawtreevisiting.hxx index e957448..eb9bc23 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.hxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.hxx @@ -107,7 +107,6 @@ namespace pdfi ); public: -const ::com::sun::star::uno::Reference ::com::sun::star::i18n::XBreakIterator GetBreakIterator(); const ::com::sun::star::uno::Reference ::com::sun::star::i18n::XCharacterClassification GetCharacterClassification(); enum DocType{ DRAW_DOC, IMPRESS_DOC }; explicit DrawXmlEmitter(EmitContext rEmitContext, DocType eDocType, PDFIProcessor rProc ) : diff --git a/unusedcode.easy b/unusedcode.easy index 0b128a6..3e65bce 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1386,7 +1386,6 @@ oox::xls::WorksheetHelper::getRow(int) const oox::xls::WorksheetHelper::getRows(oox::ValueRange const) const oox::xls::WorksheetHelper::putFormulaString(com::sun::star::table::CellAddress const, rtl::OUString const) const oox::xls::Xf::hasAnyUsedFlags() const -pdfi::DrawXmlEmitter::GetBreakIterator() pdfi::PDFIProcessor::sortDocument(bool) pdfi::PDFIRawAdaptor::odfConvert(rtl::OUString const, com::sun::star::uno::Referencecom::sun::star::io::XOutputStream const, com::sun::star::uno::Referencecom::sun::star::task::XStatusIndicator const) psp::GetCommandLineTokenCount(rtl::OString const) -- 1.7.9 From 481c35cf2b6cc3a0c0f1914a265544619d75010e Mon Sep 17 00:00:00 2001 From: Kate Goss katherine.g...@gmail.com Date: Sat, 11 Feb 2012 16:44:09 + Subject: [PATCH 2/3] Remove unused pdfi::PDFIProcessor::sortDocument(bool) --- sdext/source/pdfimport/tree/pdfiprocessor.cxx | 10 -- sdext/source/pdfimport/tree/pdfiprocessor.hxx |1 - unusedcode.easy |1 - 3 files changed, 0 insertions(+), 12 deletions(-) diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx index 2e933e5..985e5f0 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx @@ -908,16 +908,6 @@ void PDFIProcessor::endIndicator() m_xStatusIndicator-end(); } -void PDFIProcessor::sortDocument( bool bDeep ) -{ -for( std::list Element* ::iterator it = m_pDocument-Children.begin(); - it != m_pDocument-Children.end(); ++it ) -{ -if( dynamic_castPageElement*(*it) != NULL ) -sortElements( *it, bDeep ); -} -} - static bool lr_tb_sort( Element* pLeft, Element* pRight ) { // first: top-bottom sorting diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.hxx b/sdext/source/pdfimport/tree/pdfiprocessor.hxx index 349a4a9..314988d 100644 --- a/sdext/source/pdfimport/tree/pdfiprocessor.hxx +++ b/sdext/source/pdfimport/tree/pdfiprocessor.hxx @@ -109,7 +109,6 @@ namespace pdfi sal_Int32 getFontId( const FontAttributes rAttr ) const; void sortElements( Element* pElement, bool bDeep = false ); -void sortDocument( bool bDeep = false ); rtl::OUString mirrorString( const rtl::OUString i_rInString ); diff --git a/unusedcode.easy b/unusedcode.easy index 3e65bce..b3a6ddd 100755 --- a/unusedcode.easy +++