oovbaapi: add Application.OperatingSystem property
stub As documented at: https://msdn.microsoft.com/en-us/vba/excel-vba/articles/application-operatingsystem-property-excel Change-Id: I2ccf17c698eb631e7b5ca420752b2268d2142d2a Reviewed-on: https://gerrit.libreoffice.org/39208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
This commit is contained in:
@@ -67,6 +67,7 @@ interface XApplication
|
||||
[attribute, readonly] string LibraryPath;
|
||||
[attribute, readonly] string TemplatesPath;
|
||||
[attribute, readonly] string PathSeparator;
|
||||
[attribute, readonly] string OperatingSystem;
|
||||
|
||||
void setDefaultFilePath([in] string DefaultFilePath) raises(com::sun::star::script::BasicErrorException);
|
||||
|
||||
|
@@ -914,6 +914,14 @@ ScVbaApplication::getPathSeparator()
|
||||
return OUString( (sal_Unicode) SAL_PATHDELIMITER );
|
||||
}
|
||||
|
||||
OUString SAL_CALL
|
||||
ScVbaApplication::getOperatingSystem()
|
||||
{
|
||||
// TODO implement
|
||||
SAL_WARN("sc", "not implemented");
|
||||
return OUString();
|
||||
}
|
||||
|
||||
// Helpers for Intersect and Union
|
||||
|
||||
namespace {
|
||||
|
@@ -67,6 +67,7 @@ public:
|
||||
virtual OUString SAL_CALL getPathSeparator() override;
|
||||
virtual OUString SAL_CALL getLibraryPath() override;
|
||||
virtual OUString SAL_CALL getTemplatesPath() override;
|
||||
virtual OUString SAL_CALL getOperatingSystem() override;
|
||||
|
||||
virtual OUString SAL_CALL getName() override;
|
||||
virtual sal_Bool SAL_CALL getDisplayAlerts() override;
|
||||
|
Reference in New Issue
Block a user