summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog/langbox.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-10-12 12:00:07 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-10-12 12:00:07 +0000
commit9630dcab1654dee3242fb677de0280caf9df4d89 (patch)
tree7fb13e23b7f86f80301b856d222a3bd1f44988a9 /svx/source/dialog/langbox.cxx
parent#91448#changed font setting from MS Sans Serif to MS Shell Dlg (diff)
downloadcore-9630dcab1654dee3242fb677de0280caf9df4d89.tar.gz
core-9630dcab1654dee3242fb677de0280caf9df4d89.zip
#82924#: gcc-3.0.1 needs lvalue
Diffstat (limited to 'svx/source/dialog/langbox.cxx')
-rw-r--r--svx/source/dialog/langbox.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index b3ea45e59213..35615bce3558 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: langbox.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: tl $ $Date: 2001-06-21 09:51:30 $
+ * last change: $Author: hr $ $Date: 2001-10-12 13:00:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -309,14 +309,18 @@ void SvxLanguageBox::SetLanguageList( INT16 nLangList,
if (LANG_LIST_HYPH_USED & nLangList)
{
Reference< XHyphenator > xTmp( SvxGetHyphenator() );
- if (xTmp.is())
- aHyphUsedLang = lcl_LocaleSeqToLangSeq( xTmp->getLocales() );
+ if (xTmp.is()) {
+ Sequence < Locale > aLocaleSequence( xTmp->getLocales() );
+ aHyphUsedLang = lcl_LocaleSeqToLangSeq( aLocaleSequence );
+ }
}
if (LANG_LIST_THES_USED & nLangList)
{
Reference< XThesaurus > xTmp( SvxGetThesaurus() );
- if (xTmp.is())
- aThesUsedLang = lcl_LocaleSeqToLangSeq( xTmp->getLocales() );
+ if (xTmp.is()) {
+ Sequence < Locale > aLocaleSequence( xTmp->getLocales() );
+ aThesUsedLang = lcl_LocaleSeqToLangSeq( aLocaleSequence );
+ }
}
SvxLanguageTable aLangTable;