summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-03 14:49:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-03 14:52:30 +0100
commitda0c0f2a846947c56866a3637a6952b3d47f2068 (patch)
treef6c671e8b9d080226c80bfb1f640a2686004d1f4 /sw/source/ui/misc
parent19100e5e9a0bf5f6829b52e8459f176b5fe7bc51 (diff)
this string is in svx
we shouldn't be in this condition, but seeing as we are fix the string source. Change-Id: Ia746a24db3daae7952f4b5dbd94a315a4e79cf12
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/pgfnote.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx
index a4b32cbd0111..ac5b3ee5e5e5 100644
--- a/sw/source/ui/misc/pgfnote.cxx
+++ b/sw/source/ui/misc/pgfnote.cxx
@@ -19,6 +19,7 @@
#include <cmdid.h>
#include <hintids.hxx>
+#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
@@ -232,7 +233,7 @@ void SwFootNotePage::Reset(const SfxItemSet *rSet)
sal_Int32 nSelPos = m_pLineColorBox->GetEntryPos( pFtnInfo->GetLineColor() );
if( nSelPos == LISTBOX_ENTRY_NOTFOUND )
nSelPos = m_pLineColorBox->InsertEntry( pFtnInfo->GetLineColor(),
- OUString( SW_RES( RID_SVXSTR_COLOR_USER ) ) );
+ SVX_RESSTR(RID_SVXSTR_COLOR_USER) );
m_pLineColorBox->SetSelectHdl( LINK( this, SwFootNotePage, LineColorSelected_Impl ) );
m_pLineColorBox->SelectEntryPos( nSelPos );