[Libreoffice-commits] .: basic/source

Michael Meeks michael at kemper.freedesktop.org
Thu Jun 23 11:41:29 PDT 2011


 basic/source/app/app.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b38de1687c1b93d1084899f8565a56e01f6a2e4
Author: Luke Symes <allsymes at gmail.com>
Date:   Thu Jun 23 20:55:31 2011 +1200

    Fix build by updating to new api
    
    Hi,
    
    I was rebuilding master, and had to change a line in libs-core which used
    the old api for SetWindowState. Could this get pushed to master (if it's not
    already done by the time people read this)?
    
    Kind regards,
    
    Luke.
    
    Hi,<div><br></div><div>I was rebuilding master, and had to change a line in libs-core which used the old api for SetWindowState. Could this get pushed to master (if it&#39;s not already done by the time people read this)?</div>
    <div><br></div><div>Kind regards,</div><div><br></div><div>Luke.</div>
    
    >From b759a7cf43544a3eb9614d506637652ba3b20465 Mon Sep 17 00:00:00 2001
    From: Luke Symes <allsymes at gmail.com>
    Date: Thu, 23 Jun 2011 20:50:45 +1200
    Subject: [PATCH] Update for new api for SetWindowState

diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx
index b40576e..0650b83 100644
--- a/basic/source/app/app.cxx
+++ b/basic/source/app/app.cxx
@@ -569,7 +569,7 @@ BasicFrame::BasicFrame() : WorkWindow( NULL,
     {
         Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") ));
         aConf.SetGroup("WinGeom");
-        SetWindowState( aConf.ReadKey("WinParams", "") );
+        SetWindowState( ::rtl::OString(aConf.ReadKey("WinParams", "")) );
     }
 
     aLineNum.SetTimeoutHdl( LINK( this, BasicFrame, ShowLineNr ) );


More information about the Libreoffice-commits mailing list