diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/bastyp/helper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx index d549ab6c0d42..6c357ddcc6c8 100644 --- a/sfx2/source/bastyp/helper.cxx +++ b/sfx2/source/bastyp/helper.cxx @@ -158,7 +158,7 @@ std::vector< OUString > SfxContentHelper::GetHelpTreeViewContents( const OUStrin bool bFolder = xRow->getBoolean(2); OUString aRow = aTitle + "\t"; aRow += xContentAccess->queryContentIdentifierString() + "\t"; - aRow += bFolder ? OUString("1") : OUString("0"); + aRow += bFolder ? OUStringLiteral("1") : OUStringLiteral("0"); aProperties.push_back( aRow ); } } diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 3cc88838a489..f8e1b2821b6b 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1050,7 +1050,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c } else { - aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); + aBuffer.append(aEvent.IsEnabled ? OUStringLiteral("enabled") : OUStringLiteral("disabled")); } } else if (aEvent.FeatureURL.Path == "Cut" || @@ -1090,7 +1090,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "ThesaurusDialog") { - aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); + aBuffer.append(aEvent.IsEnabled ? OUStringLiteral("enabled") : OUStringLiteral("disabled")); } else if (aEvent.FeatureURL.Path == "AssignLayout" || aEvent.FeatureURL.Path == "StatusSelectionMode" || |