summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optload.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-07 13:43:44 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-08 23:25:27 +0200
commitdf7ffcdb022b0b30006aa8238ba4070eb4c64bd5 (patch)
tree520286d73c703606ce438e4eccd76dd1523e6131 /sw/source/ui/config/optload.cxx
parent642926b4b582f691ac4bc0d90fb3a73f64b91b4a (diff)
sw: convert some SwStyleNameMapper methods to OUString
Change-Id: I151678b2bf155a7561b4c4e4b2d9fd1f05930477
Diffstat (limited to 'sw/source/ui/config/optload.cxx')
-rw-r--r--sw/source/ui/config/optload.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 500438c9968a..312e56f924c1 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -415,10 +415,15 @@ SwCaptionOptPage::SwCaptionOptPage( Window* pParent, const SfxItemSet& rSet )
Wallpaper aBack( GetSettings().GetStyleSettings().GetWindowColor() );
aPreview.SetBackground( aBack );
- SwStyleNameMapper::FillUIName( RES_POOLCOLL_LABEL_ABB, sIllustration );
- SwStyleNameMapper::FillUIName( RES_POOLCOLL_LABEL_TABLE, sTable );
- SwStyleNameMapper::FillUIName( RES_POOLCOLL_LABEL_FRAME, sText );
- SwStyleNameMapper::FillUIName( RES_POOLCOLL_LABEL_DRAWING, sDrawing );
+ OUString tmp1, tmp2, tmp3, tmp4; //FIXME
+ SwStyleNameMapper::FillUIName(RES_POOLCOLL_LABEL_ABB, tmp1);
+ SwStyleNameMapper::FillUIName(RES_POOLCOLL_LABEL_TABLE, tmp2);
+ SwStyleNameMapper::FillUIName(RES_POOLCOLL_LABEL_FRAME, tmp3);
+ SwStyleNameMapper::FillUIName(RES_POOLCOLL_LABEL_DRAWING, tmp4);
+ sIllustration = tmp1;
+ sTable = tmp2;
+ sText = tmp3;
+ sDrawing = tmp4;
sal_uInt16 i, nCount;
SwWrtShell *pSh = ::GetActiveWrtShell();