[Libreoffice-commits] core.git: Branch 'feature/aboutconfig' - cui/source
Efe Gürkan YALAMAN
efeyalaman at gmail.com
Fri Jul 26 14:03:51 PDT 2013
cui/source/options/optaboutconfig.cxx | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
New commits:
commit 0d49b2f86b155a95967657533050ab028d14d824
Author: Efe Gürkan YALAMAN <efeyalaman at gmail.com>
Date: Sat Jul 27 00:02:10 2013 +0300
Boolean and string types added for representation.
Change-Id: I5e325ec36ee6977cd8916ea1edc552db7a35af52
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index ea66de6..7b2fbad 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");
More information about the Libreoffice-commits
mailing list