summaryrefslogtreecommitdiff
path: root/basebmp/test/bmpdemo.cxx
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2012-10-27 15:34:06 -0200
committerCaolán McNamara <caolanm@redhat.com>2012-10-31 00:54:35 +0000
commit9cb8bef68b67b5f2fba3bee38cd8449ea804b86e (patch)
treefa3c15fea1272c0240b433ff2e7d033406b01a98 /basebmp/test/bmpdemo.cxx
parentacfdd93f31ae59bb688c27d2fd57e1940a6b9370 (diff)
::rtl::OUString -> OUString in basebmp
Change-Id: Id9cde5559165c61da825938153e92df999233a59 Reviewed-on: https://gerrit.libreoffice.org/928 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basebmp/test/bmpdemo.cxx')
-rw-r--r--basebmp/test/bmpdemo.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/basebmp/test/bmpdemo.cxx b/basebmp/test/bmpdemo.cxx
index 18f4cab399ac..a7f39fcce3a6 100644
--- a/basebmp/test/bmpdemo.cxx
+++ b/basebmp/test/bmpdemo.cxx
@@ -959,7 +959,7 @@ class TestWindow : public Dialog
public:
TestWindow() : Dialog( (Window *) NULL )
{
- SetText( rtl::OUString( "VIGRA test" ) );
+ SetText( OUString( "VIGRA test" ) );
SetSizePixel( Size( 1024, 1024 ) );
EnablePaint( true );
Show();
@@ -1059,16 +1059,15 @@ void TestWindow::Paint( const Rectangle& /*rRect*/ )
basebmp::Format::THIRTYTWO_BIT_TC_MASK ));
{
- ::rtl::OUString aSvg;
+ OUString aSvg;
+
basegfx::B2DPolyPolygon aPoly;
- basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString( "m0 0 h7 v7 h-7 z" ) );
- basegfx::tools::importFromSvgD( aPoly,
- ::rtl::OUString( "m2 2 h3 v3 h-3 z" ) );
+ basegfx::tools::importFromSvgD( aPoly, OUString( "m0 0 h7 v7 h-7 z" ) );
+
+ basegfx::tools::importFromSvgD( aPoly, OUString( "m2 2 h3 v3 h-3 z" ) );
- pDevice->fillPolyPolygon(
- aPoly,
+ pDevice->fillPolyPolygon( aPoly,
basebmp::Color(0xFFFFFFFF),
basebmp::DrawMode_PAINT );
}
@@ -1084,7 +1083,7 @@ void TestWindow::Paint( const Rectangle& /*rRect*/ )
pMask->drawLine( aPt111, aPt222, aCol333, basebmp::DrawMode_PAINT );
- ::rtl::OUString aSvg( "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" );
+ OUString aSvg( "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" );
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly, aSvg );
pMask->clear(basebmp::Color(0xFFFFFFFF));