[Libreoffice-commits] core.git: sc/source

Noel Grandin noel at peralex.com
Tue May 19 00:57:19 PDT 2015


 sc/source/filter/excel/xiescher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 32bfeac4b160dc522b19171e861668598e21fbe8
Author: Noel Grandin <noel at peralex.com>
Date:   Tue May 19 09:56:05 2015 +0200

    fix Windows build
    
    after my commit 10749bbf8247f0b17201b33f95a090dfc4fc3211
    "remove the last of the OUString #defines in header files"
    
    Change-Id: I0db573b59571ed859d14e5e7d5550cfa0335234d

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 0e540c4..ff10e8b 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -2874,7 +2874,7 @@ OUString XclImpPictureObj::GetOleStorageName() const
     OUString aStrgName;
     if( (mbEmbedded || mbLinked) && !mbControl && (mnStorageId > 0) )
     {
-        aStrgName = mbEmbedded ? EXC_STORAGE_OLE_EMBEDDED : EXC_STORAGE_OLE_LINKED;
+        aStrgName = mbEmbedded ? OUString(EXC_STORAGE_OLE_EMBEDDED) : OUString(EXC_STORAGE_OLE_LINKED);
         static const sal_Char spcHexChars[] = "0123456789ABCDEF";
         for( sal_uInt8 nIndex = 32; nIndex > 0; nIndex -= 4 )
             aStrgName += OUString( sal_Unicode( spcHexChars[ ::extract_value< sal_uInt8 >( mnStorageId, nIndex - 4, 4 ) ] ) );


More information about the Libreoffice-commits mailing list