callcatcher: unused code
Change-Id: I7dcaa6f57815321e108cd7ce284fe145dc0506f2
This commit is contained in:
parent
bef4b0dd6e
commit
ecda52f6b3
@ -69,14 +69,6 @@ ScCsvControl::ScCsvControl( ScCsvControl& rParent ) :
|
||||
{
|
||||
}
|
||||
|
||||
ScCsvControl::ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, const ResId& rResId ) :
|
||||
Control( pParent, rResId ),
|
||||
mrData( rData ),
|
||||
mpAccessible( NULL ),
|
||||
mbValidGfx( false )
|
||||
{
|
||||
}
|
||||
|
||||
ScCsvControl::ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, WinBits nBits ) :
|
||||
Control( pParent, nBits ),
|
||||
mrData( rData ),
|
||||
|
@ -267,7 +267,6 @@ private:
|
||||
// ------------------------------------------------------------------------
|
||||
public:
|
||||
explicit ScCsvControl( ScCsvControl& rParent );
|
||||
explicit ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, const ResId& rResId );
|
||||
explicit ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, WinBits nBits );
|
||||
virtual ~ScCsvControl();
|
||||
|
||||
|
@ -252,7 +252,6 @@ private:
|
||||
protected:
|
||||
SfxTabPage( Window *pParent, const ResId &, const SfxItemSet &rAttrSet );
|
||||
SfxTabPage(Window *pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription, const SfxItemSet &rAttrSet);
|
||||
SfxTabPage( Window *pParent, WinBits nStyle, const SfxItemSet &rAttrSet );
|
||||
|
||||
sal_uInt16 GetSlot( sal_uInt16 nWhich ) const
|
||||
{ return pSet->GetPool()->GetSlotId( nWhich ); }
|
||||
|
@ -238,15 +238,6 @@ SfxTabPage::SfxTabPage(Window *pParent, const rtl::OString& rID, const rtl::OUSt
|
||||
{
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
SfxTabPage:: SfxTabPage( Window *pParent, WinBits nStyle, const SfxItemSet &rAttrSet ) :
|
||||
TabPage(pParent, nStyle),
|
||||
pSet ( &rAttrSet ),
|
||||
bHasExchangeSupport ( sal_False ),
|
||||
pTabDlg ( NULL ),
|
||||
pImpl ( new TabPageImpl )
|
||||
{
|
||||
}
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
SfxTabPage::~SfxTabPage()
|
||||
|
@ -435,7 +435,6 @@ protected:
|
||||
public:
|
||||
FontNameBox( Window* pParent,
|
||||
WinBits nWinStyle = WB_SORT );
|
||||
FontNameBox( Window* pParent, const ResId& rResId );
|
||||
virtual ~FontNameBox();
|
||||
|
||||
virtual void UserDraw( const UserDrawEvent& rUDEvt );
|
||||
|
@ -1048,16 +1048,6 @@ FontNameBox::FontNameBox( Window* pParent, WinBits nWinStyle ) :
|
||||
InitFontMRUEntriesFile();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
FontNameBox::FontNameBox( Window* pParent, const ResId& rResId ) :
|
||||
ComboBox( pParent, rResId )
|
||||
{
|
||||
mpFontList = NULL;
|
||||
mbWYSIWYG = sal_False;
|
||||
InitFontMRUEntriesFile();
|
||||
}
|
||||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFontNameBox(Window *pParent, VclBuilder::stringmap &rMap)
|
||||
{
|
||||
bool bDropdown = extractDropdown(rMap);
|
||||
|
@ -106,7 +106,6 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtModuleOptions : public utl::detail::
|
||||
sal_Bool IsModuleInstalled ( EModule eModule ) const;
|
||||
::rtl::OUString GetModuleName ( EModule eModule ) const;
|
||||
::rtl::OUString GetFactoryName ( EFactory eFactory ) const;
|
||||
::rtl::OUString GetFactoryShortName ( EFactory eFactory ) const;
|
||||
::rtl::OUString GetFactoryStandardTemplate( EFactory eFactory ) const;
|
||||
::rtl::OUString GetFactoryEmptyDocumentURL( EFactory eFactory ) const;
|
||||
::rtl::OUString GetFactoryDefaultFilter ( EFactory eFactory ) const;
|
||||
|
@ -1048,13 +1048,6 @@ sal_Bool SvtModuleOptions::IsModuleInstalled( EModule eModule ) const
|
||||
return m_pDataContainer->GetFactoryName( eFactory );
|
||||
}
|
||||
|
||||
//*****************************************************************************************************************
|
||||
::rtl::OUString SvtModuleOptions::GetFactoryShortName( EFactory eFactory ) const
|
||||
{
|
||||
::osl::MutexGuard aGuard( impl_GetOwnStaticMutex() );
|
||||
return m_pDataContainer->GetFactoryShortName( eFactory );
|
||||
}
|
||||
|
||||
//*****************************************************************************************************************
|
||||
::rtl::OUString SvtModuleOptions::GetFactoryStandardTemplate( EFactory eFactory ) const
|
||||
{
|
||||
|
@ -149,7 +149,6 @@ public:
|
||||
|
||||
Edit( Window* pParent, WinBits nStyle = WB_BORDER );
|
||||
Edit( Window* pParent, const ResId& rResId );
|
||||
Edit( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabeledByRelation );
|
||||
virtual ~Edit();
|
||||
|
||||
virtual void MouseButtonDown( const MouseEvent& rMEvt );
|
||||
|
@ -61,7 +61,6 @@ protected:
|
||||
public:
|
||||
FixedText( Window* pParent, WinBits nStyle = 0 );
|
||||
FixedText( Window* pParent, const ResId& rResId );
|
||||
FixedText( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabelForRelation );
|
||||
~FixedText();
|
||||
|
||||
virtual void Paint( const Rectangle& rRect );
|
||||
|
@ -261,7 +261,6 @@ public:
|
||||
static void SetAppName( const String& rUniqueName );
|
||||
static String GetAppName();
|
||||
static bool LoadBrandBitmap (const char* pName, BitmapEx &rBitmap);
|
||||
static bool LoadBrandSVG( const char *pName, BitmapEx &rBitmap );
|
||||
|
||||
// default name of the application for message dialogs and printing
|
||||
static void SetDisplayName( const OUString& rDisplayName );
|
||||
|
@ -391,8 +391,6 @@ public:
|
||||
mbIsInTaskPaneList:1,
|
||||
mbToolbarFloatingWindow:1,
|
||||
mbCallHandlersDuringInputDisabled:1,
|
||||
mbDisableAccessibleLabelForRelation:1,
|
||||
mbDisableAccessibleLabeledByRelation:1,
|
||||
mbHelpTextDynamic:1,
|
||||
mbFakeFocusSet:1,
|
||||
mbHexpand:1,
|
||||
|
@ -45,19 +45,6 @@ namespace {
|
||||
loadPng( rBaseDir + "/program/edition" + rName, rBitmap) ||
|
||||
loadPng( rBaseDir + "/program" + rName, rBitmap);
|
||||
}
|
||||
static bool loadSvg( const OUString & rPath, BitmapEx &rBitmap)
|
||||
{
|
||||
INetURLObject aObj( rPath );
|
||||
SvgData aSvgData(aObj.PathToFileName());
|
||||
rBitmap = aSvgData.getReplacement();
|
||||
return !rBitmap.IsEmpty();
|
||||
}
|
||||
static bool tryLoadSvg( const OUString& rBaseDir, const OUString& rName, BitmapEx& rBitmap )
|
||||
{
|
||||
return
|
||||
loadSvg( rBaseDir + "/program/edition" + rName, rBitmap) ||
|
||||
loadSvg( rBaseDir + "/program" + rName, rBitmap);
|
||||
}
|
||||
}
|
||||
|
||||
bool Application::LoadBrandBitmap (const char* pName, BitmapEx &rBitmap)
|
||||
@ -86,28 +73,4 @@ bool Application::LoadBrandBitmap (const char* pName, BitmapEx &rBitmap)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Application::LoadBrandSVG (const char *pName, BitmapEx &rBitmap)
|
||||
{
|
||||
OUString aBaseDir( "$BRAND_BASE_DIR");
|
||||
rtl::Bootstrap::expandMacros( aBaseDir );
|
||||
rtl::OUString aBaseName( "/" + rtl::OUString::createFromAscii( pName ) );
|
||||
rtl::OUString aSvg( ".svg" );
|
||||
|
||||
rtl_Locale *pLoc = NULL;
|
||||
osl_getProcessLocale (&pLoc);
|
||||
LanguageTag aLanguageTag( *pLoc);
|
||||
|
||||
::std::vector< OUString > aFallbacks( aLanguageTag.getFallbackStrings());
|
||||
for (size_t i=0; i < aFallbacks.size(); ++i)
|
||||
{
|
||||
if (tryLoadSvg( aBaseDir, aBaseName + "-" + aFallbacks[i] + aSvg, rBitmap))
|
||||
return true;
|
||||
}
|
||||
|
||||
if (tryLoadSvg( aBaseDir, aBaseName + aSvg, rBitmap))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -1647,13 +1647,6 @@ void Application::SetFilterHdl( const Link& rLink )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
const Link& Application::GetFilterHdl()
|
||||
{
|
||||
return ImplGetSVData()->maGDIData.mpGrfConverter->GetFilterHdl();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
sal_Bool ImplCallHotKey( const KeyCode& rKeyCode )
|
||||
{
|
||||
ImplSVData* pSVData = ImplGetSVData();
|
||||
|
@ -253,25 +253,6 @@ bool Edit::set_property(const rtl::OString &rKey, const rtl::OString &rValue)
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
Edit::Edit( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabeledByRelation ) :
|
||||
Control( WINDOW_EDIT )
|
||||
{
|
||||
ImplInitEditData();
|
||||
rResId.SetRT( RSC_EDIT );
|
||||
WinBits nStyle = ImplInitRes( rResId );
|
||||
ImplInit( pParent, nStyle );
|
||||
ImplLoadRes( rResId );
|
||||
if ( bDisableAccessibleLabeledByRelation )
|
||||
ImplGetWindowImpl()->mbDisableAccessibleLabeledByRelation = sal_True;
|
||||
|
||||
// Derived MultiLineEdit takes care to call Show only after MultiLineEdit
|
||||
// ctor has already started:
|
||||
if ( !(nStyle & WB_HIDE) && rResId.GetRT() != RSC_MULTILINEEDIT )
|
||||
Show();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
Edit::~Edit()
|
||||
{
|
||||
delete mpDDInfo;
|
||||
|
@ -175,25 +175,6 @@ FixedText::FixedText( Window* pParent, const ResId& rResId )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
FixedText::FixedText( Window* pParent, const ResId& rResId, bool bDisableAccessibleLabelForRelation )
|
||||
: Control( WINDOW_FIXEDTEXT )
|
||||
, m_nMaxWidthChars(-1)
|
||||
, m_nMinWidthChars(-1)
|
||||
, m_pMnemonicWindow(NULL)
|
||||
{
|
||||
rResId.SetRT( RSC_TEXT );
|
||||
WinBits nStyle = ImplInitRes( rResId );
|
||||
ImplInit( pParent, nStyle );
|
||||
ImplLoadRes( rResId );
|
||||
if ( bDisableAccessibleLabelForRelation )
|
||||
ImplGetWindowImpl()->mbDisableAccessibleLabelForRelation = sal_True;
|
||||
|
||||
if ( !(nStyle & WB_HIDE) )
|
||||
Show();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
sal_uInt16 FixedText::ImplGetTextStyle( WinBits nWinStyle )
|
||||
{
|
||||
sal_uInt16 nTextStyle = TEXT_DRAW_MNEMONIC | TEXT_DRAW_ENDELLIPSIS;
|
||||
|
@ -711,8 +711,6 @@ void Window::ImplInitWindowData( WindowType nType )
|
||||
mpWindowImpl->mbIsInTaskPaneList = sal_False; // sal_True: window was added to the taskpanelist in the topmost system window
|
||||
mpWindowImpl->mnNativeBackground = 0; // initialize later, depends on type
|
||||
mpWindowImpl->mbCallHandlersDuringInputDisabled = sal_False; // sal_True: call event handlers even if input is disabled
|
||||
mpWindowImpl->mbDisableAccessibleLabelForRelation = sal_False; // sal_True: do not set LabelFor relation on accessible objects
|
||||
mpWindowImpl->mbDisableAccessibleLabeledByRelation = sal_False; // sal_True: do not set LabeledBy relation on accessible objects
|
||||
mpWindowImpl->mbHelpTextDynamic = sal_False; // sal_True: append help id in HELP_DEBUG case
|
||||
mpWindowImpl->mbFakeFocusSet = sal_False; // sal_True: pretend as if the window has focus.
|
||||
mpWindowImpl->mbHexpand = false;
|
||||
@ -9011,9 +9009,6 @@ Window* Window::GetAccessibleRelationMemberOf() const
|
||||
|
||||
Window* Window::getAccessibleRelationLabelFor() const
|
||||
{
|
||||
if (mpWindowImpl->mbDisableAccessibleLabelForRelation)
|
||||
return NULL;
|
||||
|
||||
if (mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pLabelForWindow)
|
||||
return mpWindowImpl->mpAccessibleInfos->pLabelForWindow;
|
||||
|
||||
@ -9035,9 +9030,6 @@ Window* Window::GetAccessibleRelationLabelFor() const
|
||||
|
||||
Window* Window::GetAccessibleRelationLabeledBy() const
|
||||
{
|
||||
if (mpWindowImpl->mbDisableAccessibleLabeledByRelation)
|
||||
return NULL;
|
||||
|
||||
if (mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pLabeledByWindow)
|
||||
return mpWindowImpl->mpAccessibleInfos->pLabeledByWindow;
|
||||
|
||||
|
@ -92,7 +92,6 @@ protected:
|
||||
public:
|
||||
MacroSecurityTP(Window* _pParent, const OString& rID,
|
||||
const OUString& rUIXMLDescription, MacroSecurity* _pDlg);
|
||||
MacroSecurityTP(Window* _pParent, const ResId& _rResId, MacroSecurity* _pDlg);
|
||||
|
||||
void SetTabDlg(MacroSecurity* pTabDlg)
|
||||
{
|
||||
|
@ -99,12 +99,6 @@ MacroSecurityTP::MacroSecurityTP(Window* _pParent, const OString& rID,
|
||||
{
|
||||
}
|
||||
|
||||
MacroSecurityTP::MacroSecurityTP( Window* _pParent, const ResId& _rResId, MacroSecurity* _pDlg )
|
||||
:TabPage ( _pParent, _rResId )
|
||||
,mpDlg ( _pDlg )
|
||||
{
|
||||
}
|
||||
|
||||
MacroSecurityLevelTP::MacroSecurityLevelTP(Window* _pParent, MacroSecurity* _pDlg)
|
||||
: MacroSecurityTP(_pParent, "SecurityLevelPage", "xmlsec/ui/securitylevelpage.ui", _pDlg)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user