-Werror,-Wunused-function

Change-Id: I36275580d20098b9f643a5380805026fb79f0dbf
This commit is contained in:
Stephan Bergmann
2013-10-01 11:12:00 +02:00
parent 0101162fc4
commit 2bc1044279

View File

@@ -43,24 +43,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::utl;
// some stuff for easier changes for SvtViewOptions
static const sal_Char* pViewOptDataName = "dialog data";
#define VIEWOPT_DATANAME OUString::createFromAscii( pViewOptDataName )
static inline void SetViewOptUserItem( SvtViewOptions& rOpt, const OUString& rData )
{
rOpt.SetUserItem( VIEWOPT_DATANAME, makeAny( OUString( rData ) ) );
}
static inline OUString GetViewOptUserItem( const SvtViewOptions& rOpt )
{
Any aAny( rOpt.GetUserItem( VIEWOPT_DATANAME ) );
OUString aUserData;
aAny >>= aUserData;
return aUserData;
}
//*****************************************************************************
// ResMgrHolder / SvtSimpleResId
//*****************************************************************************