diff options
-rw-r--r-- | vbahelper/source/msforms/vbacheckbox.cxx | 2 | ||||
-rw-r--r-- | vbahelper/source/msforms/vbaradiobutton.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/vbacheckbox.cxx b/vbahelper/source/msforms/vbacheckbox.cxx index 75c3d21efe7d..bd00682ecd85 100644 --- a/vbahelper/source/msforms/vbacheckbox.cxx +++ b/vbahelper/source/msforms/vbacheckbox.cxx @@ -53,7 +53,7 @@ ScVbaCheckbox::getValue() throw (css::uno::RuntimeException, std::exception) // return uno::makeAny( nValue ); // I must be missing something MSO says value should be -1 if selected, 0 if not // selected - return uno::makeAny( ( nValue == -1 ) ? sal_True : sal_False ); + return uno::makeAny( nValue == -1 ); } void SAL_CALL diff --git a/vbahelper/source/msforms/vbaradiobutton.cxx b/vbahelper/source/msforms/vbaradiobutton.cxx index 612371c08387..4f62e84323e6 100644 --- a/vbahelper/source/msforms/vbaradiobutton.cxx +++ b/vbahelper/source/msforms/vbaradiobutton.cxx @@ -52,7 +52,7 @@ ScVbaRadioButton::getValue() throw (css::uno::RuntimeException, std::exception) // return uno::makeAny( nValue ); // I must be missing something MSO says value should be -1 if selected, 0 if not // selected - return uno::makeAny( ( nValue == -1 ) ? sal_True : sal_False ); + return uno::makeAny( nValue == -1 ); } |