diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 08:36:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 09:02:03 +0100 |
commit | d24df3fc66614eda59d38f6ab409be73f8a20dad (patch) | |
tree | 0e8d4a1c123b12b6718b185e338ff6e1d0cb1d09 /xmlsecurity | |
parent | 4347d844646907ba31dc1e0c7f53c5a93d986c2a (diff) |
callcatcher: another round of ResId removals
Change-Id: Ia3acdb3501b7735820258cb090e731f5814bc07f
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.cxx | 10 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.hxx | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx index 7a6498acf3b2..6dc5703255ca 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.cxx +++ b/xmlsecurity/source/dialogs/resourcemanager.cxx @@ -346,16 +346,6 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString) return aStr.makeStringAndClear(); } - - long ShrinkToFitWidth( Control& _rCtrl, long _nOffs ) - { - long nWidth = _rCtrl.GetTextWidth( _rCtrl.GetText() ); - Size aSize( _rCtrl.GetSizePixel() ); - nWidth += _nOffs; - aSize.Width() = nWidth; - _rCtrl.SetSizePixel( aSize ); - return nWidth; - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/dialogs/resourcemanager.hxx b/xmlsecurity/source/dialogs/resourcemanager.hxx index 3010f2abffdb..5d7cebcf4a73 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.hxx +++ b/xmlsecurity/source/dialogs/resourcemanager.hxx @@ -48,8 +48,6 @@ namespace XmlSec OUString GetContentPart( const OUString& _rRawString ); 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 } #define XMLSEC_RES(id) ResId(id,*XmlSec::GetResMgr()) |