summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorEfe Gürkan YALAMAN <efeyalaman@gmail.com>2013-07-27 01:00:19 +0300
committerThorsten Behrens <tbehrens@suse.com>2013-08-01 02:19:38 +0200
commitc0d9c668069da2e52f99f875405cb8bbea0bdc30 (patch)
treeed8eebfeca5e0fd1dc5c5b062d877d1e379ecdaa /cui
parent4f4d64a5a919052376571b520f1a86d3ce9f74e4 (diff)
string and long sequence's added.
Change-Id: I46b6eed7a509ba6793f8e2b2a148acae3f4d06cc
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optaboutconfig.cxx33
1 files changed, 33 insertions, 0 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 7b2fbad3579b..56c0d0abd29f 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -167,6 +167,39 @@ void CuiAboutConfigTabPage::FillItems( Reference< XNameAccess >xNameAccess, OUSt
}
break;
+ case ::com::sun::star::uno::TypeClass_SEQUENCE :
+ //case ::com::sun::star::uno::TypeClass_ARRAY :
+ {
+ test = OUString("");
+ if( OUString("[]long").equals(aProp.getValueTypeName()) )
+ {
+ uno::Sequence<sal_Int32> seqLong;
+ if( aProp >>= seqLong )
+ {
+ //test = OUString("Congrats bro!");
+ for(sal_Int16 nInd=0; nInd < seqLong.getLength(); ++nInd)
+ {
+ OUString sNumber( OUString::valueOf(seqLong[nInd]) );
+ test += sNumber;
+ test += OUString(",");
+ }
+ }
+ }
+
+ if( OUString("[]string") == aProp.getValueTypeName() )
+ {
+ uno::Sequence< OUString > seqOUString;
+ if( aProp >>= seqOUString )
+ {
+ for( sal_Int16 nInd=0; nInd < seqOUString.getLength(); ++nInd )
+ {
+ test += seqOUString[nInd] + OUString(",");
+ }
+ }
+ }
+ }
+ break;
+
default:
{
test = OUString("test");