loplugin:unusedfields

Change-Id: I979592adb978c3757a1e54615021ee424a2e02bf
Reviewed-on: https://gerrit.libreoffice.org/20892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
Noel Grandin
2015-12-23 16:41:52 +02:00
committed by Noel Grandin
parent 4dfba3b590
commit e3a31fcca7
48 changed files with 52 additions and 168 deletions

View File

@@ -43,7 +43,7 @@ Manager::~Manager()
uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString& rURL ) uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const OUString& rURL )
throw (uno::RuntimeException, std::exception) throw (uno::RuntimeException, std::exception)
{ {
Player* pPlayer( new Player( mxMgr ) ); Player* pPlayer( new Player );
uno::Reference< media::XPlayer > xRet( pPlayer ); uno::Reference< media::XPlayer > xRet( pPlayer );
const INetURLObject aURL( rURL ); const INetURLObject aURL( rURL );

View File

@@ -278,9 +278,8 @@ void MissingPluginInstallerThread::execute() {
// - Player - // - Player -
Player::Player( const uno::Reference< lang::XMultiServiceFactory >& rxMgr ) : Player::Player() :
GstPlayer_BASE( m_aMutex ), GstPlayer_BASE( m_aMutex ),
mxMgr( rxMgr ),
mpPlaybin( nullptr ), mpPlaybin( nullptr ),
mbFakeVideo (false ), mbFakeVideo (false ),
mnUnmutedVolume( 0 ), mnUnmutedVolume( 0 ),

View File

@@ -43,7 +43,7 @@ class Player : public ::cppu::BaseMutex,
{ {
public: public:
explicit Player( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxMgr ); explicit Player();
virtual ~Player(); virtual ~Player();
void preparePlaybin( const OUString& rURL, GstElement *pSink ); void preparePlaybin( const OUString& rURL, GstElement *pSink );
@@ -77,8 +77,6 @@ public:
virtual void SAL_CALL disposing() override; virtual void SAL_CALL disposing() override;
protected: protected:
css::uno::Reference< css::lang::XMultiServiceFactory > mxMgr;
OUString maURL; OUString maURL;
// Add elements and pipeline here // Add elements and pipeline here

View File

@@ -34,13 +34,11 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2; using namespace ::com::sun::star::chart2;
ChartTypeDialog::ChartTypeDialog( vcl::Window* pParent ChartTypeDialog::ChartTypeDialog( vcl::Window* pParent
, const uno::Reference< frame::XModel >& xChartModel , const uno::Reference< frame::XModel >& xChartModel )
, const uno::Reference< uno::XComponentContext >& xContext )
: ModalDialog( pParent, "ChartTypeDialog", : ModalDialog( pParent, "ChartTypeDialog",
"modules/schart/ui/charttypedialog.ui") "modules/schart/ui/charttypedialog.ui")
, m_pChartTypeTabPage(nullptr) , m_pChartTypeTabPage(nullptr)
, m_xChartModel(xChartModel) , m_xChartModel(xChartModel)
, m_xCC( xContext )
{ {
m_pChartTypeTabPage = VclPtr<ChartTypeTabPage>::Create( m_pChartTypeTabPage = VclPtr<ChartTypeTabPage>::Create(
get_content_area(), get_content_area(),

View File

@@ -80,7 +80,7 @@ void ChartTypeUnoDlg::implInitialize(const uno::Any& _rValue)
} }
VclPtr<Dialog> ChartTypeUnoDlg::createDialog(vcl::Window* _pParent) VclPtr<Dialog> ChartTypeUnoDlg::createDialog(vcl::Window* _pParent)
{ {
return VclPtr<ChartTypeDialog>::Create( _pParent, m_xChartModel, m_aContext ); return VclPtr<ChartTypeDialog>::Create( _pParent, m_xChartModel );
} }
uno::Reference<beans::XPropertySetInfo> SAL_CALL ChartTypeUnoDlg::getPropertySetInfo() throw(uno::RuntimeException, std::exception) uno::Reference<beans::XPropertySetInfo> SAL_CALL ChartTypeUnoDlg::getPropertySetInfo() throw(uno::RuntimeException, std::exception)
{ {

View File

@@ -34,9 +34,7 @@ class ChartTypeDialog : public ModalDialog
public: public:
ChartTypeDialog( vcl::Window* pWindow ChartTypeDialog( vcl::Window* pWindow
, const ::com::sun::star::uno::Reference< , const ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel >& xChartModel ::com::sun::star::frame::XModel >& xChartModel );
, const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext >& xContext );
virtual ~ChartTypeDialog(); virtual ~ChartTypeDialog();
virtual void dispose() override; virtual void dispose() override;
@@ -45,8 +43,6 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > m_xChartModel; ::com::sun::star::frame::XModel > m_xChartModel;
::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext> m_xCC;
}; };
} //namespace chart } //namespace chart

View File

@@ -1380,7 +1380,7 @@ void ChartController::executeDispatch_ChartType()
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;
//prepare and open dialog //prepare and open dialog
ScopedVclPtrInstance< ChartTypeDialog > aDlg( m_pChartWindow, getModel(), m_xCC ); ScopedVclPtrInstance< ChartTypeDialog > aDlg( m_pChartWindow, getModel() );
if( aDlg->Execute() == RET_OK ) if( aDlg->Execute() == RET_OK )
{ {
impl_adaptDataSeriesAutoResize(); impl_adaptDataSeriesAutoResize();

View File

@@ -97,9 +97,6 @@ public:
class SvInsertPlugInDialog : public InsertObjectDialog_Impl class SvInsertPlugInDialog : public InsertObjectDialog_Impl
{ {
private: private:
VclPtr<Edit> m_pEdFileurl;
VclPtr<VclMultiLineEdit> m_pEdPluginsOptions;
DECL_LINK_TYPED(BrowseHdl, Button*, void); DECL_LINK_TYPED(BrowseHdl, Button*, void);
public: public:

View File

@@ -33,15 +33,9 @@ namespace sdbtools
using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::uno::XComponentContext;
// DataSourceMetaData_Impl
struct DataSourceMetaData_Impl
{
};
// DataSourceMetaData // DataSourceMetaData
DataSourceMetaData::DataSourceMetaData( const Reference<XComponentContext>& _rContext, const Reference< XConnection >& _rxConnection ) DataSourceMetaData::DataSourceMetaData( const Reference<XComponentContext>& _rContext, const Reference< XConnection >& _rxConnection )
:ConnectionDependentComponent( _rContext ) :ConnectionDependentComponent( _rContext )
,m_pImpl( new DataSourceMetaData_Impl )
{ {
setWeakConnection( _rxConnection ); setWeakConnection( _rxConnection );
} }

View File

@@ -34,14 +34,11 @@ namespace sdbtools
// DataSourceMetaData // DataSourceMetaData
typedef ::cppu::WeakImplHelper< css::sdb::tools::XDataSourceMetaData typedef ::cppu::WeakImplHelper< css::sdb::tools::XDataSourceMetaData
> DataSourceMetaData_Base; > DataSourceMetaData_Base;
struct DataSourceMetaData_Impl;
/** default implementation for XDataSourceMetaData /** default implementation for XDataSourceMetaData
*/ */
class DataSourceMetaData :public DataSourceMetaData_Base class DataSourceMetaData :public DataSourceMetaData_Base
,public ConnectionDependentComponent ,public ConnectionDependentComponent
{ {
private:
::std::unique_ptr< DataSourceMetaData_Impl > m_pImpl;
public: public:
/** constructs the instance /** constructs the instance

View File

@@ -90,8 +90,6 @@ namespace dbaui
PreviewMode m_ePreviewMode; PreviewMode m_ePreviewMode;
css::uno::Reference < css::frame::XFrame2 > css::uno::Reference < css::frame::XFrame2 >
m_xFrame; m_xFrame;
css::uno::Reference < css::io::XPersist >
m_xDocInfo;
css::uno::Reference< css::awt::XWindow > css::uno::Reference< css::awt::XWindow >
m_xWindow; m_xWindow;

View File

@@ -295,8 +295,7 @@ IMPL_LINK_NOARG_TYPED(LicenseDialogImpl, EndReachedHdl, LicenseView&, void)
LicenseDialog::LicenseDialog( Sequence<Any> const& args, LicenseDialog::LicenseDialog( Sequence<Any> const& args,
Reference<XComponentContext> const& xComponentContext) Reference<XComponentContext> const& )
: m_xComponentContext(xComponentContext)
{ {
comphelper::unwrapArgs( args, m_parent, m_sExtensionName, m_sLicenseText ); comphelper::unwrapArgs( args, m_parent, m_sExtensionName, m_sLicenseText );
} }

View File

@@ -31,7 +31,6 @@ namespace dp_gui {
class LicenseDialog class LicenseDialog
: public ::cppu::WeakImplHelper<css::ui::dialogs::XExecutableDialog> : public ::cppu::WeakImplHelper<css::ui::dialogs::XExecutableDialog>
{ {
css::uno::Reference<css::uno::XComponentContext> const m_xComponentContext;
css::uno::Reference<css::awt::XWindow> /* const */ m_parent; css::uno::Reference<css::awt::XWindow> /* const */ m_parent;
OUString m_sExtensionName; OUString m_sExtensionName;
OUString /* const */ m_sLicenseText; OUString /* const */ m_sLicenseText;

View File

@@ -119,7 +119,6 @@ protected:
AstScope* m_pScope; AstScope* m_pScope;
NodeType m_nodeType; NodeType m_nodeType;
bool m_bImported; // imported ? bool m_bImported; // imported ?
bool m_bIsAdded; // mark declaration as added in scope
bool m_bInMainFile; // defined in main file bool m_bInMainFile; // defined in main file
bool m_bPublished; bool m_bPublished;
bool m_bPredefined; bool m_bPredefined;

View File

@@ -45,7 +45,6 @@ AstDeclaration::AstDeclaration(NodeType type, const OString& name, AstScope* pSc
, m_pScope(pScope) , m_pScope(pScope)
, m_nodeType(type) , m_nodeType(type)
, m_bImported(false) , m_bImported(false)
, m_bIsAdded(false)
, m_bInMainFile(false) , m_bInMainFile(false)
, m_bPredefined(false) , m_bPredefined(false)
, m_lineNumber(0) , m_lineNumber(0)

View File

@@ -115,7 +115,6 @@ namespace avmedia
MediaWindow(const MediaWindow&) = delete; MediaWindow(const MediaWindow&) = delete;
MediaWindow& operator =( const MediaWindow& ) = delete; MediaWindow& operator =( const MediaWindow& ) = delete;
css::uno::Reference< css::uno::XInterface > mxIFace;
VclPtr<priv::MediaWindowImpl> mpImpl; VclPtr<priv::MediaWindowImpl> mpImpl;
}; };
} }

View File

@@ -211,7 +211,6 @@ private:
LwpDocument* m_pDoc; LwpDocument* m_pDoc;
bool m_bRegisteredAll; bool m_bRegisteredAll;
private: //file members private: //file members
LwpVersionManager m_VerMgr;
LwpObjectManager m_ObjMgr; LwpObjectManager m_ObjMgr;
LwpObjectID m_MarkerHead; LwpObjectID m_MarkerHead;
LwpObjectID m_FootnoteMgr; LwpObjectID m_FootnoteMgr;

View File

@@ -72,15 +72,6 @@ class LwpPrinterInfo
public: public:
explicit LwpPrinterInfo(LwpObjectStream* pStrm); explicit LwpPrinterInfo(LwpObjectStream* pStrm);
~LwpPrinterInfo(){} ~LwpPrinterInfo(){}
private:
LwpAtomHolder m_OutputFile;
LwpAtomHolder cSelectedDivisions;
LwpAtomHolder m_Output;
LwpAtomHolder m_Name;
LwpAtomHolder m_Driver;
LwpAtomHolder m_Queue;
LwpAtomHolder m_SelectedPages;
public: public:
static void Read(LwpObjectStream* pStrm); static void Read(LwpObjectStream* pStrm);

View File

@@ -127,9 +127,6 @@ public:
virtual bool IsTable() override { return true;} virtual bool IsTable() override { return true;}
LwpSuperTableLayout* GetSuperTableLayout(); LwpSuperTableLayout* GetSuperTableLayout();
protected: protected:
LwpDLVListHeadTail m_RowCache;
LwpDLVListHeadTail m_ColumnCache;
LwpNotifyListPersistent m_CPTempVersionedNotifyList;
LwpForkedNotifyList m_CPNotifyList; LwpForkedNotifyList m_CPNotifyList;
sal_uInt16 m_nRow, m_nColumn; sal_uInt16 m_nRow, m_nColumn;

View File

@@ -132,7 +132,6 @@ public:
explicit LwpUIDocument(LwpObjectStream *pStrm); explicit LwpUIDocument(LwpObjectStream *pStrm);
~LwpUIDocument(); ~LwpUIDocument();
private: private:
LwpNamedProperties m_NamedProps;
LwpAutoRunMacroOptions m_ARMacroOpts; LwpAutoRunMacroOptions m_ARMacroOpts;
LwpMergeOptions m_MergedOpts; LwpMergeOptions m_MergedOpts;
LwpAtomHolder m_SheetFullPath; // full path for style sheet LwpAtomHolder m_SheetFullPath; // full path for style sheet

View File

@@ -98,7 +98,6 @@ public:
virtual void ToXml(IXFStream *pStrm) override; virtual void ToXml(IXFStream *pStrm) override;
protected: protected:
rtl::Reference<XFContentContainer> m_aContents;
double m_fRotate; double m_fRotate;
XFPoint m_aRotatePoint; XFPoint m_aRotatePoint;
double m_fScaleX; double m_fScaleX;

View File

@@ -79,7 +79,6 @@ public:
private: private:
OUString m_strID; OUString m_strID;
OUString m_strLabel; OUString m_strLabel;
rtl::Reference<XFContentContainer> m_aContents;
}; };
inline XFEndNote::XFEndNote() inline XFEndNote::XFEndNote()

View File

@@ -80,8 +80,6 @@ public:
XFContentContainer::ToXml(pStrm); XFContentContainer::ToXml(pStrm);
pStrm->EndElement( "style:header" ); pStrm->EndElement( "style:header" );
} }
private:
rtl::Reference<XFContentContainer> m_aContents;
}; };
#endif #endif

View File

@@ -87,7 +87,6 @@ private:
OUString m_strSectionName; OUString m_strSectionName;
bool m_bProtected; bool m_bProtected;
bool m_bHiden; bool m_bHiden;
XFColor m_aBackColor;
OUString m_strSourceLink; OUString m_strSourceLink;
}; };

View File

@@ -321,17 +321,6 @@ static const AutoFormatEntry spFilledSeries3dFills[] =
AUTOFORMAT_END() AUTOFORMAT_END()
}; };
static const AutoFormatEntry spFilledSeriesEffects[] =
{
// 1...8: no effect, same as Chart2
AUTOFORMAT_COLOR( 9, 16, THEMED_STYLE_SUBTLE, XML_dk1 ),
AUTOFORMAT_COLOR( 17, 24, THEMED_STYLE_MODERATE, XML_dk1 ),
AUTOFORMAT_COLOR( 25, 32, THEMED_STYLE_INTENSE, XML_dk1 ),
// 33...40: no effect, same as Chart2
AUTOFORMAT_COLOR( 41, 48, THEMED_STYLE_INTENSE, XML_dk1 ),
AUTOFORMAT_END()
};
static const AutoFormatEntry spUpDownBarLines[] = static const AutoFormatEntry spUpDownBarLines[] =
{ {
AUTOFORMAT_COLOR( 1, 16, THEMED_STYLE_SUBTLE, XML_tx1 ), AUTOFORMAT_COLOR( 1, 16, THEMED_STYLE_SUBTLE, XML_tx1 ),
@@ -386,17 +375,6 @@ static const AutoFormatEntry spDownBarFills[] =
AUTOFORMAT_END() AUTOFORMAT_END()
}; };
static const AutoFormatEntry spUpDownBarEffects[] =
{
// 1...8: no effect, same as Chart2
AUTOFORMAT_COLOR( 9, 16, THEMED_STYLE_SUBTLE, XML_dk1 ),
AUTOFORMAT_COLOR( 17, 24, THEMED_STYLE_MODERATE, XML_dk1 ),
AUTOFORMAT_COLOR( 25, 32, THEMED_STYLE_INTENSE, XML_dk1 ),
// 33...40: no effect, same as Chart2
AUTOFORMAT_COLOR( 41, 48, THEMED_STYLE_INTENSE, XML_dk1 ),
AUTOFORMAT_END()
};
#undef AUTOFORMAT_COLOR #undef AUTOFORMAT_COLOR
#undef AUTOFORMAT_COLORMOD #undef AUTOFORMAT_COLORMOD
#undef AUTOFORMAT_ACCENTSMOD #undef AUTOFORMAT_ACCENTSMOD
@@ -532,45 +510,44 @@ struct ObjectTypeFormatEntry
const ShapePropertyInfo* mpPropInfo; /// Property info for the ShapePropertyMap class. const ShapePropertyInfo* mpPropInfo; /// Property info for the ShapePropertyMap class.
const AutoFormatEntry* mpAutoLines; /// Automatic line formatting for all chart styles. const AutoFormatEntry* mpAutoLines; /// Automatic line formatting for all chart styles.
const AutoFormatEntry* mpAutoFills; /// Automatic fill formatting for all chart styles. const AutoFormatEntry* mpAutoFills; /// Automatic fill formatting for all chart styles.
const AutoFormatEntry* mpAutoEffects; /// Automatic effect formatting for all chart styles.
const AutoTextEntry* mpAutoTexts; /// Automatic text attributes for all chart styles. const AutoTextEntry* mpAutoTexts; /// Automatic text attributes for all chart styles.
bool mbIsFrame; /// True = object is a frame, false = object is a line. bool mbIsFrame; /// True = object is a frame, false = object is a line.
}; };
#define TYPEFORMAT_FRAME( obj_type, prop_type, auto_texts, auto_lines, auto_fills, auto_effects ) \ #define TYPEFORMAT_FRAME( obj_type, prop_type, auto_texts, auto_lines, auto_fills ) \
{ obj_type, prop_type, auto_lines, auto_fills, auto_effects, auto_texts, true } { obj_type, prop_type, auto_lines, auto_fills, auto_texts, true }
#define TYPEFORMAT_LINE( obj_type, prop_type, auto_texts, auto_lines ) \ #define TYPEFORMAT_LINE( obj_type, prop_type, auto_texts, auto_lines ) \
{ obj_type, prop_type, auto_lines, nullptr, nullptr, auto_texts, false } { obj_type, prop_type, auto_lines, nullptr, auto_texts, false }
static const ObjectTypeFormatEntry spObjTypeFormatEntries[] = static const ObjectTypeFormatEntry spObjTypeFormatEntries[] =
{ {
// object type property info auto text auto line auto fill auto effect // object type property info auto text auto line auto fill
TYPEFORMAT_FRAME( OBJECTTYPE_CHARTSPACE, &saCommonPropInfo, nullptr, spNoFormats, spChartSpaceFill, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_CHARTSPACE, &saCommonPropInfo, nullptr, spNoFormats, spChartSpaceFill ),
TYPEFORMAT_FRAME( OBJECTTYPE_CHARTTITLE, &saCommonPropInfo, spChartTitleTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_CHARTTITLE, &saCommonPropInfo, spChartTitleTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */),
TYPEFORMAT_FRAME( OBJECTTYPE_LEGEND, &saCommonPropInfo, spOtherTexts, spNoFormats, spNoFormats, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_LEGEND, &saCommonPropInfo, spOtherTexts, spNoFormats, spNoFormats ),
TYPEFORMAT_FRAME( OBJECTTYPE_PLOTAREA2D, &saCommonPropInfo, nullptr, nullptr /* eq to Ch2 */, spPlotArea2dFills, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_PLOTAREA2D, &saCommonPropInfo, nullptr, nullptr /* eq to Ch2 */, spPlotArea2dFills ),
TYPEFORMAT_FRAME( OBJECTTYPE_PLOTAREA3D, &saCommonPropInfo, nullptr, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_PLOTAREA3D, &saCommonPropInfo, nullptr, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ),
TYPEFORMAT_FRAME( OBJECTTYPE_WALL, &saCommonPropInfo, nullptr, spWallFloorLines, spWallFloorFills, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_WALL, &saCommonPropInfo, nullptr, spWallFloorLines, spWallFloorFills ),
TYPEFORMAT_FRAME( OBJECTTYPE_FLOOR, &saCommonPropInfo, nullptr, spWallFloorLines, spWallFloorFills, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_FLOOR, &saCommonPropInfo, nullptr, spWallFloorLines, spWallFloorFills ),
TYPEFORMAT_LINE( OBJECTTYPE_AXIS, &saCommonPropInfo, spOtherTexts, spAxisLines ), TYPEFORMAT_LINE( OBJECTTYPE_AXIS, &saCommonPropInfo, spOtherTexts, spAxisLines ),
TYPEFORMAT_FRAME( OBJECTTYPE_AXISTITLE, &saCommonPropInfo, spAxisTitleTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_AXISTITLE, &saCommonPropInfo, spAxisTitleTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ),
TYPEFORMAT_FRAME( OBJECTTYPE_AXISUNIT, &saCommonPropInfo, spAxisTitleTexts, nullptr /* eq in Ch2 */, nullptr /* eq in Ch2 */, nullptr /* eq in Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_AXISUNIT, &saCommonPropInfo, spAxisTitleTexts, nullptr /* eq in Ch2 */, nullptr /* eq in Ch2 */ ),
TYPEFORMAT_LINE( OBJECTTYPE_MAJORGRIDLINE, &saCommonPropInfo, nullptr, spMajorGridLines ), TYPEFORMAT_LINE( OBJECTTYPE_MAJORGRIDLINE, &saCommonPropInfo, nullptr, spMajorGridLines ),
TYPEFORMAT_LINE( OBJECTTYPE_MINORGRIDLINE, &saCommonPropInfo, nullptr, spMinorGridLines ), TYPEFORMAT_LINE( OBJECTTYPE_MINORGRIDLINE, &saCommonPropInfo, nullptr, spMinorGridLines ),
TYPEFORMAT_LINE( OBJECTTYPE_LINEARSERIES2D, &saLinearPropInfo, nullptr, spLinearSeriesLines ), TYPEFORMAT_LINE( OBJECTTYPE_LINEARSERIES2D, &saLinearPropInfo, nullptr, spLinearSeriesLines ),
TYPEFORMAT_FRAME( OBJECTTYPE_FILLEDSERIES2D, &saFilledPropInfo, nullptr, spFilledSeriesLines, spFilledSeries2dFills, spFilledSeriesEffects ), TYPEFORMAT_FRAME( OBJECTTYPE_FILLEDSERIES2D, &saFilledPropInfo, nullptr, spFilledSeriesLines, spFilledSeries2dFills ),
TYPEFORMAT_FRAME( OBJECTTYPE_FILLEDSERIES3D, &saFilledPropInfo, nullptr, spFilledSeriesLines, spFilledSeries3dFills, spFilledSeriesEffects ), TYPEFORMAT_FRAME( OBJECTTYPE_FILLEDSERIES3D, &saFilledPropInfo, nullptr, spFilledSeriesLines, spFilledSeries3dFills ),
TYPEFORMAT_FRAME( OBJECTTYPE_DATALABEL, &saCommonPropInfo, spOtherTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_DATALABEL, &saCommonPropInfo, spOtherTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ),
TYPEFORMAT_LINE( OBJECTTYPE_TRENDLINE, &saCommonPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_TRENDLINE, &saCommonPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_FRAME( OBJECTTYPE_TRENDLINELABEL, &saCommonPropInfo, spOtherTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ), TYPEFORMAT_FRAME( OBJECTTYPE_TRENDLINELABEL, &saCommonPropInfo, spOtherTexts, nullptr /* eq to Ch2 */, nullptr /* eq to Ch2 */ ),
TYPEFORMAT_LINE( OBJECTTYPE_ERRORBAR, &saCommonPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_ERRORBAR, &saCommonPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_LINE( OBJECTTYPE_SERLINE, &saCommonPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_SERLINE, &saCommonPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_LINE( OBJECTTYPE_LEADERLINE, &saCommonPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_LEADERLINE, &saCommonPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_LINE( OBJECTTYPE_DROPLINE, &saCommonPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_DROPLINE, &saCommonPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_LINE( OBJECTTYPE_HILOLINE, &saLinearPropInfo, nullptr, spOtherLines ), TYPEFORMAT_LINE( OBJECTTYPE_HILOLINE, &saLinearPropInfo, nullptr, spOtherLines ),
TYPEFORMAT_FRAME( OBJECTTYPE_UPBAR, &saCommonPropInfo, nullptr, spUpDownBarLines, spUpBarFills, spUpDownBarEffects ), TYPEFORMAT_FRAME( OBJECTTYPE_UPBAR, &saCommonPropInfo, nullptr, spUpDownBarLines, spUpBarFills ),
TYPEFORMAT_FRAME( OBJECTTYPE_DOWNBAR, &saCommonPropInfo, nullptr, spUpDownBarLines, spDownBarFills, spUpDownBarEffects ), TYPEFORMAT_FRAME( OBJECTTYPE_DOWNBAR, &saCommonPropInfo, nullptr, spUpDownBarLines, spDownBarFills ),
TYPEFORMAT_LINE( OBJECTTYPE_DATATABLE, &saCommonPropInfo, spOtherTexts, spDataTableLines ) TYPEFORMAT_LINE( OBJECTTYPE_DATATABLE, &saCommonPropInfo, spOtherTexts, spDataTableLines )
}; };

View File

@@ -62,7 +62,6 @@ protected:
css::uno::Reference < css::io::XInputStream > xStream; css::uno::Reference < css::io::XInputStream > xStream;
css::uno::Reference < css::io::XSeekable > xSeek; css::uno::Reference < css::io::XSeekable > xSeek;
const css::uno::Reference < css::uno::XComponentContext > m_xContext; const css::uno::Reference < css::uno::XComponentContext > m_xContext;
css::uno::Reference < css::ucb::XProgressHandler > xProgressHandler;
bool bRecoveryMode; bool bRecoveryMode;
@@ -94,8 +93,7 @@ public:
ZipFile( css::uno::Reference < css::io::XInputStream > &xInput, ZipFile( css::uno::Reference < css::io::XInputStream > &xInput,
const css::uno::Reference < css::uno::XComponentContext > &rxContext, const css::uno::Reference < css::uno::XComponentContext > &rxContext,
bool bInitialise, bool bInitialise,
bool bForceRecover, bool bForceRecover
css::uno::Reference < css::ucb::XProgressHandler > xProgress
) )
throw(css::io::IOException, css::packages::zip::ZipException, css::uno::RuntimeException); throw(css::io::IOException, css::packages::zip::ZipException, css::uno::RuntimeException);

View File

@@ -86,14 +86,13 @@ ZipFile::ZipFile( uno::Reference < XInputStream > &xInput, const uno::Reference
} }
} }
ZipFile::ZipFile( uno::Reference < XInputStream > &xInput, const uno::Reference < XComponentContext > & rxContext, bool bInitialise, bool bForceRecovery, uno::Reference < XProgressHandler > xProgress ) ZipFile::ZipFile( uno::Reference < XInputStream > &xInput, const uno::Reference < XComponentContext > & rxContext, bool bInitialise, bool bForceRecovery)
throw(IOException, ZipException, RuntimeException) throw(IOException, ZipException, RuntimeException)
: aGrabber(xInput) : aGrabber(xInput)
, aInflater( true ) , aInflater( true )
, xStream(xInput) , xStream(xInput)
, xSeek(xInput, UNO_QUERY) , xSeek(xInput, UNO_QUERY)
, m_xContext ( rxContext ) , m_xContext ( rxContext )
, xProgressHandler( xProgress )
, bRecoveryMode( bForceRecovery ) , bRecoveryMode( bForceRecovery )
{ {
if (bInitialise) if (bInitialise)

View File

@@ -741,7 +741,7 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments )
OUString message; OUString message;
try try
{ {
m_pZipFile = new ZipFile ( m_xContentStream, m_xContext, true, m_bForceRecovery, xProgressHandler ); m_pZipFile = new ZipFile ( m_xContentStream, m_xContext, true, m_bForceRecovery );
getZipFileContents(); getZipFileContents();
} }
catch ( IOException & e ) catch ( IOException & e )

View File

@@ -46,7 +46,6 @@ class ParserTest: public test::BootstrapFixture
{ {
InputSource maInput; InputSource maInput;
uno::Reference< sax_fastparser::FastSaxParser > mxParser; uno::Reference< sax_fastparser::FastSaxParser > mxParser;
uno::Reference< XFastDocumentHandler > mxDocumentHandler;
uno::Reference< DummyTokenHandler > mxTokenHandler; uno::Reference< DummyTokenHandler > mxTokenHandler;
public: public:

View File

@@ -53,9 +53,6 @@ public:
#endif #endif
CPPUNIT_TEST_SUITE_END(); CPPUNIT_TEST_SUITE_END();
private:
uno::Reference<uno::XInterface> m_xCalcComponent;
}; };
#if !defined MACOSX #if !defined MACOSX

View File

@@ -42,7 +42,6 @@ private:
ScDocument* pDoc; ScDocument* pDoc;
ScRange aBlock; ScRange aBlock;
SCROW nNonFiltered; // non-filtered rows SCROW nNonFiltered; // non-filtered rows
TransferableDataHelper aOleData;
TransferableObjectDescriptor aObjDesc; TransferableObjectDescriptor aObjDesc;
SfxObjectShellRef aDocShellRef; SfxObjectShellRef aDocShellRef;
SfxObjectShellRef aDrawPersistRef; SfxObjectShellRef aDrawPersistRef;

View File

@@ -313,12 +313,10 @@ class SingleRangeIndexAccess : public ::cppu::WeakImplHelper< container::XIndexA
container::XEnumerationAccess > container::XEnumerationAccess >
{ {
private: private:
uno::Reference< XHelperInterface > mxParent;
uno::Reference< table::XCellRange > m_xRange; uno::Reference< table::XCellRange > m_xRange;
uno::Reference< uno::XComponentContext > mxContext;
public: public:
SingleRangeIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< table::XCellRange >& xRange ):mxParent( xParent ), m_xRange( xRange ), mxContext( xContext ) {} SingleRangeIndexAccess( const uno::Reference< table::XCellRange >& xRange ) : m_xRange( xRange ) {}
// XIndexAccess // XIndexAccess
virtual ::sal_Int32 SAL_CALL getCount() throw (::uno::RuntimeException, std::exception) override { return 1; } virtual ::sal_Int32 SAL_CALL getCount() throw (::uno::RuntimeException, std::exception) override { return 1; }
virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
@@ -329,7 +327,6 @@ public:
} }
// XElementAccess // XElementAccess
virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override { return cppu::UnoType<table::XCellRange>::get(); } virtual uno::Type SAL_CALL getElementType() throw (uno::RuntimeException, std::exception) override { return cppu::UnoType<table::XCellRange>::get(); }
virtual sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception) override { return sal_True; } virtual sal_Bool SAL_CALL hasElements() throw (uno::RuntimeException, std::exception) override { return sal_True; }
// XEnumerationAccess // XEnumerationAccess
virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration() throw (uno::RuntimeException, std::exception) override { return new SingleRangeEnumeration( m_xRange ); } virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration() throw (uno::RuntimeException, std::exception) override { return new SingleRangeEnumeration( m_xRange ); }
@@ -1422,7 +1419,7 @@ ScVbaRange::ScVbaRange( uno::Sequence< uno::Any> const & args,
uno::Reference< container::XIndexAccess > xIndex; uno::Reference< container::XIndexAccess > xIndex;
if ( mxRange.is() ) if ( mxRange.is() )
{ {
xIndex = new SingleRangeIndexAccess( mxParent, mxContext, mxRange ); xIndex = new SingleRangeIndexAccess( mxRange );
} }
else if ( mxRanges.is() ) else if ( mxRanges.is() )
{ {
@@ -1441,7 +1438,7 @@ ScVbaRange::ScVbaRange( const uno::Reference< XHelperInterface >& xParent, const
if ( !xRange.is() ) if ( !xRange.is() )
throw lang::IllegalArgumentException("range is not set ", uno::Reference< uno::XInterface >() , 1 ); throw lang::IllegalArgumentException("range is not set ", uno::Reference< uno::XInterface >() , 1 );
uno::Reference< container::XIndexAccess > xIndex( new SingleRangeIndexAccess( mxParent, mxContext, xRange ) ); uno::Reference< container::XIndexAccess > xIndex( new SingleRangeIndexAccess( xRange ) );
m_Areas = new ScVbaRangeAreas( mxParent, mxContext, xIndex, mbIsRows, mbIsColumns ); m_Areas = new ScVbaRangeAreas( mxParent, mxContext, xIndex, mbIsRows, mbIsColumns );
} }

View File

@@ -69,11 +69,10 @@ class TabStopCollectionHelper : public ::cppu::WeakImplHelper< container::XIndex
private: private:
uno::Reference< XHelperInterface > mxParent; uno::Reference< XHelperInterface > mxParent;
uno::Reference< uno::XComponentContext > mxContext; uno::Reference< uno::XComponentContext > mxContext;
uno::Reference< beans::XPropertySet > mxParaProps;
sal_Int32 mnTabStops; sal_Int32 mnTabStops;
public: public:
TabStopCollectionHelper( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& xParaProps ) throw ( css::uno::RuntimeException ): mxParent( xParent ), mxContext( xContext ), mxParaProps( xParaProps ) TabStopCollectionHelper( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet >& xParaProps ) throw ( css::uno::RuntimeException ): mxParent( xParent ), mxContext( xContext )
{ {
mnTabStops = lcl_getTabStops( xParaProps ).getLength(); mnTabStops = lcl_getTabStops( xParaProps ).getLength();
} }

View File

@@ -313,7 +313,7 @@ PropertySetRegistry::openPropertySet( const OUString& key, sal_Bool create )
// Yep! // Yep!
return Reference< XPersistentPropertySet >( return Reference< XPersistentPropertySet >(
new PersistentPropertySet( new PersistentPropertySet(
m_xContext, *this, key ) ); *this, key ) );
} }
else if ( create ) else if ( create )
{ {
@@ -348,11 +348,6 @@ PropertySetRegistry::openPropertySet( const OUString& key, sal_Bool create )
{ {
// Fill new item... // Fill new item...
// // Set Values
// xNameReplace->replaceByName(
// OUString("Values"),
// makeAny( ... ) );
// Insert new item. // Insert new item.
xContainer->insertByName( xContainer->insertByName(
key, makeAny( xNameReplace ) ); key, makeAny( xNameReplace ) );
@@ -361,7 +356,7 @@ PropertySetRegistry::openPropertySet( const OUString& key, sal_Bool create )
return Reference< XPersistentPropertySet >( return Reference< XPersistentPropertySet >(
new PersistentPropertySet( new PersistentPropertySet(
m_xContext, *this, key ) ); *this, key ) );
} }
} }
catch (const IllegalArgumentException&) catch (const IllegalArgumentException&)
@@ -1136,11 +1131,9 @@ struct PersistentPropertySet_Impl
PersistentPropertySet::PersistentPropertySet( PersistentPropertySet::PersistentPropertySet(
const Reference< XComponentContext >& xContext,
PropertySetRegistry& rCreator, PropertySetRegistry& rCreator,
const OUString& rKey ) const OUString& rKey )
: m_xContext( xContext ), : m_pImpl( new PersistentPropertySet_Impl( rCreator, rKey ) )
m_pImpl( new PersistentPropertySet_Impl( rCreator, rKey ) )
{ {
// register at creator. // register at creator.
rCreator.add( this ); rCreator.add( this );

View File

@@ -181,7 +181,6 @@ class PersistentPropertySet : public cppu::WeakImplHelper <
css::beans::XPropertySetInfoChangeNotifier, css::beans::XPropertySetInfoChangeNotifier,
css::beans::XPropertyAccess > css::beans::XPropertyAccess >
{ {
css::uno::Reference< css::uno::XComponentContext > m_xContext;
std::unique_ptr<PersistentPropertySet_Impl> m_pImpl; std::unique_ptr<PersistentPropertySet_Impl> m_pImpl;
private: private:
@@ -192,7 +191,6 @@ private:
public: public:
PersistentPropertySet( PersistentPropertySet(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
PropertySetRegistry& rCreator, PropertySetRegistry& rCreator,
const OUString& rKey ); const OUString& rKey );
virtual ~PersistentPropertySet(); virtual ~PersistentPropertySet();

View File

@@ -37,9 +37,8 @@ namespace gio
typedef std::vector< ResultListEntry* > ResultList; typedef std::vector< ResultListEntry* > ResultList;
DataSupplier::DataSupplier( const uno::Reference< lang::XMultiServiceFactory >& rxSMgr, DataSupplier::DataSupplier( const uno::Reference< ::gio::Content >& rContent, sal_Int32 nOpenMode )
const uno::Reference< ::gio::Content >& rContent, sal_Int32 nOpenMode ) : mxContent(rContent), mnOpenMode(nOpenMode), mbCountFinal(false)
: mxContent(rContent), m_xSMgr(rxSMgr), mnOpenMode(nOpenMode), mbCountFinal(false)
{ {
} }

View File

@@ -54,14 +54,12 @@ class DataSupplier : public ucbhelper::ResultSetDataSupplier
{ {
private: private:
css::uno::Reference< ::gio::Content > mxContent; css::uno::Reference< ::gio::Content > mxContent;
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMgr;
sal_Int32 mnOpenMode; sal_Int32 mnOpenMode;
bool mbCountFinal; bool mbCountFinal;
bool getData(); bool getData();
ResultList maResults; ResultList maResults;
public: public:
DataSupplier( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxSMgr, DataSupplier( const css::uno::Reference< Content >& rContent, sal_Int32 nOpenMode );
const css::uno::Reference< Content >& rContent, sal_Int32 nOpenMode );
virtual ~DataSupplier(); virtual ~DataSupplier();
virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override; virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override;

View File

@@ -42,7 +42,7 @@ void DynamicResultSet::initStatic()
{ {
m_xResultSet1 = new ::ucbhelper::ResultSet( m_xResultSet1 = new ::ucbhelper::ResultSet(
m_xContext, m_aCommand.Properties, m_xContext, m_aCommand.Properties,
new DataSupplier( Reference<XMultiServiceFactory>(m_xContext->getServiceManager(), UNO_QUERY_THROW), m_xContent, m_aCommand.Mode ), m_xEnv ); new DataSupplier( m_xContent, m_aCommand.Mode ), m_xEnv );
} }
void DynamicResultSet::initDynamic() void DynamicResultSet::initDynamic()

View File

@@ -72,7 +72,6 @@ class VCL_DLLPUBLIC CairoTextRender : public TextRenderImpl
ServerFont* mpServerFont[ MAX_FALLBACK ]; ServerFont* mpServerFont[ MAX_FALLBACK ];
SalColor mnTextColor; SalColor mnTextColor;
CairoFontsCache m_aCairoFontsCache;
bool bDisableGraphite_; bool bDisableGraphite_;

View File

@@ -161,13 +161,6 @@ struct SalWheelMouseEvent
{} {}
}; };
// MOUSEACTIVATE
struct SalMouseActivateEvent
{
long mnX; // X-Position (Pixel, TopLeft-Output)
long mnY; // Y-Position (Pixel, TopLeft-Output)
};
// EXTTEXTINPUT // EXTTEXTINPUT
struct SalExtTextInputEvent struct SalExtTextInputEvent
{ {

View File

@@ -382,8 +382,6 @@ public:
mbNonHomogeneous:1, mbNonHomogeneous:1,
mbDoubleBufferingRequested:1; mbDoubleBufferingRequested:1;
vcl::RenderSettings maRenderSettings;
css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer; css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer;
}; };

View File

@@ -29,7 +29,6 @@
class JPEGWriter class JPEGWriter
{ {
SvStream& mrStream; SvStream& mrStream;
Bitmap maBitmap;
BitmapReadAccess* mpReadAccess; BitmapReadAccess* mpReadAccess;
sal_uInt8* mpBuffer; sal_uInt8* mpBuffer;
bool mbNative; bool mbNative;

View File

@@ -1244,7 +1244,7 @@ bool EnhWMFReader::ReadEnhWMF()
Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) );
aBitmap.Crop( aCropRect ); aBitmap.Crop( aCropRect );
} }
aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop, pOut->GetFillStyle () ) ); aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop ) );
} }
} }
} }
@@ -1305,7 +1305,7 @@ bool EnhWMFReader::ReadEnhWMF()
Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) );
aBitmap.Crop( aCropRect ); aBitmap.Crop( aCropRect );
} }
aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop, pOut->GetFillStyle () ) ); aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop ) );
} }
} }
} }
@@ -1372,7 +1372,7 @@ bool EnhWMFReader::ReadEnhWMF()
Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) ); Rectangle aCropRect( Point( xSrc, ySrc ), Size( cxSrc, cySrc ) );
aBitmap.Crop( aCropRect ); aBitmap.Crop( aCropRect );
} }
aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop, pOut->GetFillStyle () ) ); aBmpSaveList.push_back( new BSaveStruct( aBitmap, aRect, dwRop ) );
} }
} }
} }

