[Libreoffice-commits] core.git: 2 commits - sc/source
Tor Lillqvist
tml at collabora.com
Sat Oct 12 11:14:08 PDT 2013
sc/source/ui/drawfunc/fuconstr.cxx | 2 --
sc/source/ui/drawfunc/fusel.cxx | 2 --
sc/source/ui/vba/vbaapplication.cxx | 10 +---------
3 files changed, 1 insertion(+), 13 deletions(-)
New commits:
commit 33fdb0b1161ac1b8786f26de840811a34867730c
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Oct 12 21:13:38 2013 +0300
Use SAL_PATHDELIMITER
Change-Id: I5b5346dcf5b4ab3277fea28ee73bc36dc0579105
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index 0013ec1..eb3c9eb 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -101,13 +101,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::uno::UNO_QUERY;
-// #TODO is this defined somewhere else?
-#if ( defined UNX ) //unix
-#define FILE_PATH_SEPARATOR "/"
-#else // windows
-#define FILE_PATH_SEPARATOR "\\"
-#endif
-
// ============================================================================
/** Global application settings shared by all open workbooks. */
@@ -942,8 +935,7 @@ ScVbaApplication::getTemplatesPath() throw (uno::RuntimeException)
OUString SAL_CALL
ScVbaApplication::getPathSeparator() throw (uno::RuntimeException)
{
- static OUString sPathSep( FILE_PATH_SEPARATOR );
- return sPathSep;
+ return OUString( (sal_Unicode) SAL_PATHDELIMITER );
}
// ----------------------------------------------------------------------------
commit aa7d62c3e385af3029b11fa86f7dd98987dddee0
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Oct 12 21:08:42 2013 +0300
Bin pointless comments
Change-Id: I651854e653ae863577bd1f0f22ef640dd7044ebc
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx
index 381aeb4..c2d7458 100644
--- a/sc/source/ui/drawfunc/fuconstr.cxx
+++ b/sc/source/ui/drawfunc/fuconstr.cxx
@@ -63,8 +63,6 @@ FuConstruct::~FuConstruct()
sal_uInt8 FuConstruct::Command(const CommandEvent& rCEvt)
{
- // special code for non-VCL OS2/UNX removed
-
return FuDraw::Command( rCEvt );
}
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 946be47..13e1d30 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -85,8 +85,6 @@ FuSelection::~FuSelection()
sal_uInt8 FuSelection::Command(const CommandEvent& rCEvt)
{
- // special code for non-VCL OS2/UNX removed
-
return FuDraw::Command( rCEvt );
}
More information about the Libreoffice-commits
mailing list