summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-04 10:04:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-04 16:44:54 +0100
commit57aa9ea3a6d178fcea016fadb005dfbcc2ca2e8d (patch)
tree6407cb0a354b9a14731a4ab3a9c8eb80ec7a7a01 /vcl
parentf7f47654787c8fd1764a8d827bb6a84b17fe3882 (diff)
readme not a sufficient indicator
Change-Id: Idd5cd004b873280e202b16c182356977045bdab4 Reviewed-on: https://gerrit.libreoffice.org/81993 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/svpclient.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index 93fa276b61f2..2396c6fa69f2 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -25,14 +25,13 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/awt/ImageScaleMode.hpp>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/button.hxx>
#include <vcl/lstbox.hxx>
-#include <vcl/toolkit/imgctrl.hxx>
+#include <vcl/fixed.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/graph.hxx>
@@ -96,7 +95,7 @@ class MyWin : public WorkWindow
{
VclPtr<PushButton> m_aListButton;
VclPtr<ListBox> m_aSvpBitmaps;
- VclPtr<ImageControl> m_aImage;
+ VclPtr<FixedImage> m_aImage;
VclPtr<PushButton> m_aQuitButton;
public:
MyWin( vcl::Window* pParent, WinBits nWinStyle );
@@ -126,7 +125,7 @@ MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) :
WorkWindow( pParent, nWinStyle ),
m_aListButton(VclPtr<PushButton>::Create(this, 0)),
m_aSvpBitmaps(VclPtr<ListBox>::Create(this, WB_BORDER)),
- m_aImage(VclPtr<ImageControl>::Create(this, WB_BORDER)),
+ m_aImage(VclPtr<FixedImage>::Create(this, WB_BORDER)),
m_aQuitButton(VclPtr<PushButton>::Create(this, 0))
{
m_aListButton->SetPosSizePixel( Point( 10, 10 ), Size( 120, 25 ) );
@@ -139,7 +138,6 @@ MyWin::MyWin( vcl::Window* pParent, WinBits nWinStyle ) :
m_aSvpBitmaps->Show();
m_aImage->SetPosSizePixel( Point( 170, 10 ), Size( 400, 400 ) );
- m_aImage->SetScaleMode( css::awt::ImageScaleMode::NONE );
m_aImage->Show();
m_aQuitButton->SetPosSizePixel( Point( 10, 300 ), Size( 120,25 ) );