diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-29 23:36:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 11:22:09 +0100 |
commit | 8a0685d49f679d6f98de2f357f1ec74590573852 (patch) | |
tree | 97eb05105a45186049c1c3dad20233c29747ed9c /sc/source/ui/dbgui/pvlaydlg.cxx | |
parent | b18cfdc7cd3755c147970f86d23973f337be01a7 (diff) |
make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
Diffstat (limited to 'sc/source/ui/dbgui/pvlaydlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pvlaydlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx index d4217659da86..3ff9b9ccef02 100644 --- a/sc/source/ui/dbgui/pvlaydlg.cxx +++ b/sc/source/ui/dbgui/pvlaydlg.cxx @@ -129,8 +129,8 @@ ScDPLayoutDlg::ScDPLayoutDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pPar aBtnOptions ( this, ScResId( BTN_OPTIONS ) ), aBtnMore ( this, ScResId( BTN_MORE ) ), - aStrUndefined (ScResId::toString(ScResId(SCSTR_UNDEFINED))), - aStrNewTable (ScResId::toString(ScResId(SCSTR_NEWTABLE))), + aStrUndefined (SC_RESSTR(SCSTR_UNDEFINED)), + aStrNewTable (SC_RESSTR(SCSTR_NEWTABLE)), bIsDrag ( false ), @@ -177,7 +177,7 @@ void ScDPLayoutDlg::Init(bool bNewOutput) aFuncNameArr.reserve( PIVOT_MAXFUNC ); for ( sal_uInt16 i = 0; i < PIVOT_MAXFUNC; ++i ) - aFuncNameArr.push_back(ScResId::toString(ScResId(i+1))); + aFuncNameArr.push_back(SC_RESSTR(i+1)); aBtnMore.AddWindow( &aFlAreas ); aBtnMore.AddWindow( &aFtInArea ); |