[Libreoffice-commits] core.git: Branch 'feature/cmis' - sfx2/source

Cao Cuong Ngo cao.cuong.ngo at gmail.com
Sat Jul 13 06:02:18 PDT 2013


 sfx2/source/dialog/dinfdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4844a020da357eacb15831bf3cd7e095b06bb960
Author: Cao Cuong Ngo <cao.cuong.ngo at gmail.com>
Date:   Sat Jul 13 15:01:02 2013 +0200

    Cmis properties dialog
    
    when value is empty, set to String type
    
    Change-Id: Ic9cabfa6437342ff8962e9d758e745d802e8f73b

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index a79f5f0..a508577 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -2534,7 +2534,7 @@ void CmisPropertiesWindow::AddLine( const OUString& sId, const OUString& sName,
     SvtSysLocale aSysLocale;
     const LocaleDataWrapper& rLocaleWrapper = aSysLocale.GetLocaleData();
     pNewLine->m_aName.SetText( sName );
-    OUString sType = CMIS_TYPE_ANY;
+    OUString sType = CMIS_TYPE_STRING;
     OUString sValue;
 
     if ( rAny >>= nTmpValue )


More information about the Libreoffice-commits mailing list