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

Krisztian Pinter pin.terminator at gmail.com
Tue Mar 19 10:24:03 PDT 2013


 basic/source/runtime/methods1.cxx |    3 +--
 basic/source/runtime/runtime.cxx  |    1 -
 basic/source/runtime/step0.cxx    |    1 -
 3 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit cd49ebe1aab8c2d05243f7ac96183fb77ea0a819
Author: Krisztian Pinter <pin.terminator at gmail.com>
Date:   Tue Mar 19 17:20:20 2013 +0100

    fdo#39445 writing out tools/fsys.hxx (basic)
    
    removed unused include from runtime.cxx and step0.cxx
    changed DirEntry::GetAccessDelimiter() to SAL_PATHDELIMITER in methods1.cxx
    removed unused DirEntry declaration from methods1.cxx
    
    Change-Id: I0d8c64b6498cf5b16757edaf13e1108f279934dd
    Reviewed-on: https://gerrit.libreoffice.org/2848
    Reviewed-by: Andras Timar <atimar at suse.com>
    Tested-by: Andras Timar <atimar at suse.com>

diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 7f7529a..0f25139 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -1425,7 +1425,7 @@ RTLFUNC(GetPathSeparator)
         StarBASIC::Error( SbERR_BAD_ARGUMENT );
         return;
     }
-    rPar.Get(0)->PutString( DirEntry::GetAccessDelimiter() );
+    rPar.Get(0)->PutString( OUString( SAL_PATHDELIMITER ) );
 }
 
 RTLFUNC(ResolvePath)
@@ -1436,7 +1436,6 @@ RTLFUNC(ResolvePath)
     if ( rPar.Count() == 2 )
     {
         OUString aStr = rPar.Get(1)->GetOUString();
-        DirEntry aEntry( aStr );
         rPar.Get(0)->PutString( aStr );
     }
     else
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 52b3b23..815030d 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -17,7 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/fsys.hxx>
 #include <vcl/svapp.hxx>
 #include <tools/wldcrd.hxx>
 #include <svl/zforlist.hxx>
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx
index 225b17b..4135483 100644
--- a/basic/source/runtime/step0.cxx
+++ b/basic/source/runtime/step0.cxx
@@ -19,7 +19,6 @@
 
 #include <comphelper/string.hxx>
 #include <vcl/msgbox.hxx>
-#include <tools/fsys.hxx>
 
 #include "errobject.hxx"
 #include "runtime.hxx"


More information about the Libreoffice-commits mailing list