Kaydet (Commit) b737e913 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused list

üst 1190dab8
...@@ -126,23 +126,6 @@ inline SfxVirtualMenu* SfxMenuControl::GetPopupMenu() const ...@@ -126,23 +126,6 @@ inline SfxVirtualMenu* SfxMenuControl::GetPopupMenu() const
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \ void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
{ SfxMenuControl::RegisterMenuControl( pMod, new SfxMenuCtrlFactory( \ { SfxMenuControl::RegisterMenuControl( pMod, new SfxMenuCtrlFactory( \
Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); } Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); }
class SfxAppMenuControl_Impl : public SfxMenuControl
{
PopupMenu* pMenu;
sal_uIntPtr m_nSymbolsStyle;
sal_Bool m_bShowMenuImages;
protected:
DECL_LINK( Activate, Menu * );
public:
static SfxMenuControl* CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings );
SfxAppMenuControl_Impl( sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings );
~SfxAppMenuControl_Impl();
};
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -301,103 +301,6 @@ PopupMenu* SfxMenuControl::GetPopup () const ...@@ -301,103 +301,6 @@ PopupMenu* SfxMenuControl::GetPopup () const
return 0; return 0;
} }
long Select_Impl( void* pHdl, void* pVoid );
SfxMenuControl* SfxAppMenuControl_Impl::CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings )
{
return new SfxAppMenuControl_Impl(nId, rMenu, rBindings);
}
SfxAppMenuControl_Impl::SfxAppMenuControl_Impl(
sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings )
: SfxMenuControl( nPos, rBindings ), pMenu(0)
{
String aText = rMenu.GetItemText( nPos );
// Determine the current background color setting for menus
const StyleSettings& rSettings = Application::GetSettings().GetStyleSettings();
m_nSymbolsStyle = rSettings.GetSymbolsStyle();
m_bShowMenuImages = rSettings.GetUseImagesInMenus();
Reference<com::sun::star::lang::XMultiServiceFactory> aXMultiServiceFactory(::comphelper::getProcessServiceFactory());
::framework::MenuConfiguration aConf( aXMultiServiceFactory );
Reference<com::sun::star::frame::XFrame> aXFrame( GetBindings().GetDispatcher_Impl()->GetFrame()->GetFrame().GetFrameInterface() );
pMenu = aConf.CreateBookmarkMenu( aXFrame, GetId() == SID_NEWDOCDIRECT ? BOOKMARK_NEWMENU : BOOKMARK_WIZARDMENU );
if( pMenu )
{
pMenu->SetSelectHdl( Link( &(this->GetBindings()), Select_Impl ) );
pMenu->SetActivateHdl( LINK(this, SfxAppMenuControl_Impl, Activate) );
rMenu.SetPopupMenu( nPos, pMenu );
}
}
SfxAppMenuControl_Impl::~SfxAppMenuControl_Impl()
{
delete pMenu;
}
IMPL_LINK( SfxAppMenuControl_Impl, Activate, Menu *, pActMenu )
{
if ( pActMenu )
{
const StyleSettings& rSettings = Application::GetSettings().GetStyleSettings();
sal_uIntPtr nSymbolsStyle = rSettings.GetSymbolsStyle();
sal_Bool bShowMenuImages = rSettings.GetUseImagesInMenus();
if (( nSymbolsStyle != m_nSymbolsStyle ) ||
( bShowMenuImages != m_bShowMenuImages ))
{
m_nSymbolsStyle = nSymbolsStyle;
m_bShowMenuImages = bShowMenuImages;
sal_uInt16 nCount = pActMenu->GetItemCount();
for ( sal_uInt16 nSVPos = 0; nSVPos < nCount; nSVPos++ )
{
sal_uInt16 nItemId = pActMenu->GetItemId( nSVPos );
if ( pActMenu->GetItemType( nSVPos ) != MENUITEM_SEPARATOR )
{
if ( bShowMenuImages )
{
sal_Bool bImageSet = sal_False;
::rtl::OUString aImageId;
::framework::MenuConfiguration::Attributes* pMenuAttributes =
(::framework::MenuConfiguration::Attributes*)pMenu->GetUserValue( nItemId );
if ( pMenuAttributes )
aImageId = pMenuAttributes->aImageId; // Retrieve image id from menu attributes
if ( !aImageId.isEmpty() )
{
Reference< ::com::sun::star::frame::XFrame > xFrame;
Image aImage = GetImage( xFrame, aImageId, false );
if ( !!aImage )
{
bImageSet = sal_True;
pActMenu->SetItemImage( nItemId, aImage );
}
}
String aCmd( pActMenu->GetItemCommand( nItemId ) );
if ( !bImageSet && aCmd.Len() )
{
Image aImage = SvFileInformationManager::GetImage(
INetURLObject(aCmd), false );
if ( !!aImage )
pActMenu->SetItemImage( nItemId, aImage );
}
}
else
pActMenu->SetItemImage( nItemId, Image() );
}
}
}
return sal_True;
}
return sal_False;
}
SfxUnoMenuControl* SfxMenuControl::CreateControl( const String& rCmd, SfxUnoMenuControl* SfxMenuControl::CreateControl( const String& rCmd,
sal_uInt16 nId, Menu& rMenu, const String& sItemText, sal_uInt16 nId, Menu& rMenu, const String& sItemText,
SfxBindings& rBindings, SfxVirtualMenu* pVirt) SfxBindings& rBindings, SfxVirtualMenu* pVirt)
......
...@@ -46,75 +46,9 @@ ...@@ -46,75 +46,9 @@
#include <sfx2/viewsh.hxx> #include <sfx2/viewsh.hxx>
#include "thessubmenu.hxx" #include "thessubmenu.hxx"
using namespace ::com::sun::star; using namespace ::com::sun::star;
using ::rtl::OUString; using ::rtl::OUString;
// STATIC DATA -----------------------------------------------------------
SfxMenuControl* SfxThesSubMenuControl::CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings )
{
return new SfxThesSubMenuControl(nId, rMenu, rBindings);
}
/*
Constructor; sets the Select-Handler for the Menu and inserts it into
its Parent.
*/
SfxThesSubMenuControl::SfxThesSubMenuControl( sal_uInt16 nSlotId, Menu &rMenu, SfxBindings &rBindings )
: SfxMenuControl( nSlotId, rBindings ),
pMenu(new PopupMenu),
rParent(rMenu)
{
rMenu.SetPopupMenu(nSlotId, pMenu);
pMenu->SetSelectHdl(LINK(this, SfxThesSubMenuControl, MenuSelect));
pMenu->Clear();
rParent.EnableItem( GetId(), sal_False );
}
SfxThesSubMenuControl::~SfxThesSubMenuControl()
{
delete pMenu;
}
/*
Status notification:
If the functionality is disabled, the corresponding
menu entry in Parentmenu is disabled, otherwise it is enabled.
*/
void SfxThesSubMenuControl::StateChanged(
sal_uInt16 /*nSID*/,
SfxItemState eState,
const SfxPoolItem* /*pState*/ )
{
rParent.EnableItem(GetId(), SFX_ITEM_AVAILABLE == eState );
}
/*
Select-Handler for Menus;
run the selected Verb,
*/
IMPL_LINK_INLINE_START( SfxThesSubMenuControl, MenuSelect, Menu *, pSelMenu )
{
const sal_uInt16 nSlotId = pSelMenu->GetCurItemId();
if( nSlotId )
GetBindings().Execute(nSlotId);
return 1;
}
IMPL_LINK_INLINE_END( SfxThesSubMenuControl, MenuSelect, Menu *, pSelMenu )
PopupMenu* SfxThesSubMenuControl::GetPopup() const
{
return pMenu;
}
OUString SfxThesSubMenuHelper::GetText( OUString SfxThesSubMenuHelper::GetText(
const String &rLookUpString, const String &rLookUpString,
xub_StrLen nDelimPos ) xub_StrLen nDelimPos )
......
...@@ -42,25 +42,6 @@ class Menu; ...@@ -42,25 +42,6 @@ class Menu;
namespace css = ::com::sun::star; namespace css = ::com::sun::star;
class SfxThesSubMenuControl : public SfxMenuControl
{
PopupMenu* pMenu;
Menu& rParent;
private:
virtual void StateChanged( sal_uInt16, SfxItemState, const SfxPoolItem* pState );
DECL_LINK( MenuSelect, Menu * );
public:
SfxThesSubMenuControl(sal_uInt16, Menu&, SfxBindings&);
~SfxThesSubMenuControl();
virtual PopupMenu* GetPopup() const;
static SfxMenuControl* CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings );
};
class SfxThesSubMenuHelper class SfxThesSubMenuHelper
{ {
css::uno::Reference< css::linguistic2::XLinguServiceManager > m_xLngMgr; css::uno::Reference< css::linguistic2::XLinguServiceManager > m_xLngMgr;
......
...@@ -73,8 +73,6 @@ public: ...@@ -73,8 +73,6 @@ public:
class SvxGrafToolBoxControl : public SfxToolBoxControl class SvxGrafToolBoxControl : public SfxToolBoxControl
{ {
public: public:
static SfxToolBoxControl* CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx );
SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxGrafToolBoxControl(); ~SvxGrafToolBoxControl();
......
...@@ -51,8 +51,6 @@ protected: ...@@ -51,8 +51,6 @@ protected:
DECL_LINK( SelectHdl, void * ); DECL_LINK( SelectHdl, void * );
public: public:
static SfxToolBoxControl* CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx );
SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SvxListBoxControl(); virtual ~SvxListBoxControl();
......
...@@ -344,7 +344,6 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl ...@@ -344,7 +344,6 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl
Color mLastColor; Color mLastColor;
public: public:
SFX_DECL_TOOLBOX_CONTROL();
SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxColorToolBoxControl(); ~SvxColorToolBoxControl();
...@@ -418,27 +417,6 @@ public: ...@@ -418,27 +417,6 @@ public:
virtual SfxPopupWindow* CreatePopupWindow(); virtual SfxPopupWindow* CreatePopupWindow();
}; };
class SvxReloadControllerItem_Impl;
class SvxReloadControllerItem : public SfxToolBoxControl
{
private:
SvxReloadControllerItem_Impl* pImpl;
public:
static SfxToolBoxControl* CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx );
SvxReloadControllerItem( sal_uInt16 nSlotId,
sal_uInt16 nId,
ToolBox& rTbx );
~SvxReloadControllerItem();
protected:
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
};
class SVX_DLLPUBLIC SvxSimpleUndoRedoController : public SfxToolBoxControl class SVX_DLLPUBLIC SvxSimpleUndoRedoController : public SfxToolBoxControl
{ {
private: private:
......
...@@ -546,11 +546,6 @@ SfxPopupWindow* SvxGrafFilterToolBoxControl::CreatePopupWindow() ...@@ -546,11 +546,6 @@ SfxPopupWindow* SvxGrafFilterToolBoxControl::CreatePopupWindow()
// - SvxGrafToolBoxControl - // - SvxGrafToolBoxControl -
// ------------------------- // -------------------------
SfxToolBoxControl* SvxGrafToolBoxControl::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx )
{
return new SvxGrafToolBoxControl( nSlotId, nId, rTbx );
}
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
SvxGrafToolBoxControl::SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx) : SvxGrafToolBoxControl::SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx) :
......
...@@ -164,11 +164,6 @@ Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow() ...@@ -164,11 +164,6 @@ Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow()
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
SfxToolBoxControl* SvxListBoxControl::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx )
{
return new SvxListBoxControl( nSlotId, nId, rTbx );
}
SvxListBoxControl::SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) SvxListBoxControl::SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx )
:SfxToolBoxControl( nSlotId, nId, rTbx ), :SfxToolBoxControl( nSlotId, nId, rTbx ),
pPopupWin ( 0 ) pPopupWin ( 0 )
......
...@@ -123,17 +123,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxStyleToolBoxControl, SfxTemplateItem ); ...@@ -123,17 +123,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxStyleToolBoxControl, SfxTemplateItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxFontNameToolBoxControl, SvxFontItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxFontNameToolBoxControl, SvxFontItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxFontColorToolBoxControl, SvxColorItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxFontColorToolBoxControl, SvxColorItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxColorExtToolBoxControl, SvxColorItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxColorExtToolBoxControl, SvxColorItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxColorToolBoxControl, SvxColorItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxFrameToolBoxControl, SvxBoxItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxFrameToolBoxControl, SvxBoxItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxFrameLineStyleToolBoxControl, SvxLineItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxFrameLineStyleToolBoxControl, SvxLineItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxFrameLineColorToolBoxControl, SvxColorItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxFrameLineColorToolBoxControl, SvxColorItem );
SFX_IMPL_TOOLBOX_CONTROL( SvxSimpleUndoRedoController, SfxStringItem ); SFX_IMPL_TOOLBOX_CONTROL( SvxSimpleUndoRedoController, SfxStringItem );
SfxToolBoxControl* SvxReloadControllerItem::CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx )
{
return new SvxReloadControllerItem( nSlotId, nId, rTbx );
}
//======================================================================== //========================================================================
// class SvxStyleBox_Impl ----------------------------------------------------- // class SvxStyleBox_Impl -----------------------------------------------------
//======================================================================== //========================================================================
...@@ -2561,59 +2555,6 @@ void SvxFrameLineColorToolBoxControl::StateChanged( ...@@ -2561,59 +2555,6 @@ void SvxFrameLineColorToolBoxControl::StateChanged(
} }
} }
// class SvxReloadControllerItem_Impl ------------------------------------
class SvxReloadControllerItem_Impl
{
public:
Image* pNormalImage;
Image* pSpecialImage;
SvxReloadControllerItem_Impl() :
pNormalImage( new Image( SVX_RES( RID_SVX_RELOAD_NORMAL ) ) ), pSpecialImage( 0 ) {}
~SvxReloadControllerItem_Impl() { delete pNormalImage; delete pSpecialImage; }
Image& GetNormalImage() { return *pNormalImage; }
Image& GetSpecialImage()
{
if ( !pSpecialImage )
pSpecialImage = new Image( SVX_RES( RID_SVX_RELOAD_SPECIAL ) );
return *pSpecialImage;
}
};
// -----------------------------------------------------------------------
SvxReloadControllerItem::SvxReloadControllerItem( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx )
: SfxToolBoxControl( nSlotId, nId, rTbx )
, pImpl( new SvxReloadControllerItem_Impl )
{
rTbx.SetItemImage( nId, pImpl->GetNormalImage() );
}
// -----------------------------------------------------------------------
SvxReloadControllerItem::~SvxReloadControllerItem()
{
delete pImpl;
}
// -----------------------------------------------------------------------
void SvxReloadControllerItem::StateChanged(
sal_uInt16 , SfxItemState eState, const SfxPoolItem* pState )
{
SfxBoolItem* pItem = PTR_CAST( SfxBoolItem, pState );
ToolBox& rBox = GetToolBox();
if( pItem )
{
rBox.SetItemImage( GetId(),
pItem->GetValue() ? pImpl->GetSpecialImage() :
pImpl->GetNormalImage() );
}
rBox.EnableItem( GetId(), eState != SFX_ITEM_DISABLED );
}
//======================================================================== //========================================================================
// class SvxSimpleUndoRedoController ------------------------------------- // class SvxSimpleUndoRedoController -------------------------------------
//======================================================================== //========================================================================
......
(anonymous namespace)::writeU8(WPXBinaryData&, int)
Button::ImplGetSymbolAlign() const Button::ImplGetSymbolAlign() const
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char) CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short) CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short)
...@@ -50,7 +51,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector ...@@ -50,7 +51,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector
SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double) SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char) SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char) SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
SbxDecimal::getByte(unsigned char&)
SbxDecimal::getInt(int&) SbxDecimal::getInt(int&)
SbxDecimal::getUInt(unsigned int&) SbxDecimal::getUInt(unsigned int&)
ScAddInAsyncs::Insert(ScAddInAsync* const&, unsigned short&) ScAddInAsyncs::Insert(ScAddInAsync* const&, unsigned short&)
...@@ -81,6 +81,7 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short) ...@@ -81,6 +81,7 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long) ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long)
ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>) ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>)
ScDBCollection::AnonDBs::size() const ScDBCollection::AnonDBs::size() const
ScDPFieldControlBase::GetDupCount(unsigned long) const
ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> const&, std::__debug::list<rtl::OUString, std::allocator<rtl::OUString> > const&) ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> const&, std::__debug::list<rtl::OUString, std::allocator<rtl::OUString> > const&)
ScDocRowHeightUpdater::TabRanges::TabRanges() ScDocRowHeightUpdater::TabRanges::TabRanges()
ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
...@@ -1008,6 +1009,8 @@ dbtools::StatementComposer::getDisposeComposer() const ...@@ -1008,6 +1009,8 @@ dbtools::StatementComposer::getDisposeComposer() const
dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned char, unsigned char) dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned char, unsigned char)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Any const&) dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Any const&)
dp_misc::TRACE(rtl::OString const&)
dp_misc::writeConsoleError(rtl::OString const&)
drawinglayer::attribute::SdrFillTextAttribute::isDefault() const drawinglayer::attribute::SdrFillTextAttribute::isDefault() const
drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const
drawinglayer::attribute::SdrTextAttribute::getPropertiesVersion() const drawinglayer::attribute::SdrTextAttribute::getPropertiesVersion() const
...@@ -1020,12 +1023,6 @@ formula::FormulaTokenIterator::First() ...@@ -1020,12 +1023,6 @@ formula::FormulaTokenIterator::First()
framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
jfw_plugin::VendorBase::createInstance() jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::getJavaExePaths(int*) jfw_plugin::VendorBase::getJavaExePaths(int*)
jvmaccess::ClassPath::doLoadClass(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, void*, rtl::OUString const&, rtl::OUString const&)
libcdr::CDRDocument::generateSVG(WPXInputStream*, WPXString&)
libcmis::SessionFactory::getRepositories(std::__debug::map<int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >)
libvisio::VisioDocument::generateSVG(WPXInputStream*, WPXString&)
libwpg::WPGraphics::generateSVG(unsigned char const*, unsigned long, WPXString&, libwpg::WPGFileFormat)
libwpg::WPGraphics::parse(unsigned char const*, unsigned long, libwpg::WPGPaintInterface*, libwpg::WPGFileFormat)
nullcanvas::CanvasFont::getFontMatrix() const nullcanvas::CanvasFont::getFontMatrix() const
nullcanvas::CanvasHelper::flush() const nullcanvas::CanvasHelper::flush() const
nullcanvas::CanvasHelper::getPalette() nullcanvas::CanvasHelper::getPalette()
......
...@@ -207,13 +207,6 @@ public: ...@@ -207,13 +207,6 @@ public:
long nHeight long nHeight
); );
ImplSalDDB(
Display* pDisplay,
XLIB_Window hWindow,
SalX11Screen nXScreen,
XImage* pImage
);
~ImplSalDDB(); ~ImplSalDDB();
Pixmap ImplGetPixmap() const { return maPixmap; } Pixmap ImplGetPixmap() const { return maPixmap; }
......
...@@ -912,45 +912,6 @@ ImplSalDDB::ImplSalDDB( XImage* pImage, Drawable aDrawable, ...@@ -912,45 +912,6 @@ ImplSalDDB::ImplSalDDB( XImage* pImage, Drawable aDrawable,
} }
} }
// -----------------------------------------------------------------------------------------
// create from XImage
ImplSalDDB::ImplSalDDB (Display* pDisplay, XLIB_Window hWindow, SalX11Screen nXScreen, XImage* pImage)
: mnXScreen( nXScreen )
{
maPixmap = XCreatePixmap (pDisplay, hWindow, pImage->width, pImage->height, pImage->depth);
if (maPixmap != 0)
{
XGCValues aValues;
GC aGC;
int nValues = GCFunction;
aValues.function = GXcopy;
if (pImage->depth == 1)
{
nValues |= ( GCForeground | GCBackground );
aValues.foreground = 1;
aValues.background = 0;
}
aGC = XCreateGC (pDisplay, maPixmap, nValues, &aValues);
XPutImage (pDisplay, maPixmap, aGC, pImage, 0, 0, 0, 0, pImage->width, pImage->height);
XFreeGC (pDisplay, aGC);
maTwoRect.mnSrcX = 0;
maTwoRect.mnSrcY = 0;
maTwoRect.mnDestX = 0;
maTwoRect.mnDestY = 0;
maTwoRect.mnSrcWidth = pImage->width;
maTwoRect.mnDestWidth = pImage->width;
maTwoRect.mnSrcHeight = pImage->height;
maTwoRect.mnDestHeight = pImage->height;
mnDepth = pImage->depth;
}
}
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
ImplSalDDB::ImplSalDDB( ImplSalDDB::ImplSalDDB(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment