summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/calc/CConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/calc/CConnection.cxx')
-rw-r--r--connectivity/source/drivers/calc/CConnection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx
index a3d09d46e992..408c1a832b66 100644
--- a/connectivity/source/drivers/calc/CConnection.cxx
+++ b/connectivity/source/drivers/calc/CConnection.cxx
@@ -115,9 +115,9 @@ Reference< XSpreadsheetDocument> OCalcConnection::acquireDoc()
// open read-only as long as updating isn't implemented
Sequence<PropertyValue> aArgs(2);
aArgs[0].Name = "Hidden";
- aArgs[0].Value <<= (sal_Bool) sal_True;
+ aArgs[0].Value <<= true;
aArgs[1].Name = "ReadOnly";
- aArgs[1].Value <<= (sal_Bool) sal_True;
+ aArgs[1].Value <<= true;
if ( !m_sPassword.isEmpty() )
{