summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/notemark.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-09-29 09:21:10 +0000
committerNiklas Nebel <nn@openoffice.org>2000-09-29 09:21:10 +0000
commit6010cc485af6061bf955d693ab103512b51bf833 (patch)
treee3006869cdb36b111a98d535e71ca91b832feaac /sc/source/ui/view/notemark.cxx
parentf063e4d08eddd5493d3295dcf08ce6a3b030e5c8 (diff)
ini manager replaced by options
Diffstat (limited to 'sc/source/ui/view/notemark.cxx')
-rw-r--r--sc/source/ui/view/notemark.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx
index 29d90cf4437b..68ca2583ead5 100644
--- a/sc/source/ui/view/notemark.cxx
+++ b/sc/source/ui/view/notemark.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: notemark.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:09 $
+ * last change: $Author: nn $ $Date: 2000-09-29 10:19:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,9 +71,8 @@
#include <svx/svdmodel.hxx>
#include <svx/svdobj.hxx>
#include <svx/xoutx.hxx>
-#include <sfx2/app.hxx>
#include <sfx2/printer.hxx>
-#include <svtools/iniman.hxx>
+#include <svtools/pathoptions.hxx>
#include <svtools/itempool.hxx>
#include "notemark.hxx"
@@ -119,7 +118,9 @@ IMPL_LINK( ScNoteMarker, TimeHdl, Timer*, pTimer )
{
if (!bVisible)
{
- pModel = new SdrModel(SFX_APP()->GetAppIniManager()->Get(SFX_KEY_PALETTE_PATH));
+ SvtPathOptions aPathOpt;
+ String aPath = aPathOpt.GetPalettePath();
+ pModel = new SdrModel(aPath);
pModel->SetScaleUnit(MAP_100TH_MM);
SfxItemPool& rPool = pModel->GetItemPool();
rPool.SetDefaultMetric(SFX_MAPUNIT_100TH_MM);