diff options
Diffstat (limited to 'vcl/unx/generic/printer/ppdparser.cxx')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index e8e2a7803fd2..c4d97a1d6142 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -144,8 +144,8 @@ namespace psp if( nLen >=5 && aStr[2] == '_' ) aLoc.Country = OStringToOUString( aStr.copy( 3, 2 ), RTL_TEXTENCODING_MS_1252 ); else - aLoc.Country = OUString(); - aLoc.Variant = OUString(); + aLoc.Country.clear(); + aLoc.Variant.clear(); } #endif } @@ -230,9 +230,9 @@ namespace psp } switch( nTry ) { - case 0: aLoc.Variant = OUString();break; - case 1: aLoc.Country = OUString();break; - case 2: aLoc.Language = OUString();break; + case 0: aLoc.Variant.clear();break; + case 1: aLoc.Country.clear();break; + case 2: aLoc.Language.clear();break; } } } |