summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx2
-rw-r--r--sd/source/filter/eppt/epptso.cxx4
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.cxx2
-rw-r--r--sd/source/filter/eppt/pptx-stylesheet.cxx2
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx2
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index 853f089d0c26..9b48cd8495ff 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -66,7 +66,7 @@ public:
// This is a bit of a fudge, we do this to ensure that ScGlobals::ensure,
// which is a private symbol to us, gets called
- m_xDrawComponent = getMultiServiceFactory()->createInstance(OUString("com.sun.star.comp.Draw.PresentationDocument"));
+ m_xDrawComponent = getMultiServiceFactory()->createInstance("com.sun.star.comp.Draw.PresentationDocument");
CPPUNIT_ASSERT_MESSAGE("no impress component!", m_xDrawComponent.is());
}
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 2f901f55ec9e..16552a8d3e5a 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -2553,7 +2553,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
// try to get the aspect when available
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
xShapeProps( mXShape, ::com::sun::star::uno::UNO_QUERY_THROW );
- xShapeProps->getPropertyValue( OUString( "Aspect" ) ) >>= nAspect;
+ xShapeProps->getPropertyValue("Aspect") >>= nAspect;
}
catch( ::com::sun::star::uno::Exception& )
{}
@@ -3125,7 +3125,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
// try to get the aspect when available
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
xShapeProps( mXShape, ::com::sun::star::uno::UNO_QUERY_THROW );
- xShapeProps->getPropertyValue( OUString( "Aspect" ) ) >>= nAspect;
+ xShapeProps->getPropertyValue("Aspect") >>= nAspect;
}
catch( ::com::sun::star::uno::Exception& )
{}
diff --git a/sd/source/filter/eppt/pptexsoundcollection.cxx b/sd/source/filter/eppt/pptexsoundcollection.cxx
index efa58fdbc02b..78f606e67c2c 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.cxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.cxx
@@ -38,7 +38,7 @@ ExSoundEntry::ExSoundEntry(const OUString& rString)
::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >(),
comphelper::getProcessComponentContext() );
sal_Int64 nVal = 0;
- ::cppu::convertPropertyValue( nVal, aCnt.getPropertyValue( OUString( "Size" ) ) );
+ ::cppu::convertPropertyValue( nVal, aCnt.getPropertyValue("Size") );
nFileSize = (sal_uInt32)nVal;
}
catch( ::com::sun::star::uno::Exception& )
diff --git a/sd/source/filter/eppt/pptx-stylesheet.cxx b/sd/source/filter/eppt/pptx-stylesheet.cxx
index d9fd8fd8f4c4..8e9e70498e8a 100644
--- a/sd/source/filter/eppt/pptx-stylesheet.cxx
+++ b/sd/source/filter/eppt/pptx-stylesheet.cxx
@@ -239,7 +239,7 @@ void PPTExParaSheet::SetStyleSheet( const ::com::sun::star::uno::Reference< ::co
if ( nLineSpacing > 0 ) // if nLinespacing is < 0 the linespacing is an absolute spacing
{
sal_Bool bFixedLineSpacing = sal_False;
- uno::Any aAny = rXPropSet->getPropertyValue( OUString( "FontIndependentLineSpacing" ) );
+ uno::Any aAny = rXPropSet->getPropertyValue("FontIndependentLineSpacing");
if( !(aAny >>= bFixedLineSpacing) || !bFixedLineSpacing )
{
const FontCollectionEntry* pDesc = rFontCollection.GetById( rCharLevel.mnFont );
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&)
{