summaryrefslogtreecommitdiff
path: root/vcl/headless/svpdata.cxx
blob: 56e7b8d82db0a11c52f53193d2055fc55dd260dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#include <generic/gendata.hxx>
#include <headless/svpinst.hxx>

class SvpSalData : public SalGenericData
{
public:
    SvpSalData( SalInstance *pInstance ) : SalGenericData( SAL_DATA_SVP, pInstance ) {}
    virtual void ErrorTrapPush() SAL_OVERRIDE {}
    virtual bool ErrorTrapPop( bool ) SAL_OVERRIDE { return false; }
};

// plugin factory function
SalInstance* svp_create_SalInstance()
{
    SvpSalInstance* pInstance = new SvpSalInstance( new SalYieldMutex() );
    new SvpSalData( pInstance );
    return pInstance;
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
e/commit/basebmp?h=cp-6.4-19&id=6ff2d84ade299cb3d14d4110e4cf1a4b8070c030'>Various #include <sal/log.hxx> fixupsStephan Bergmann 2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann 2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann 2015-03-27loplugin:staticfunctionNoel Grandin 2015-03-24loplugin:constantfunction: variousNoel Grandin 2015-03-23drawing a vertical/horizontal line does not really damage 0 width/height areasCaolán McNamara 2015-02-25rename BGRU to BGRXCaolán McNamara 2015-02-25rename BGRX32 etc to BGRA32Caolán McNamara 2015-02-25give basebmp a cairo compatible 24 bit surfaceCaolán McNamara 2015-02-24make ScanlineStride an argument to createBitmapDeviceCaolán McNamara 2015-01-20Some more loplugin:cstylecast: basebmpStephan Bergmann 2015-01-13basebmap: 5e4a7a95027d979b3bdd729d7ebe950da1129b2b missed COM checkMichael Stahl 2015-01-13Fix number of sections exceeded object file format limitDavid Ostrovsky 2014-10-14basebmp: accelerated method to create a clipping device.Michael Meeks 2014-08-28Fixed some CppunitTest namesStephan Bergmann 2014-08-28keep nScanlineStride number saneCaolán McNamara 2014-07-03Remove empty gb_Module_add_targets,basebmp,Matúš Kukan 2014-06-02fdo#68849: Add header guards to all include filesJens Carl 2014-04-19fixincludeguards.sh: basebmpThomas Arnhold 2014-04-19Remove gcc3 workaround for bug long since fixed in gccChris Sherlock 2014-04-09Missing includeStephan Bergmann