diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 08:44:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 10:22:12 +0100 |
commit | e1683c2d13a744344ee6a7b06917f65c11d8b35b (patch) | |
tree | ab5002c802f7bc045703dfe9161e15b610788044 /xmlsecurity | |
parent | f6e7b94042070241cd1cfb1d7f8610fe1801b4f2 (diff) |
callcatcher: update unused code
lots of ResID stuff going away now
Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/inc/xmlsecurity/certificateviewer.hxx | 1 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/certificateviewer.cxx | 6 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.cxx | 22 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.hxx | 2 |
4 files changed, 0 insertions, 31 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx index 650adc5c8714..eaf2fa901a74 100644 --- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx @@ -66,7 +66,6 @@ class CertificateViewerTP : public TabPage protected: CertificateViewer* mpDlg; public: - CertificateViewerTP( Window* _pParent, const ResId& _rResId, CertificateViewer* _pDlg ); CertificateViewerTP( Window* _pParent, const OString& rID, const OUString& rUIXMLDescription, CertificateViewer* _pDlg ); void SetTabDlg( CertificateViewer* _pTabDlg ) diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index 762bc1748ef7..b704530e5ca3 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -66,12 +66,6 @@ CertificateViewer::~CertificateViewer() delete mpTabCtrl->GetTabPage(mnPathId); } -CertificateViewerTP::CertificateViewerTP( Window* _pParent, const ResId& _rResId, CertificateViewer* _pDlg ) - :TabPage ( _pParent, _rResId ) - ,mpDlg ( _pDlg ) -{ -} - CertificateViewerTP::CertificateViewerTP( Window* _pParent, const OString& rID, const OUString& rUIXMLDescription, CertificateViewer* _pDlg ) : TabPage(_pParent, rID, rUIXMLDescription) diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx index d6d707b6c72d..7a6498acf3b2 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.cxx +++ b/xmlsecurity/source/dialogs/resourcemanager.cxx @@ -356,28 +356,6 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) _rCtrl.SetSizePixel( aSize ); return nWidth; } - - void AlignAfterImage( const FixedImage& _rImage, Control& _rCtrl, long _nXOffset ) - { - Point aPos( _rImage.GetPosPixel() ); - Size aSize( _rImage.GetSizePixel() ); - long n = aPos.X(); - n += aSize.Width(); - n += _nXOffset; - aPos.X() = n; - n = aPos.Y(); - n += aSize.Height() / 2; // y-position is in the middle of the image - n -= _rCtrl.GetSizePixel().Height() / 2; // center Control - aPos.Y() = n; - _rCtrl.SetPosPixel( aPos ); - } - - void AlignAfterImage( const FixedImage& _rImage, FixedInfo& _rFI, long _nXOffset ) - { - AlignAfterImage( _rImage, static_cast< Control& >( _rFI ), _nXOffset ); - ShrinkToFitWidth( _rFI ); - } } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/dialogs/resourcemanager.hxx b/xmlsecurity/source/dialogs/resourcemanager.hxx index aca055742fa4..3010f2abffdb 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.hxx +++ b/xmlsecurity/source/dialogs/resourcemanager.hxx @@ -50,8 +50,6 @@ namespace XmlSec OUString GetHexString( const ::com::sun::star::uno::Sequence< sal_Int8 >& _rSeq, const char* _pSep = ":", sal_uInt16 _nLineBreak = 0xFFFF ); long ShrinkToFitWidth( Control& _rCtrl, long _nOffs = 0 ); // return = new width - void AlignAfterImage( const FixedImage& _rImage, Control& _rCtrl, long _nXOffset = 0 ); - void AlignAfterImage( const FixedImage& _rImage, FixedInfo& _rFI, long _nXOffset = 0 ); } #define XMLSEC_RES(id) ResId(id,*XmlSec::GetResMgr()) |