View File

@@ -459,14 +459,12 @@ struct BSaveStruct
Bitmap aBmp; Bitmap aBmp;
Rectangle aOutRect; Rectangle aOutRect;
sal_uInt32 nWinRop; sal_uInt32 nWinRop;
WinMtfFillStyle aStyle;
BSaveStruct(const Bitmap& rBmp, const Rectangle& rOutRect, BSaveStruct(const Bitmap& rBmp, const Rectangle& rOutRect,
sal_uInt32 nRop, WinMtfFillStyle& rStyle) sal_uInt32 nRop)
: aBmp(rBmp) : aBmp(rBmp)
, aOutRect(rOutRect) , aOutRect(rOutRect)
, nWinRop(nRop) , nWinRop(nRop)
, aStyle (rStyle)
{} {}
}; };

View File

@@ -680,7 +680,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
aBmp.Crop( aCropRect ); aBmp.Crop( aCropRect );
} }
Rectangle aDestRect( aPoint, Size( nSxe, nSye ) ); Rectangle aDestRect( aPoint, Size( nSxe, nSye ) );
aBmpSaveList.push_back( new BSaveStruct( aBmp, aDestRect, nWinROP, pOut->GetFillStyle () ) ); aBmpSaveList.push_back( new BSaveStruct( aBmp, aDestRect, nWinROP ) );
} }
} }
} }
@@ -730,7 +730,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
Rectangle aCropRect( Point( nSx, nSy ), Size( nSxe, nSye ) ); Rectangle aCropRect( Point( nSx, nSy ), Size( nSxe, nSye ) );
aBmp.Crop( aCropRect ); aBmp.Crop( aCropRect );
} }
aBmpSaveList.push_back( new BSaveStruct( aBmp, aDestRect, nWinROP, pOut->GetFillStyle () ) ); aBmpSaveList.push_back( new BSaveStruct( aBmp, aDestRect, nWinROP ) );
} }
} }
} }

