basic/source/classes/codecompletecache.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit a72fc05f49f4026f8f7f07a6254e74a8033cb740
Author:     Hossein <hoss...@libreoffice.org>
AuthorDate: Wed Mar 19 08:55:01 2025 +0100
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Mon Jul 14 22:28:20 2025 +0200

    tdf#165780 BASIC IDE code completion without experimental
    
    As code completion is always available in Tools > Options, and it is
    there for a long time, it is no longer relevant to make it visible only
    when experimental features are enabled.
    
    Change-Id: I4e80daa92b07745c1bca065c8239df283c69b883
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183171
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    Tested-by: Jenkins

diff --git a/basic/source/classes/codecompletecache.cxx 
b/basic/source/classes/codecompletecache.cxx
index 26275b570306..77c82712ddd9 100644
--- a/basic/source/classes/codecompletecache.cxx
+++ b/basic/source/classes/codecompletecache.cxx
@@ -43,7 +43,7 @@ CodeCompleteOptions::CodeCompleteOptions()
 
 bool CodeCompleteOptions::IsCodeCompleteOn()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bIsCodeCompleteOn;
+    return theCodeCompleteOptions().bIsCodeCompleteOn;
 }
 
 void CodeCompleteOptions::SetCodeCompleteOn( bool b )
@@ -53,7 +53,7 @@ void CodeCompleteOptions::SetCodeCompleteOn( bool b )
 
 bool CodeCompleteOptions::IsExtendedTypeDeclaration()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bExtendedTypeDeclarationOn;
+    return theCodeCompleteOptions().bExtendedTypeDeclarationOn;
 }
 
 void CodeCompleteOptions::SetExtendedTypeDeclaration( bool b )
@@ -63,7 +63,7 @@ void CodeCompleteOptions::SetExtendedTypeDeclaration( bool b )
 
 bool CodeCompleteOptions::IsProcedureAutoCompleteOn()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bIsProcedureAutoCompleteOn;
+    return theCodeCompleteOptions().bIsProcedureAutoCompleteOn;
 }
 
 void CodeCompleteOptions::SetProcedureAutoCompleteOn( bool b )
@@ -73,7 +73,7 @@ void CodeCompleteOptions::SetProcedureAutoCompleteOn( bool b )
 
 bool CodeCompleteOptions::IsAutoCloseQuotesOn()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bIsAutoCloseQuotesOn;
+    return theCodeCompleteOptions().bIsAutoCloseQuotesOn;
 }
 
 void CodeCompleteOptions::SetAutoCloseQuotesOn( bool b )
@@ -83,7 +83,7 @@ void CodeCompleteOptions::SetAutoCloseQuotesOn( bool b )
 
 bool CodeCompleteOptions::IsAutoCloseParenthesisOn()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bIsAutoCloseParenthesisOn;
+    return theCodeCompleteOptions().bIsAutoCloseParenthesisOn;
 }
 
 void CodeCompleteOptions::SetAutoCloseParenthesisOn( bool b )
@@ -93,7 +93,7 @@ void CodeCompleteOptions::SetAutoCloseParenthesisOn( bool b )
 
 bool CodeCompleteOptions::IsAutoCorrectOn()
 {
-    return officecfg::Office::Common::Misc::ExperimentalMode::get() && 
theCodeCompleteOptions().bIsAutoCorrectOn;
+    return theCodeCompleteOptions().bIsAutoCorrectOn;
 }
 
 void CodeCompleteOptions::SetAutoCorrectOn( bool b )

Reply via email to