summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/inspector/InspectorTextPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/inspector/InspectorTextPanel.cxx')
-rw-r--r--svx/source/sidebar/inspector/InspectorTextPanel.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index 4eb4a4889f8c..7c713696320a 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -20,12 +20,14 @@
#include <sal/config.h>
#include <string_view>
+#include <svx/dialmgr.hxx>
#include <svx/sidebar/InspectorTextPanel.hxx>
#include <svl/languageoptions.hxx>
#include <com/sun/star/awt/FontSlant.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <inspectorvalues.hrc>
using namespace css;
@@ -68,7 +70,7 @@ static bool GetPropertyValues(const OUString& rPropName, const uno::Any& rAny, O
if (bool bValue; rAny >>= bValue)
{
- rString = OUString::boolean(bValue);
+ rString = SvxResId(bValue ? RID_TRUE : RID_FALSE); // tdf#139136
}
else if (OUString aValue; (rAny >>= aValue) && !(aValue.isEmpty()))
{