diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:42:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-02 08:09:19 +0000 |
commit | f352ee156c1f184b3aded8dc0ea3eeb68bfbca10 (patch) | |
tree | 986a61461f9087a7cf842da091d6235b350abebb /cui/source | |
parent | 175c49baef5d8dd3f7a28fec5a3dce956303dc42 (diff) |
boost::intrusive_ptr->tools::SvRef
Change-Id: I4c913dc62efe3f3747e78670f4efb0216d95c4ad
Reviewed-on: https://gerrit.libreoffice.org/28585
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 3c772f2e7aad..7d59ee9f4570 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -445,7 +445,7 @@ IMPL_LINK_NOARG_TYPED(SvxCharacterMap, FontSelectHdl, ListBox&, void) bool bNeedSubset = (aFont.GetCharSet() != RTL_TEXTENCODING_SYMBOL); if( bNeedSubset ) { - FontCharMapPtr xFontCharMap( new FontCharMap() ); + FontCharMapRef xFontCharMap( new FontCharMap() ); m_pShowSet->GetFontCharMap( xFontCharMap ); pSubsetMap = new SubsetMap( xFontCharMap ); @@ -586,7 +586,7 @@ void SvxCharacterMap::selectCharByCode(Radix radix) // Convert the code back to a character using the appropriate radix sal_UCS4 cChar = aCodeString.toUInt32(static_cast<sal_Int16> (radix)); // Use FontCharMap::HasChar(sal_UCS4 cChar) to see if the desired character is in the font - FontCharMapPtr xFontCharMap(new FontCharMap()); + FontCharMapRef xFontCharMap(new FontCharMap()); m_pShowSet->GetFontCharMap(xFontCharMap); if (xFontCharMap->HasChar(cChar)) // Select the corresponding character |