diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 15:56:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-28 08:44:58 +0200 |
commit | a7acea766c7812614b95257e934648cdf737ca3f (patch) | |
tree | 334c852f8d0ca9121f650c9372d0fa38dec871ce /vcl | |
parent | 18c85f770bca04f71b03c4ca06da1a0488842512 (diff) |
loplugin:unusedmethods
Change-Id: I64df1f467986b3d70c058adff289a6dd8f00fb20
Reviewed-on: https://gerrit.libreoffice.org/54821
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/messagedialog.hxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 11 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 1 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 13 |
4 files changed, 0 insertions, 26 deletions
diff --git a/vcl/inc/messagedialog.hxx b/vcl/inc/messagedialog.hxx index cf1df6ed68aa..5b4fda5a231c 100644 --- a/vcl/inc/messagedialog.hxx +++ b/vcl/inc/messagedialog.hxx @@ -38,7 +38,6 @@ private: public: MessageDialog(vcl::Window* pParent, const OUString& rMessage, VclMessageType eMessageType, VclButtonsType eButtonsType); - MessageDialog(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription); virtual bool set_property(const OString& rKey, const OUString& rValue) override; OUString const& get_primary_text() const; OUString const& get_secondary_text() const; diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 21ca8d478e5b..f5b7efe16570 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -11405,17 +11405,6 @@ void PDFWriterImpl::setAlternateText( const OUString& rText ) } } -void PDFWriterImpl::setAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr ) -{ - if( nPageNr < 0 ) - nPageNr = m_nCurrentPage; - - if( nPageNr < 0 || nPageNr >= static_cast<sal_Int32>(m_aPages.size()) ) - return; - - m_aPages[ nPageNr ].m_nDuration = nSeconds; -} - void PDFWriterImpl::setPageTransition( PDFWriter::PageTransition eType, sal_uInt32 nMilliSec, sal_Int32 nPageNr ) { if( nPageNr < 0 ) diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 23da7f6052cc..b4c1b3a454e6 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -1268,7 +1268,6 @@ public: void setAlternateText( const OUString& rText ); // transitional effects - void setAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr ); void setPageTransition( PDFWriter::PageTransition eType, sal_uInt32 nMilliSec, sal_Int32 nPageNr ); // controls diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 9d9e05325ddf..e29619092ba5 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2320,19 +2320,6 @@ MessageDialog::MessageDialog(vcl::Window* pParent, WinBits nStyle) SetType(WindowType::MESSBOX); } -MessageDialog::MessageDialog(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription) - : Dialog(pParent, OStringToOUString(rID, RTL_TEXTENCODING_UTF8), rUIXMLDescription, WindowType::MESSBOX) - , m_eButtonsType(VclButtonsType::NONE) - , m_eMessageType(VclMessageType::Info) - , m_pOwnedContentArea(nullptr) - , m_pOwnedActionArea(nullptr) - , m_pGrid(nullptr) - , m_pImage(nullptr) - , m_pPrimaryMessage(nullptr) - , m_pSecondaryMessage(nullptr) -{ -} - MessageDialog::MessageDialog(vcl::Window* pParent, const OUString &rMessage, VclMessageType eMessageType, |