summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-03-25 15:28:25 +0000
committerOliver Bolte <obo@openoffice.org>2008-03-25 15:28:25 +0000
commitb152af0fd6037de6875a943fc8de54013dfbd08a (patch)
tree8962672d91bc6fa30db99209ddeae15fa1d3bc99 /linguistic/source/lngsvcmgr.cxx
parenta2587cbece122617fc85e2fce7e51fd97a561f65 (diff)
INTEGRATION: CWS tl41_DEV300 (1.27.10); FILE MERGED
2008/02/05 15:33:11 tl 1.27.10.1: #i80287#, #i81365# changes to linguistic.xcu and for dictionaries as extensions
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r--linguistic/source/lngsvcmgr.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 5d7575eb2663..9a934a5d3c5a 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: lngsvcmgr.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: vg $ $Date: 2007-05-25 12:24:12 $
+ * last change: $Author: obo $ $Date: 2008-03-25 16:28:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1573,6 +1573,8 @@ static Sequence< OUString > GetLangSvcList( const Any &rVal )
static Sequence< OUString > GetLangSvc( const Any &rVal )
{
Sequence< OUString > aRes;
+ if (!rVal.hasValue())
+ return aRes;
// allowing for a sequence here as well (even though it should only
// be a string) makes coding easier in other places since one needs