[PATCH] fdo#39445

Krisztian Pinter (via Code Review) gerrit at gerrit.libreoffice.org
Tue Mar 19 09:25:51 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2848

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/48/2848/1

fdo#39445

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
---
M basic/source/runtime/methods1.cxx
M basic/source/runtime/runtime.cxx
M basic/source/runtime/step0.cxx
3 files changed, 1 insertion(+), 4 deletions(-)



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 @@
         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 @@
     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"

-- 
To view, visit https://gerrit.libreoffice.org/2848
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d8c64b6498cf5b16757edaf13e1108f279934dd
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Krisztian Pinter <pin.terminator at gmail.com>



More information about the LibreOffice mailing list