Kaydet (Commit) bcdc5f56 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Tomaž Vajngerl

TSCP: make the configuration key names shorter

Change-Id: If28e283666f4e1f87758c401b2d4fb5986eb6d8c
Reviewed-on: https://gerrit.libreoffice.org/44281Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst 49d53fa8
......@@ -539,9 +539,9 @@
<node oor:name="Classification">
<prop oor:name="Policy" oor:type="xs:short">
</prop>
<prop oor:name="AdvancedClassificationDialogIntellectualPropertySectionExpanded" oor:type="xs:boolean">
<prop oor:name="IntellectualPropertySectionExpanded" oor:type="xs:boolean">
</prop>
<prop oor:name="AdvancedClassificationDialogIntellectualPropertyTextInputIsFreeForm" oor:type="xs:boolean">
<prop oor:name="IntellectualPropertyTextInputIsFreeForm" oor:type="xs:boolean">
</prop>
</node>
</oor:component-data>
......@@ -6393,15 +6393,15 @@
</info>
<value>3</value>
</prop>
<prop oor:name="AdvancedClassificationDialogIntellectualPropertySectionExpanded" oor:type="xs:boolean" oor:nillable="false">
<prop oor:name="IntellectualPropertySectionExpanded" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies if the intellectual property section in the advanced classification dialog should be expanded when the dialog is open.</desc>
</info>
<value>true</value>
</prop>
<prop oor:name="AdvancedClassificationDialogIntellectualPropertyTextInputIsFreeForm" oor:type="xs:boolean" oor:nillable="false">
<prop oor:name="IntellectualPropertyTextInputIsFreeForm" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies if the intellectual property text is free-form or limited to ';', '/' and ' ' characters.</desc>
<desc>Specifies if the intellectual property text in the advanced classification is free-form or limited to ';', '/' and ' ' (space) and delete key.</desc>
</info>
<value>true</value>
</prop>
......
......@@ -41,7 +41,7 @@ VCL_BUILDER_FACTORY(IntellectualPropertyPartEdit)
void IntellectualPropertyPartEdit::KeyInput(const KeyEvent& rKeyEvent)
{
bool bTextIsFreeForm = officecfg::Office::Common::Classification::AdvancedClassificationDialogIntellectualPropertyTextInputIsFreeForm::get();
bool bTextIsFreeForm = officecfg::Office::Common::Classification::IntellectualPropertyTextInputIsFreeForm::get();
if (bTextIsFreeForm)
{
......@@ -230,7 +230,7 @@ ClassificationDialog::ClassificationDialog(vcl::Window* pParent, const bool bPer
m_pRecentlyUsedListBox->SetSelectHdl(LINK(this, ClassificationDialog, SelectRecentlyUsedHdl));
bool bExpand = officecfg::Office::Common::Classification::AdvancedClassificationDialogIntellectualPropertySectionExpanded::get();
bool bExpand = officecfg::Office::Common::Classification::IntellectualPropertySectionExpanded::get();
m_pIntellectualPropertyExpander->set_expanded(bExpand);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment