diff options
author | Efe Gürkan YALAMAN <efeyalaman@gmail.com> | 2013-07-27 00:02:10 +0300 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-08-01 02:19:37 +0200 |
commit | 4f4d64a5a919052376571b520f1a86d3ce9f74e4 (patch) | |
tree | d3dabcdc015c101b9f066aac71fa0191a3911ee6 /cui | |
parent | c8b0501c9bb93ee643018230a73d1b02fe8c1062 (diff) |
Boolean and string types added for representation.
Change-Id: I5e325ec36ee6977cd8916ea1edc552db7a35af52
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index ea66de6eaeb7..7b2fbad3579b 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -145,6 +145,28 @@ void CuiAboutConfigTabPage::FillItems( Reference< XNameAccess >xNameAccess, OUSt } break; + case ::com::sun::star::uno::TypeClass_BOOLEAN : + { + sal_Bool bVal = sal_False; + if(aProp >>= bVal ) + { + OUString sBoolean( OUString::valueOf( bVal ) ); + test = sBoolean; + } + } + break; + + case ::com::sun::star::uno::TypeClass_STRING : + { + OUString sString; + if(aProp >>= sString) + { + test = sString; + } + + } + break; + default: { test = OUString("test"); |