summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2013-03-19 17:20:20 +0100
committerAndras Timar <atimar@suse.com>2013-03-19 17:23:43 +0000
commitcd49ebe1aab8c2d05243f7ac96183fb77ea0a819 (patch)
tree8205790be0a52baf57311cd9791995d27571acc3
parent63a66e57870832dc17b64f40eefcbe5482c1c54e (diff)
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@suse.com> Tested-by: Andras Timar <atimar@suse.com>
-rw-r--r--basic/source/runtime/methods1.cxx3
-rw-r--r--basic/source/runtime/runtime.cxx1
-rw-r--r--basic/source/runtime/step0.cxx1
3 files changed, 1 insertions, 4 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 7f7529a1a6de..0f25139269b0 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 52b3b2343033..815030d76e87 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 225b17bf2d55..413548308c81 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"