[Libreoffice-commits] core.git: sd/qa
Tor Lillqvist
tml at collabora.com
Tue Nov 17 03:00:37 PST 2015
sd/qa/unit/import-tests.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2e88fbd747ef2fc7e2d266f7f15db37ecab7662d
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Nov 17 12:46:07 2015 +0200
WaE: loplugin:stringconstant
Change-Id: I8765ae89bcab8dc3c7360dace57a57094e5c5cc4
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index c7f0ff5..bc2b3a4 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -604,7 +604,7 @@ void SdImportTest::testFdo71075()
sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc("/sd/qa/unit/data/fdo71075.odp"), ODP);
uno::Reference< beans::XPropertySet > xPropSet( getShapeFromPage( 0, 0, xDocShRef ) );
- aAny = xPropSet->getPropertyValue( OUString("Model") );
+ aAny = xPropSet->getPropertyValue( "Model" );
CPPUNIT_ASSERT_MESSAGE( "The shape doesn't have the property", aAny.hasValue() );
uno::Reference< chart::XChartDocument > xChartDoc;
More information about the Libreoffice-commits
mailing list