diff options
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/misc/UITools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index 1966f7bcbfef..59733116c6d8 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -783,21 +783,21 @@ void applyCharacterSettings( const uno::Reference< report::XReportControlFormat if ( aSettings.get( "Font" ) >>= aAwtFont ) { OUString sTemp = aAwtFont.Name; - aAwtFont.Name = OUString(); // hack to + aAwtFont.Name.clear(); // hack to _rxReportControlFormat->setFontDescriptor( aAwtFont ); _rxReportControlFormat->setCharFontName( sTemp ); } if ( aSettings.get( "FontAsian" ) >>= aAwtFont ) { OUString sTemp = aAwtFont.Name; - aAwtFont.Name = OUString(); // hack to + aAwtFont.Name.clear(); // hack to _rxReportControlFormat->setFontDescriptorAsian( aAwtFont ); _rxReportControlFormat->setCharFontNameAsian( sTemp ); } if ( aSettings.get( "FontComplex" ) >>= aAwtFont ) { OUString sTemp = aAwtFont.Name; - aAwtFont.Name = OUString(); // hack to + aAwtFont.Name.clear(); // hack to _rxReportControlFormat->setFontDescriptorComplex( aAwtFont ); _rxReportControlFormat->setCharFontNameComplex( sTemp ); } |