diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-01 10:33:48 -0500 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-07-02 07:31:30 +0000 |
commit | 6a08067902ddc0ec61a7c7b4b0035b303f643a50 (patch) | |
tree | cd49d1824cd169d9d224925b836eaa70de27414e /include/unotools/fontcfg.hxx | |
parent | 82a1d75ee59c46e6bb361b98c520cc4eff2e770c (diff) |
OUString convertion for unotools
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707
Reviewed-on: https://gerrit.libreoffice.org/4659
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'include/unotools/fontcfg.hxx')
-rw-r--r-- | include/unotools/fontcfg.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/unotools/fontcfg.hxx b/include/unotools/fontcfg.hxx index 23ea55140655..3e7f0ac95200 100644 --- a/include/unotools/fontcfg.hxx +++ b/include/unotools/fontcfg.hxx @@ -20,7 +20,7 @@ #define _UNOTOOLS_FONTCFG_HXX #include <unotools/unotoolsdllapi.h> -#include <tools/string.hxx> +#include <tools/solar.h> #include <tools/fontenum.hxx> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -154,11 +154,11 @@ class UNOTOOLS_DLLPUBLIC DefaultFontConfiguration struct UNOTOOLS_DLLPUBLIC FontNameAttr { - String Name; - ::std::vector< String > Substitutions; - ::std::vector< String > MSSubstitutions; - ::std::vector< String > PSSubstitutions; - ::std::vector< String > HTMLSubstitutions; + OUString Name; + ::std::vector< OUString > Substitutions; + ::std::vector< OUString > MSSubstitutions; + ::std::vector< OUString > PSSubstitutions; + ::std::vector< OUString > HTMLSubstitutions; FontWeight Weight; FontWidth Width; unsigned long Type; // bitfield of IMPL_FONT_ATTR_* @@ -190,7 +190,7 @@ private: void fillSubstVector( const com::sun::star::uno::Reference< com::sun::star::container::XNameAccess > xFont, const OUString& rType, - std::vector< String >& rSubstVector ) const; + std::vector< OUString >& rSubstVector ) const; FontWeight getSubstWeight( const com::sun::star::uno::Reference< com::sun::star::container::XNameAccess > xFont, const OUString& rType ) const; FontWidth getSubstWidth( const com::sun::star::uno::Reference< com::sun::star::container::XNameAccess > xFont, @@ -205,13 +205,13 @@ public: static FontSubstConfiguration& get(); const FontNameAttr* getSubstInfo( - const String& rFontName, + const OUString& rFontName, const com::sun::star::lang::Locale& rLocale = com::sun::star::lang::Locale( OUString( "en" ), OUString(), OUString() ) ) const; - static void getMapName( const String& rOrgName, String& rShortName, String& rFamilyName, FontWeight& rWeight, FontWidth& rWidth, sal_uLong& rType ); + static void getMapName( const OUString& rOrgName, OUString& rShortName, OUString& rFamilyName, FontWeight& rWeight, FontWidth& rWidth, sal_uLong& rType ); }; } // namespace utl |