summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/codecompletecache.hxx12
-rw-r--r--include/basic/sbxvar.hxx2
2 files changed, 7 insertions, 7 deletions
diff --git a/include/basic/codecompletecache.hxx b/include/basic/codecompletecache.hxx
index 591daf9186a0..07e6c37f3e43 100644
--- a/include/basic/codecompletecache.hxx
+++ b/include/basic/codecompletecache.hxx
@@ -52,22 +52,22 @@ public:
CodeCompleteOptions();
static bool IsCodeCompleteOn();
- static void SetCodeCompleteOn( const bool& b );
+ static void SetCodeCompleteOn( bool b );
static bool IsExtendedTypeDeclaration();
- static void SetExtendedTypeDeclaration( const bool& b );
+ static void SetExtendedTypeDeclaration( bool b );
static bool IsProcedureAutoCompleteOn();
- static void SetProcedureAutoCompleteOn( const bool& b );
+ static void SetProcedureAutoCompleteOn( bool b );
static bool IsAutoCloseQuotesOn();
- static void SetAutoCloseQuotesOn( const bool& b );
+ static void SetAutoCloseQuotesOn( bool b );
static bool IsAutoCloseParenthesisOn();
- static void SetAutoCloseParenthesisOn( const bool& b );
+ static void SetAutoCloseParenthesisOn( bool b );
static bool IsAutoCorrectOn();
- static void SetAutoCorrectOn( const bool& b );
+ static void SetAutoCorrectOn( bool b );
};
class BASIC_DLLPUBLIC CodeCompleteDataCache
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 489212184057..13178fa188bc 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -176,7 +176,7 @@ public:
void PutDecimal( css::bridge::oleautomation::Decimal& rAutomationDec );
bool PutDecimal( SbxDecimal* pDecimal ); // This function is needed for Windows build, don't remove
void fillAutomationDecimal( css::bridge::oleautomation::Decimal& rAutomationDec ) const;
- bool PutCurrency( const sal_Int64& );
+ bool PutCurrency( sal_Int64 );
// Interface for CDbl in Basic
static SbxError ScanNumIntnl( const OUString& rSrc, double& nVal, bool bSingle = false );