cui/source/options/optaboutconfig.cxx |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

New commits:
commit 0d49b2f86b155a95967657533050ab028d14d824
Author: Efe Gürkan YALAMAN <efeyala...@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");
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to