diff options
Diffstat (limited to 'include/sfx2/viewsh.hxx')
-rw-r--r-- | include/sfx2/viewsh.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index e8aef57c7c50..52792c3d2f7b 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -118,7 +118,7 @@ private: \ static SfxViewFactory *pFactory; \ public: \ static SfxViewShell *CreateInstance(SfxViewFrame *pFrame, SfxViewShell *pOldView); \ - static void RegisterFactory( sal_uInt16 nPrio = USHRT_MAX ); \ + static void RegisterFactory( SfxInterfaceId nPrio ); \ static SfxViewFactory*Factory() { return pFactory; } \ static void InitFactory() @@ -126,7 +126,7 @@ public: \ SfxViewFactory* Class::pFactory; \ SfxViewShell* Class::CreateInstance(SfxViewFrame *pFrame, SfxViewShell *pOldView) \ { return new Class(pFrame, pOldView); } \ - void Class::RegisterFactory( sal_uInt16 nPrio ) \ + void Class::RegisterFactory( SfxInterfaceId nPrio ) \ { \ pFactory = new SfxViewFactory(&CreateInstance,nPrio,AsciiViewName);\ InitFactory(); \ |