summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconrec.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconrec.cxx')
-rw-r--r--sd/source/ui/func/fuconrec.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx
index 9add8904b85c..3871611bde24 100644
--- a/sd/source/ui/func/fuconrec.cxx
+++ b/sd/source/ui/func/fuconrec.cxx
@@ -21,7 +21,7 @@
#include <svx/svdpagv.hxx>
#include <svx/svxids.hrc>
-#include <svx/dialogs.hrc>
+#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include "app.hrc"
@@ -59,8 +59,8 @@
#include "Window.hxx"
#include "stlpool.hxx"
#include "drawdoc.hxx"
-#include "res_bmp.hrc"
-#include "glob.hrc"
+
+#include "strings.hrc"
namespace sd {
@@ -499,14 +499,14 @@ void FuConstructRectangle::SetAttributes(SfxItemSet& rAttr, SdrObject* pObj)
/**
* set line starts and ends for the object to be created
*/
-::basegfx::B2DPolyPolygon getPolygon( sal_uInt16 nResId, SdrModel* pDoc )
+::basegfx::B2DPolyPolygon getPolygon(const char* pResId, SdrModel* pDoc)
{
::basegfx::B2DPolyPolygon aRetval;
XLineEndListRef pLineEndList = pDoc->GetLineEndList();
if( pLineEndList.is() )
{
- OUString aArrowName( SvxResId(nResId) );
+ OUString aArrowName(SvxResId(pResId));
long nCount = pLineEndList->Count();
long nIndex;
for( nIndex = 0L; nIndex < nCount; nIndex++ )