View File

@@ -106,8 +106,6 @@ private:
typedef ::std::vector< MenuItemData* > MenuItemDataList_impl; typedef ::std::vector< MenuItemData* > MenuItemDataList_impl;
MenuItemDataList_impl maItemList; MenuItemDataList_impl maItemList;
css::uno::Reference< css::i18n::XCharacterClassification > xCharClass;
public: public:
MenuItemList() {} MenuItemList() {}
~MenuItemList(); ~MenuItemList();

View File

@@ -39,7 +39,6 @@ class ImplWheelWindow : public FloatingWindow
private: private:
ImageList maImgList; ImageList maImgList;
Bitmap maWheelBmp;
Point maLastMousePos; Point maLastMousePos;
Point maCenter; Point maCenter;
Timer* mpTimer; Timer* mpTimer;

View File

@@ -3192,13 +3192,7 @@ static long ImplHandleMouseActivateMsg( HWND hWnd )
if ( pFrame->mbFloatWin ) if ( pFrame->mbFloatWin )
return TRUE; return TRUE;
SalMouseActivateEvent aMouseActivateEvt; return pFrame->CallCallback( SALEVENT_MOUSEACTIVATE, nullptr );
POINT aPt;
GetCursorPos( &aPt );
ScreenToClient( hWnd, &aPt );
aMouseActivateEvt.mnX = aPt.x;
aMouseActivateEvt.mnY = aPt.y;
return pFrame->CallCallback( SALEVENT_MOUSEACTIVATE, &aMouseActivateEvt );
} }
static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) static long ImplHandleWheelMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam )