summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx2
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index cba8657a6831..dbdd48b593bd 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -168,7 +168,7 @@ Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
pBase = pController->GetViewShellBase();
}
if (pBase == NULL)
- throw RuntimeException(OUString("can not get ViewShellBase for frame"), NULL);
+ throw RuntimeException("can not get ViewShellBase for frame", NULL);
// Get bindings from given arguments.
const sal_uInt64 nBindingsValue (aArguments.getOrDefault("SfxBindings", sal_uInt64(0)));
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 4c4d3bed98ca..66707c360d23 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -1582,7 +1582,7 @@ void CurrentPageSetter::operator() (bool)
// Switch to the page last edited by setting the CurrentPage
// property.
Reference<beans::XPropertySet> xSet (mrBase.GetController(), UNO_QUERY_THROW);
- xSet->setPropertyValue (OUString("CurrentPage"), aPage);
+ xSet->setPropertyValue ("CurrentPage", aPage);
}
catch (const RuntimeException&)
{